testcoverage
Use when: analyzing test coverage as a diagnostic tool, identifying gaps, or evaluating assertion strength.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when: analyzing test coverage as a diagnostic tool, identifying gaps, or evaluating assertion strength.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | testCoverage |
| description | Use when: analyzing test coverage as a diagnostic tool, identifying gaps, or evaluating assertion strength. |
| type | reference |
| version | 1.0 |
| license | MIT |
Skill metadata: version "1.0"; tags [tdd, coverage, testing]; recommended tools [].
Use this skill in workspaces with the tdd pack selected.
Coverage is a diagnostic tool, not a goal. High line coverage with weak assertions is worse than targeted coverage with strong assertions.
tddCycletestArchitecturemutmut, PIT) to validate test quality when coverage targets are met.There are no universal targets. Use these as starting heuristics:
| Code type | Branch coverage target | Notes |
|---|---|---|
| Core business logic | ≥ 90% | Test all decision points; high value, high risk |
| Public API layer | ≥ 80% | Focus on contract behavior, not internal wiring |
| Infrastructure / adapters | ≥ 70% | Integration tests often cover more than unit tests here |
| Generated / boilerplate | Excluded | No value in testing generated code |
| Error handling paths | ≥ 80% | Untested error paths fail in production |
Use when running workspace tests, choosing a test command, or summarizing results before handoff to debugger.
Use when running workspace tests, choosing a test command, or summarizing results before handoff to debugger.
Use when: running pre-commit or pre-push CI-equivalent checks in any workspace — discovers workflow commands with Cursor tools, filters for local executability, scopes to staged changes, and runs checks cheapest-first.
Use when the user wants to install or customize cursorAssistant in the current project (GitHub install or configure).
Use when: running pre-commit or pre-push CI-equivalent checks in any workspace — discovers workflow commands with Cursor tools, filters for local executability, scopes to staged changes, and runs checks cheapest-first.
Use when: discovering package manifests, assessing dependency health, finding replacements, or confirming import usage before removal — discovery only; mutating installs are handled by the deps agent.