tdd
/tdd
Implement approved new or changed behavior directly from a governing request, issue, contract, decision, or other sufficient input through a fail-first executable check. Use for clear testable behavior; do not invoke for a reported existing defect because bugfix owns its regression test and repair. Do not use to invent requirements from current implementation or maximize test count.
- Author
- woliveiras ↗
- Repository
- baseline ↗
- Licence
- MIT
- Last repository change
- 19.08.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 19.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Implement approved new or changed behavior directly from a governing request, issue, contract, decision, or other sufficient input through a fail-first executable check. Use for clear testable behavior; do not invoke for a reported existing defect because bugfix owns its regression test and repair. Do not use to invent requirements from current implementation or maximize test count.
Original author description
Implement approved new or changed behavior directly from a governing request, issue, contract, decision, or other sufficient input through a fail-first executable check. Use for clear testable behavior; do not invoke for a reported existing defect because bugfix owns its regression test and repair. Do not use to invent requirements from current implementation or maximize test count.
How it works
SKILL.md has no level-two headings · 14 lines, 180 words
SKILL.md preview
--- name: tdd description: Implement approved new or changed behavior directly from a governing request, issue, contract, decision, or other sufficient input through a fail-first executable check. Use for clear testable behavior; do not invoke for a reported existing defect because bugfix owns its regression test and repair. Do not use to invent requirements from current implementation or maximize test count. --- # TDD Understand the expected behavior from the governing input and write first the test that demonstrates its absence or incorrectness. 1. Select one behavior-sized slice and the most economical public seam: unit, integration, contract, end-to-end, static, or inspection. 2. Write the smallest check that distinguishes the expected result from a plausible wrong result. Prefer observable behavior over collaborator order or private structure. 3. Run it before production changes. Confirm fail-first for the expected behavioral reason; infrastructure and unrelated failures are not valid red signals. 4. Implement the smallest coherent behavior without weakening the check. 5. Run the focused check, nearby suite, and relevant static checks. Refactor only while behavior remains green. 6. Synchronize durable documentation when shipped behavior or a non-obvious constraint changed. Add an `ENG-NOTE` only when the reason cannot be inferred safely. When a meaningful unit test is unavailable, use the smallest executable verification that observes the real boundary. Never change an assertion merely to accept the current implementation. Report commands, results, and limitations in the final response; do not create a persistent evidence file by default.
Files in this package (2)
- SKILL.md 2 KB
- agents/openai.yaml 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · woliveiras/baseline | 86 | MIT |
| kdlbs/kandev | 100 | AGPL-3.0 |
| sentimony/skills | 100 | MIT |
| sentimony/skills | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| duronext/jig | 100 | MIT |
| xoai/sage | 100 | MIT |
| rolemodel/skills | 100 | MIT |
| matteocodogno/wellforge | 100 | MIT |
Database snapshot: 13.11.2026 · package version 68c745ebd847 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 86bugfix
Diagnose and repair an existing software defect through bug report, reproduction, fail-first regression test, causal fix, and focused review. Use for reported incorrect, regressed, or intermittent existing behavior; this workflow owns its regression check, so do not also invoke… - 90test-driven-development
Develop behavior through a failing test or reproducer, implementation, and refactoring. Use when test-first development is requested or a new behavior or bug fix benefits from an executable regression before implementation. - 100st-tdd
Fix a bug by first writing a focused test that fails for the right reason, then making the smallest change that makes it pass. Use when the user asks for TDD or a regression test, when a bug has a cheap local test target, or for /st-tdd. - 90TDD Methodology
This skill should be used when the user asks to "write tests first", "use TDD", "test-driven development", "red green refactor", "test first", "add unit tests before code", "write regression test first", "safe refactor with tests", or when TDD mode is active and the user makes… - 100test-driven-development
Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first - 95test-driven-development
Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first