Criteria Audit Skill
Audit EXECUTION_PLAN.md to ensure acceptance criteria are automation-ready and use the verification metadata format.
Arguments
- •
$1(optional) = directory containingEXECUTION_PLAN.md- •If provided, read
$1/EXECUTION_PLAN.md - •If empty, read
EXECUTION_PLAN.mdfrom the current working directory
- •If provided, read
Workflow Overview
Copy this checklist and track progress:
code
Criteria Audit Progress: - [ ] Step 1: Read EXECUTION_PLAN.md - [ ] Step 2: Parse phases, tasks, and acceptance criteria - [ ] Step 3: Validate verification metadata - [ ] Step 4: Report issues and summarize
Step 1: Parse Acceptance Criteria
Resolve the plan path: if $1 is provided, use $1/EXECUTION_PLAN.md; otherwise use EXECUTION_PLAN.md in the current working directory.
For each task, collect:
- •Criterion text
- •Type tag (e.g.,
(TEST)) - •
Verify:line - •If manual:
Reason:line
Also collect Pre-Phase Setup items and their Verify: lines.
Step 2: Validation Rules
Acceptance Criteria Rules
- •Every criterion must include a type tag:
(TEST),(CODE),(LINT),(TYPE),(BUILD),(SECURITY),(BROWSER:DOM)etc. - •Every criterion must include a
Verify:line unless it isMANUAL. - •
MANUALcriteria must include aReason:line. - •Flag ambiguous criteria (vague, subjective, or missing measurable details).
Pre-Phase Setup Rules
- •Each setup item must include a
Verify:command. - •If missing, mark as human-required.
Step 3: Report
Provide a structured report:
code
CRITERIA AUDIT
==============
Tasks Checked: {N}
Criteria Checked: {N}
Issues Found: {N}
Missing Type Tags:
- Task 1.2.A: "{criterion}"
Missing Verify Lines:
- Task 1.3.B: "{criterion}"
Manual Missing Reason:
- Task 2.1.A: "{criterion}"
Pre-Phase Setup Missing Verify:
- Phase 1: "{setup item}"
Status: PASS | WARN | FAIL
Resolution Guidance
- •If missing metadata is obvious, propose the exact type and
Verify:line. - •If ambiguous, recommend asking the human to clarify.
- •Do not edit EXECUTION_PLAN.md automatically unless explicitly requested.