with one click
tdd
Test-Driven Development skill for the ikigai project
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Test-Driven Development skill for the ikigai project
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Automated quality check loops with escalation and fix sub-agents
JSON-based end-to-end test format, runner, and mock provider
Jujutsu (jj) skill for the ikigai project
How to write effective Ralph goals for Ikigai-driven workflows
Create and manage Ralph goals from Ikigai using the real ralph-pipeline scripts
Create repositories using the real ralph-pipeline repo-create script
| name | tdd |
| description | Test-Driven Development skill for the ikigai project |
TDD methodology for development phase. Focus on testing what you build.
Core principle: Write tests for the code you write.
Follow Red/Green/Verify cycle:
return OK(NULL);)check-unit --file=PATH - Test must passcheck-filesize --file=PATH - File size under 16KBcheck-complexity --file=PATH - Function complexity under thresholdTest what you build. During development:
Coverage gaps are OK during development. They will be closed in a dedicated coverage phase before release.
The test should come first - but don't let perfect coverage slow down feature development.
If writing a helper function, ask: "Does a passing test call this right now?" If no, DELETE IT.
ABSOLUTE RULE: NEVER WRITE CODE BEFORE YOU HAVE A TEST THAT NEEDS IT.
When closing coverage gaps, the verify step adds:
check-coverage — 90% coverage is MANDATORYHunt every branch:
tcase_add_test_raise_signal with SIGABRT)LCOV_EXCL markers when genuinely untestable (OOM, impossible states)If a branch is uncovered, ask: "Can I write a test for this?" If yes, WRITE IT.