From rawcode
Enforce a red → green → refactor TDD loop for a change. Trigger: implementing a behavior change where a test can define done. Composes with Gentle AI's sdd-apply.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rawcode:rc-tddThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A rawcode extension for Gentle AI. It turns "add X" into a verifiable loop so
A rawcode extension for Gentle AI. It turns "add X" into a verifiable loop so
that done means a test passed, not that code exists. It does not replace
sdd-apply — it supplies the discipline sdd-apply runs under.
TDD is on by default for any code change. The tdd-gate Stop hook enforces
it: if you change code and end the turn without running a test, it blocks once
and asks for the test. You only skip it when the user explicitly says so —
"urgent", "hotfix", "skip tdd" (or a .rawcode-no-tdd marker file). Pure
refactors under existing coverage, config, and docs are not code changes and
don't trigger the gate.
sdd-apply task whose success criterion is checkable by code.TODO left passing as done.sdd-apply: each task in tasks.md enters this loop; check the task off
only when its test is green.engram / openspec).sdd-init marked strict_tdd: true,
this loop is mandatory, not optional.npx claudepluginhub juandarn/rawcode --plugin rawcodeCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.