test-driven-generation
CommunityGenerate code from tests.
AuthorArabelaTso
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the process of writing implementation code by leveraging existing unit tests, ensuring that the generated code directly meets specified requirements and passes all defined test cases.
Core Features & Use Cases
- Automated Code Generation: Creates implementation code (Python, Java) based on provided unit tests.
- TDD Workflow Support: Facilitates a complete Test-Driven Development cycle, including test analysis, code generation, execution, debugging, and iteration.
- Use Case: When given a set of Python pytest files for a
Calculatorclass, this Skill will generate theCalculatorimplementation code that makes all tests pass, including handling edge cases like division by zero.
Quick Start
Use the test-driven-generation skill to create the implementation code for the provided test file 'test_my_module.py'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: test-driven-generation Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#test-driven-generation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.