بنقرة واحدة
coverage
Coverage policy - 90% requirement and exclusion rules
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Coverage policy - 90% requirement and exclusion rules
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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 | coverage |
| description | Coverage policy - 90% requirement and exclusion rules |
90% coverage of Lines, Functions, and Branches for the ENTIRE codebase.
When you encounter uncovered code:
Can this code path execute in production?
├─ No → ACCEPT exclusion (assert/PANIC only)
└─ Yes
└─ What triggers it?
├─ User input / External data → MUST TEST
├─ Environment / IO failure → WRAP AND MOCK (see mocking skill)
├─ Vendor library error → WRAP AND MOCK
├─ OOM condition → REFACTOR to PANIC (see testability skill)
├─ Function can never fail → REFACTOR res_t to void
└─ Broken invariant → REFACTOR to PANIC
assert() - Compiled out in release buildsPANIC() - Invariant violations that terminateMust be single-line. Multi-line blocks require refactoring.
If it can execute in production, it must be tested.
While 90% is the goal, progress toward 90% is valid work:
make check-coverage
All three metrics must show 90%.
lcov - Finding gaps, reading coverage files, marker syntaxtestability - Refactoring patterns for hard-to-test codemocking - Testing external dependencies