TDD violation: significant implementation without tests
Verification Methods
Git History Analysis: Test files must appear in commits before implementation files
Coverage Analysis: New code must have >90% test coverage
Commit Message Convention: RED/GREEN/REFACTOR phases identifiable in messages
1---2name: strict-tdd3description: TDD Cycle4---56## TDD Cycle78### RED Phase91. Write a test that captures exactly one acceptance criterion102. Run the test -- it MUST fail113. Verify it fails for the RIGHT reason (not a syntax error)124. Commit: `test: add failing test for [criterion]`1314### GREEN Phase151. Write the MINIMUM code to make the test pass162. Run the test -- it MUST pass173. Verify only the target test turned green (no side effects)184. Commit: `feat: implement [criterion]`1920### REFACTOR Phase211. Clean up code while keeping ALL tests green222. Remove duplication, improve naming, extract methods233. Run full test suite -- ALL tests MUST pass244. Commit: `refactor: clean up [area]`2526## Compliance Scoring2728| Score | Meaning |29|-------|---------|30| 90-100 | Exemplary TDD: all cycles followed correctly |31| 70-89 | Good TDD: minor deviations |32| 50-69 | Partial TDD: some implementation before tests |33| 0-49 | TDD violation: significant implementation without tests |3435## Verification Methods36371. **Git History Analysis**: Test files must appear in commits before implementation files382. **Coverage Analysis**: New code must have >90% test coverage393. **Commit Message Convention**: RED/GREEN/REFACTOR phases identifiable in messages
Run npx skillmds@latest add a5c-ai/strict-tdd in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
TDD Cycle It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: makes network calls. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
a5c-ai (@a5c-ai) published this skill. Their other Agent Skills are listed on their SkillMD profile.