cursor/skills/vibeflow-audit/SKILL.md
Audits implementation against its DoD and project patterns. Runs the test suite, compares code against the spec, and reports PASS / PARTIAL / FAIL. Use after implementation to verify quality before shipping.
npx skillsauth add pe-menezes/vibeflow vibeflow-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Audit recent work against its Definition of Done AND project patterns.
Compares the current state of the code against the spec/DoD and verifies
the implementation follows conventions from .vibeflow/.
Usage: Provide the spec file path or feature name as input.
Detect the language of the user's input. Write ALL output in that same language. Technical terms in English are acceptable regardless of the detected language.
.vibeflow/specs/ or use the provided file path..vibeflow/ docs:
.vibeflow/conventions.md## Pattern Registry YAML block from index.md (between
<!-- vibeflow:patterns:start/end --> markers). Cross-reference the
registry's tags and modules against the spec's scope. Load the top 3-5
matching patterns. If no registry exists, infer which ones are relevant..vibeflow/index.md to identify the project stack.npm testpytest or python -m pytestcargo testgo test ./...rake test or bundle exec rspecmvn testgradle testFor each DoD check: PASS or FAIL with evidence.
For each applicable pattern from .vibeflow/:
## Audit Report: <feature>
**Verdict: PASS | PARTIAL | FAIL**
### DoD Checklist
- [x] Check 1 — evidence of compliance
- [ ] Check 2 — what's missing and why it fails
### Pattern Compliance
- [x] <pattern name> — follows correctly. Evidence: <file:line>
- [ ] <pattern name> — DEVIATION: <what's wrong, what it should be>
### Convention Violations (if any)
- <file> — <violation> — <what the convention says>
### Gaps (if PARTIAL or FAIL)
For each failing check:
- What's missing
- What's needed to close it
- Estimated effort (S/M/L)
### Incremental Prompt Pack (if PARTIAL or FAIL)
A focused prompt pack covering ONLY the gaps.
Include the correct patterns the agent must follow (embed them).
Do NOT repeat work that already passes.
Critical rule: If any test fails, the audit verdict is AUTOMATICALLY FAIL regardless of DoD or pattern compliance status. Failed tests block shipping. The incremental prompt pack (if generated) should target the test failures first.
CRITICAL: If you cannot verify a DoD check or pattern compliance from available context, mark it as FAIL with reason: "insufficient context to verify". Never assume compliance.
Save the audit report to: .vibeflow/audits/<feature-slug>-audit.md
Create the .vibeflow/audits/ directory if it doesn't exist.
After auditing, update .vibeflow/decisions.md if any architectural
decisions were made or if new pitfalls were discovered.
After saving, report the verdict and suggest next steps:
testing
Updates .vibeflow/ with corrections, new conventions, architectural decisions, or new patterns from natural language feedback. Also imports from external repos via --from <url|path>. Use to keep .vibeflow/ accurate as the project evolves.
development
Compiles statistics from audit reports: PASS/PARTIAL/FAIL rates, most violated patterns, most failing DoD checks, and quality trends. Use after running several audits to spot improvement areas.
data-ai
Fast-tracks small tasks into a prompt pack in one command. Skips discover, generates an ephemeral spec in memory. Use for well-defined tasks that fit in ≤4 files.
development
Generates a self-contained prompt pack from a spec. Embeds real code patterns from .vibeflow/ so any coding agent follows the project's conventions. Use when handing off implementation to a separate session or agent.