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: Strict RED->GREEN->REFACTOR test-driven development with enforcement. Never write production code before a failing test. Atomic commits per TDD cycle.4allowed-tools: Bash(*) Read Write Edit Glob Grep5metadata:6 source: https://skillmd.com/skills/a5c-ai/strict-tdd7 author: babysitter-sdk8 version: "1.0.0"9 category: pilot-shell-core10 attribution: "Adapted from Pilot Shell by Max Ritter (https://github.com/maxritter/pilot-shell)"11graph:12 domains: [domain:software-engineering]13 skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop]14 workflows: [workflow:feature-development]15 topics: [topic:developer-experience]16 roles: [role:tech-lead, role:backend-engineer]172. **You may not write more of a test than is sufficient to fail**183. **You may not write more production code than is sufficient to pass**1920---2122## TDD Cycle2324### RED Phase251. Write a test that captures exactly one acceptance criterion262. Run the test -- it MUST fail273. Verify it fails for the RIGHT reason (not a syntax error)284. Commit: `test: add failing test for [criterion]`2930### GREEN Phase311. Write the MINIMUM code to make the test pass322. Run the test -- it MUST pass333. Verify only the target test turned green (no side effects)344. Commit: `feat: implement [criterion]`3536### REFACTOR Phase371. Clean up code while keeping ALL tests green382. Remove duplication, improve naming, extract methods393. Run full test suite -- ALL tests MUST pass404. Commit: `refactor: clean up [area]`4142## Compliance Scoring4344| Score | Meaning |45|-------|---------|46| 90-100 | Exemplary TDD: all cycles followed correctly |47| 70-89 | Good TDD: minor deviations |48| 50-69 | Partial TDD: some implementation before tests |49| 0-49 | TDD violation: significant implementation without tests |5051## Verification Methods52531. **Git History Analysis**: Test files must appear in commits before implementation files542. **Coverage Analysis**: New code must have >90% test coverage553. **Commit Message Convention**: RED/GREEN/REFACTOR phases identifiable in messages
Run npx get-skill 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: docs only. 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.