
Enforces classic red-green-refactor discipline: write a failing test, watch it fail, write minimal code to pass, then clean up. The skill gates you before letting production code through without a failing test first, which sounds rigid until you realize how often "I'll add the test later" means never. It includes a preflight check that routes medium or high complexity work to planning before you start the TDD cycle, so you're not test-driving your way into the wrong architecture. Also has a pre-edit complexity check to stop you from cramming logic into an already overloaded file just because the test is green. Useful when you want the discipline enforced, not just suggested.
$ npx -y skills add ganyuanran/aegis --skill test-driven-development --agent claude-codeInstalls into .claude/skills of the current project.
TDD Route: strict.
Return to the selecting workflow or fast path with proportional verification.strict, validate preflight and Change Necessity before production
edits. No production code without an observed failing behavior test first.verification-before-completion.Enter only for an explicit strict TDD/test-first/RED / GREEN / REFACTOR request
or a recorded TDD Route: strict. Native-direct-skill hosts must not infer
entry from generic risky-code wording. Consume the selected route; a missing
or invalid automatic decision returns to its selecting workflow.
Sponsors