plan-audit
26
总安装量
26
周安装量
#14156
全站排名
安装命令
npx skills add https://github.com/xiaolai/vmark --skill plan-audit
Agent 安装分布
opencode
26
gemini-cli
26
codex
26
cursor
26
replit
25
antigravity
25
Skill 文档
Plan Audit
Overview
Audits completed work against a plan (WIs + acceptance + tests) and reports gaps, logic errors, and missing coverage with file/line references.
Workflow (Audit)
-
Locate the plan
- Prefer
docs/codex-plans/<plan>.md(local, not in repo). - If unclear, ask for the plan path or the WI list.
- Prefer
-
Extract audit checklist
- For each WI, list:
- Goal
- Acceptance criteria
- Tests required
- Touched areas (files/symbols)
- For each WI, list:
-
Map implementation to WIs
- Use
git log,git show --stat,rg, and file inspection. - Record which files/commits satisfy each WI.
- Use
-
Gap & correctness analysis
- Check each acceptance item vs actual behavior.
- Find logic errors, edge-case failures, and incomplete flows.
- Validate test coverage against the âTests (first)â section.
- If the plan references specs, verify implementation matches those specs.
- If the plan is missing acceptance/tests, record it as a plan-quality gap.
-
Report findings
- Order by severity: Critical â High â Medium â Low.
- Each finding must include:
- WI reference
- File path + line
- Why it violates the plan
- Expected behavior per plan
Output Format (required)
- Findings (ordered by severity)
File:lineand WI reference- Impact and suggested fix
- Plan Gaps Summary
- WIâ### â missing/partial acceptance items
- Test Coverage Gaps
- Missing tests, broken tests, or âtest not writtenâ
- Notes / Risks
- Any assumptions or unverified areas
- Evidence
- Cite concrete evidence for each finding (files/lines/commit IDs).
Audit Rules
- Do not run tests here unless the user explicitly asks; this is an inspection pass.
- Be strict about spec drift: if behavior diverges from plan text, flag it.
- If you cannot locate the plan, stop and ask for it.