test-driven-development
SolidDrive changes with Red→Green→Refactor; ensure behavior is verifiable and regression-safe.
AI & Automation 103 stars
25 forks Updated today MIT
Install
Quality Score: 83/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Test-Driven Development
## Overview
TDD uses the **Red → Green → Refactor** micro-cycle. First, define expected behavior. Next, use a minimal implementation to pass the test. Finally, organize the code structure.
## When to Use
- Adding or modifying core logic.
- Fixing bugs and needing regression protection.
- Requirements can be written as explicit input/output acceptance tests.
## Workflow
1. **Red**: Write a failing test describing the expected behavior.
2. **Green**: Write the minimal code to make the test pass.
3. **Refactor**: Clean up naming, structure, and duplication.
4. Repeat the cycle until acceptance criteria are met.
## Ironclad Rules
- Do NOT write massive amounts of features before writing tests.
- Focus on one small goal per cycle.
- All tests MUST pass after refactoring.
Details
- Author
- KbWen
- Repository
- KbWen/agentic-os
- Created
- 3 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
8 Updated 4 days ago
JustMichael-80 AI & Automation Solid
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
13 Updated 3 days ago
zernie AI & Automation Listed
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
17 Updated today
zzunkie