Tooluck logoTooluck
SKILL.md

test-driven-development

Agent skill froma5c-ai/babysitter

Strict RED-GREEN-REFACTOR cycle enforcement. Tests are never skipped or deferred. Run mode only, never watch mode. Exit code evidence mandatory.

How to install test-driven-development

install test-driven-development
# install the babysitter pack with the skills CLI
npx skills add a5c-ai/babysitter

# or add only this skill to Claude Code: copy the folder

library/methodologies/cc10x/skills/test-driven-development/

# into

~/.claude/skills/test-driven-development/ (all projects)

.claude/skills/test-driven-development/ (one project)

library/methodologies/cc10x/skills/test-driven-development/SKILL.md

MITFull file
1## Non-Negotiable Rules
2
3- Always use run mode (`CI=true npm test` or `--run` flag)
4- NEVER use watch mode (prevents hanging processes)
5- Use timeout guards (`timeout 60s`) as backup
6- Record exit codes as evidence at each phase
7- If tests fail 3 consecutive times in GREEN, report failure status
8- Never skip RED phase (failing test must exist before implementation)
9- Never defer tests to "later" -- TDD means tests first
10
11## Scope Discipline
12
13- If implementation requires >3 file changes, flag for scope review
14- Architectural choices require user approval unless pre-approved in plan
15- New dependencies require user approval
16
17## When to Use
18
19- Every feature implementation in BUILD workflow
20- Every bug fix in DEBUG workflow (regression test)
21
22## Agents Used
23
24- `component-builder` (primary consumer)
25- `bug-investigator` (regression tests)

Excerpt shown under the repository's MIT license.

More skills in babysitter

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates