AI SummaryTDD Command enforces test-driven development workflows by guiding developers through the RED-GREEN-REFACTOR cycle with 80%+ coverage targets. Developers prioritizing code quality and test coverage will find this particularly valuable.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "TDD Command" skill in my project. Please run this command in my terminal: # Install skill into the correct directory (29 files) mkdir -p .claude/skills/commands && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/SKILL.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/tdd.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/build-fix.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/build-fix.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/code-review.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/code-review.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/e2e.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/e2e.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/plan.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/plan.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/q-init.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/q-init.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/q-reset.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/q-reset.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/q-status.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/q-status.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/q-validate.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/q-validate.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/refactor-clean.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/refactor-clean.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.adr.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.adr.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.analyze.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.analyze.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.autonomous.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.autonomous.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.checklist.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.checklist.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.clarify.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.clarify.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.constitution.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.constitution.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.git.commit_pr.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.git.commit_pr.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.implement.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.implement.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.phr.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.phr.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.plan.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.plan.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.reverse-engineer.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.reverse-engineer.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.specify.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.specify.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.tasks.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.tasks.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/sp.taskstoissues.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/sp.taskstoissues.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/test-coverage.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/test-coverage.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/update-codemaps.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/update-codemaps.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/update-docs.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/update-docs.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/validate-components.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/validate-components.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/validate-workflow.md "https://raw.githubusercontent.com/Wania-Kazmi/claude-code-autonomous-agent-workflow/main/.claude/commands/validate-workflow.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Enforce test-driven development workflow. Write tests FIRST, then implement minimal code to pass. Ensure 80%+ coverage.
Coverage Requirements
• 80% minimum for all code • 100% required for: • Financial calculations • Authentication logic • Security-critical code
TDD Command
This command invokes the tdd-guide agent to enforce test-driven development methodology.
What This Command Does
• Scaffold Interfaces - Define types/interfaces first • Generate Tests First - Write failing tests (RED) • Implement Minimal Code - Write just enough to pass (GREEN) • Refactor - Improve code while keeping tests green (REFACTOR) • Verify Coverage - Ensure 80%+ test coverage
TDD Cycle
` RED → GREEN → REFACTOR → REPEAT RED: Write a failing test GREEN: Write minimal code to pass REFACTOR: Improve code, keep tests passing REPEAT: Next feature/scenario `
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster