Identify meaningful execution paths and design tests while being explicit about infeasible or exploding path counts.
Trigger this skill when
You need disciplined test design rather than ad hoc case generation.
You need to justify why a test set is sufficient.
You want a reusable artifact that can feed automation later.
Expected inputs
code or CFG
path constraints
loop handling assumptions
Deliverables
candidate paths
selected paths
infeasible path notes
path-risk commentary
Operating procedure
Identify feasible paths through the control flow, accounting for loops carefully.
Avoid fake exhaustiveness when path counts explode.
Choose the most risk-relevant and independent paths.
Separate selected, infeasible, and omitted paths.
Quality gates
Be explicit about infeasible, unreachable, or assumption-heavy cases.
Prefer lean, justified test sets over exhaustive-looking noise.
Keep expected outcomes observable and tied back to rules or logic.
Show why each test exists, not just the test data.
Handoff targets
basis-path-tester
cfg-builder
coverage-goal-planner
Output style
Be explicit about uncertainty, infeasibility, and residual risk.
Prefer compact, explainable artifacts over bloated lists.
Tie tests back to rules, logic, or structure.
Make expected outcomes observable.
Failure modes to avoid
Do not pretend all paths are feasible.
Do not explode loops into nonsense path sets.
Do not omit path-selection rationale.
Minimum output skeleton
## Summary
## Findings
## Structured outputs
## Coverage / rationale
## Assumptions
## Open questions
## Recommended next skill
1---2name: path-coverage-designer3description: path-coverage-designer4---5# path-coverage-designer67## Purpose8Identify meaningful execution paths and design tests while being explicit about infeasible or exploding path counts.910## Trigger this skill when11- You need disciplined test design rather than ad hoc case generation.12- You need to justify why a test set is sufficient.13- You want a reusable artifact that can feed automation later.1415## Expected inputs16- code or CFG17- path constraints18- loop handling assumptions1920## Deliverables21- candidate paths22- selected paths23- infeasible path notes24- path-risk commentary2526## Operating procedure271. Identify feasible paths through the control flow, accounting for loops carefully.282. Avoid fake exhaustiveness when path counts explode.293. Choose the most risk-relevant and independent paths.304. Separate selected, infeasible, and omitted paths.3132## Quality gates33- Be explicit about infeasible, unreachable, or assumption-heavy cases.34- Prefer lean, justified test sets over exhaustive-looking noise.35- Keep expected outcomes observable and tied back to rules or logic.36- Show why each test exists, not just the test data.3738## Handoff targets39- basis-path-tester40- cfg-builder41- coverage-goal-planner4243## Output style44- Be explicit about uncertainty, infeasibility, and residual risk.45- Prefer compact, explainable artifacts over bloated lists.46- Tie tests back to rules, logic, or structure.47- Make expected outcomes observable.4849## Failure modes to avoid50- Do not pretend all paths are feasible.51- Do not explode loops into nonsense path sets.52- Do not omit path-selection rationale.5354## Minimum output skeleton55```md56## Summary57## Findings58## Structured outputs59## Coverage / rationale60## Assumptions61## Open questions62## Recommended next skill63```
Run npx skillmds@latest add 45ck/path-coverage-designer in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
path-coverage-designer It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
45ck (@45ck) published this skill. Their other Agent Skills are listed on their SkillMD profile.