/plan-audit
Audit an implementation against a plan (dev-docs/plans/*). Use when a user asks to check for gaps, logic errors, or missing tests relative to a plan or Work Items.
$ npx -y skills add xiaolai/vmark --skill plan-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/plan-audit
Context preview
The summary Claude sees to decide when to auto-load this skill.
Audit an implementation against a plan (dev-docs/plans/*). Use when a user asks to check for gaps, logic errors, or missing tests relative to a plan or Work Items.
SKILL.md
plan-audit.SKILL.mdname: plan-audit
description: Audit an implementation against a plan (dev-docs/plans/*). Use when a user asks to check for gaps, logic errors, or missing tests relative to a plan or Work Items.
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)
1) **Locate the plan**
- Prefer `dev-docs/plans/<plan>.md`.
- If unclear, ask for the plan path or the WI list.
2) **Extract audit checklist**
- For each WI, list:
- Goal
- Acceptance criteria
- Tests required
- Touched areas (files/symbols)
3) **Map implementation to WIs**
- Use `git log`, `git show --stat`, `rg`, and file inspection.
- Record which files/commits satisfy each WI.
4) **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.
5) **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:line` and 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.
Read more
name: plan-audit description: Audit an implementation against a plan (dev-docs/plans/*). Use when a user asks to check for gaps, logic errors, or missing tests relative to a plan or Work Items.
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)
1) **Locate the plan**
- Prefer `dev-docs/plans/<plan>.md`.
- If unclear, ask for the plan path or the WI list.
2) **Extract audit checklist**
- For each WI, list:
- Goal
- Acceptance criteria
- Tests required
- Touched areas (files/symbols)
3) **Map implementation to WIs**
- Use `git log`, `git show --stat`, `rg`, and file inspection.
- Record which files/commits satisfy each WI.
4) **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.
5) **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:line` and 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.
The Plain-Text Workspace Where Humans and AI Collaborate Free. Local-first. Format-aware. VMark is the plain-text workspace where humans and AI collaborate.
Repo: xiaolai/vmark
Other skills on vmark.
- /ai-coding-agents
Comprehensive guide for using Codex CLI (OpenAI) and Claude Code CLI (Anthropic) - AI-powered coding agents. Use when orchestrating CLI commands, automating tasks, configuring agents, or troubleshooting issues.
Open skill - /css-design-tdd
Test-driven CSS design system modifications. Run checks before/after CSS changes to verify token usage, variable definitions, fallbacks, and consistency. Use when modifying CSS tokens, fixing design inconsistencies, or auditing CSS architecture.
Open skill - /mcp-dev
Build or update MCP server/client integrations for VMark. Use when configuring MCP servers, adding MCP tools, or updating MCP-related docs and settings.
Open skill - /mcp-server-manager
Discover, register, and verify MCP servers. Use when a user asks to connect/add/install/remove an MCP server, or when you need to manage project MCP configuration.
Open skill - /plan-verify
Verify a completed implementation against a plan by running gates and checking acceptance criteria. Use when the user asks to verify work items or confirm completion.
Open skill - /planning
Create comprehensive implementation plans and write them to plan files. Use when the user asks for a plan, comprehensive plan, systematic workflow design, or wants decisions documented in a plan file.
Open skill

