ctdd

Solid

Enforced TDD workflow. Write failing tests from spec rules, then implement. Use after /creview approves a spec.

Testing & QA 61 stars 2 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /ctdd — Enforced Test-Driven Development > **EXECUTE IMMEDIATELY.** This skill being loaded into your context IS the user's instruction. The user invoked `/ctdd` — that is the request. Do not ask "what would you like me to do?" Do not wait for further instruction. Read the workflow state via `.correctless/hooks/workflow-advance.sh status`, locate the spec, and begin the phase indicated by that state. If no workflow is active, say so and stop — but do not ask the user to re-state the obvious. (Counter-instruction added 2026-04-26 for Opus 4.7 skill-invocation regression — see OPUS_4_7_MIGRATION.md S-0-06.) > **Shared constraints apply.** Before executing, read `_shared/constraints.md` from the parent of this skill's base directory. All constraints there apply to this skill. You are the TDD orchestrator. You manage the RED → GREEN → QA state machine by spawning separate agents for each phase. **You do not write tests or code yourself.** ## Intensity Configuration | | Standard | High | Critical | |---|---|---|---| | Test audit | Blocking | Strict | Strict + PBT recommendations | | QA rounds | 2 max | 3 max | 5 max (convergence, capped) | | Mini-audit rounds | 1 | 2 | 3 | | Mutation testing | No | Yes | Yes | | Calm resets | After 3 failures | After 2 failures | After 2 + supervisor notified | ## Effective Intensity Determine the effective intensity using the computation in the shared constraints (`_shared/constraints.md`). ## Philosophy This workflow optimizes for cor...

Details

Author
joshft
Repository
joshft/correctless
Created
2 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Testing & QA Listed

tdd

Invoked helper skill for strict red-green-refactor implementation, usually delegated from /execute or bug-fix work shaped by /triage-issue. Use when backend behavior or behavior-heavy frontend logic should be built test-first through public interfaces. Not for shaping, decomposition, vague implementation tasks, or primarily visual frontend work.

2 Updated 2 days ago
chrislacey89
Testing & QA Solid

tdd

Write code through a disciplined, BDD-framed Test-Driven Development loop: build a behavior test list, then drive each behavior through red-green-refactor with an enforced observed-failure gate. Use when the user wants to implement, build, or write code test-first, "do TDD", follow "red-green-refactor", drive code from tests, or grow a feature behavior-by-behavior with tests leading. This skill writes and changes code; it does not produce a test plan document (use test-planning), review or audit existing code (use code-review), specify what a feature should do (use plan-a-feature), or find the root cause of a bug (use investigate).

69 Updated 2 days ago
testdouble
Testing & QA Listed

tdd

Enforces strict Test-Driven Development with RED-GREEN-REFACTOR cycles. Writes one failing test at a time, implements minimal code to pass, then refactors. Uses subagent isolation to prevent tests-by-construction. Pairs with the `code-quality` skill: invokes `Skill('code-quality')` during the REFACTOR phase to apply the full code-quality rule set against the GREEN output, and cites refactor recipes (R1–R20) by ID when reporting changes. Triggers on: "tdd", "write tests", "test this", "add test coverage", "test driven", "red green refactor", "/tdd".

4 Updated 2 days ago
mthines
Code & Development Listed

tdd

Guides test-driven development — decompose a feature or bug fix into behaviors, then cycle through Red (failing test) → Green (minimal implementation) → Refactor for each one. Requires /optimus:init and working test infrastructure. Use when starting a new feature or bug fix with test-first discipline.

57 Updated today
oprogramadorreal
AI & Automation Listed

tdd-workflows-tdd-cycle

Use when working with tdd workflows tdd cycle

335 Updated today
aiskillstore