Skip to content
Agent Orchestration
Skill

/plan-audit

Audit or verify an implementation against a plan (dev-docs/plans/* or .claude/tdd-guardian/*). Audit mode inspects for gaps, logic errors and missing tests; verify mode runs the gates and marks each acceptance criterion. Use when asked to check work items against a plan or

From plugin
vmark
92210 skills6 agents7 commands1 MCP

Claude Code

$ npx -y skills add xiaolai/vmark --skill plan-audit --agent claude-code

SKILL.md

plan-audit.SKILL.md
name: plan-audit
description: Audit or verify an implementation against a plan (dev-docs/plans/* or .claude/tdd-guardian/*). Audit mode inspects for gaps, logic errors and missing tests; verify mode runs the gates and marks each acceptance criterion. Use when asked to check work items against a plan or confirm they are complete.

Plan Audit

Overview

Two modes over the same plan. **Audit** (default) inspects completed work against the plan (WIs + acceptance + tests) and reports gaps, logic errors, and missing coverage with file/line references; it runs nothing. **Verify** runs the gates and marks every acceptance criterion; use it when asked to verify or confirm completion.

Workflow (Audit)

1) **Locate the plan**

  • `dev-docs/plans/<plan>.md` (local) or `.claude/tdd-guardian/<plan>.md` (tracked).
  • 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

  • In audit mode, do **not** run tests unless the user explicitly asks; it 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.

Verify mode

1) Locate the plan and list, for each WI, its acceptance criteria, required tests and manual checks. 2) Run the plan's own gates (its "Testing Procedures", or the phase script `scripts/check-*-phase.sh` it names); otherwise pick from the `AGENTS.md` gate table. Note any gate that cannot run as a blocker. 3) Mark each criterion Pass / Fail / Blocked with evidence: the command and its result line, file references, or manual steps with the observed result. 4) Report: a summary (WIs verified, Pass/Fail/Blocked counts), gate results (command → status, key error lines for failures), the acceptance matrix (WI → criterion → status), and manual checks.

Rules: always run the gates unless the user forbids it; a skipped or failing test makes its WI **Blocked**; never claim "verified" without test evidence.

Read more
@xiaolai
Ships withvmark

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.

92210 skills6 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
922
Star history of xiaolai/vmark on GitHub, a chart by star-history.com

Other skills on vmark.

css-design-tdd

css-design-tdd

Test-driven CSS design system modifications. Run checks before/after CSS changes to verify token usage, variable definitions,…

@xiaolai@xiaolaiInstall Skill
mcp-dev

mcp-dev

Build or change VMark's MCP integration - the server/mcp sidecar's tools and schemas, the Rust bridge, the frontend bridge…

@xiaolai@xiaolaiInstall Skill
planning

planning

Create comprehensive implementation plans and write them to plan files. Use when the user asks for a plan, comprehensive plan,…

@xiaolai@xiaolaiInstall Skill
react-app-dev

react-app-dev

Implement or modify VMark React UI with project conventions (Zustand selectors, Tailwind v4, shadcn/ui). Use for components,…

@xiaolai@xiaolaiInstall Skill
rust-tauri-backend

rust-tauri-backend

Implement or modify VMark's Rust/Tauri v2 backend and its frontend bridge - Tauri commands, invoke/emit/listen IPC, menu items…

@xiaolai@xiaolaiInstall Skill
tauri-mcp-testing

tauri-mcp-testing

E2E testing of a running VMark debug build through the Tauri MCP server - session management, webview interaction, IPC…

@xiaolai@xiaolaiInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw6d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca4d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip5d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about plan-audit.

Which coding agents can use plan-audit?
plan-audit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.