speckit-verify-run
Perform a non-destructive post-implementation verification gate validating the implementation against spec.md, plan.md, tasks.md, and constitution.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform a non-destructive post-implementation verification gate validating the implementation against spec.md, plan.md, tasks.md, and constitution.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | speckit-verify-run |
| description | Perform a non-destructive post-implementation verification gate validating the implementation against spec.md, plan.md, tasks.md, and constitution.md. |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"verify:commands/verify.md"} |
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Validate the implementation against its specification artifacts (spec.md, plan.md, tasks.md, constitution.md). This command MUST run only after /speckit.implement has completed.
STRICTLY READ-ONLY: Do not modify any files. Output a structured analysis report. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands would be invoked manually).
Constitution Authority: The project constitution (.specify/memory/constitution.md) is non-negotiable within this verification scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, tasks or implementation—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside /speckit.verify.run.
Run .specify/scripts/bash/check-prerequisites.sh --json --paths-only from repo root.
FEATURE_BRANCH = true only when BRANCH is a feature branch. If BRANCH is detached, main, or otherwise non-feature, scan specs/NNN-*/, ask the user to choose the intended feature, and set FEATURE_BRANCH = false.specs/NNN-*/ to get available features). Use Codex's structured request_user_input path if it is available; otherwise ask one concise plain-text selection question and wait for the user. Do NOT guess or auto-select a change. Always let the user choose.Derive absolute paths:
Abort if any required file is missing (instruct the user to run missing prerequisite command). For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").
Run the load-config script (.specify/extensions/verify/scripts/bash/load-config.sh or .specify/extensions/verify/scripts/powershell/load-config.ps1) from the repo root. Parse the max_findings value from its output and store it for use in Step 6. If the script fails, abort and relay its error message to the user.
Load only the minimal necessary context from each artifact:
From spec.md:
From plan.md:
From data-model.md (if present):
From tasks.md:
From constitution:
.specify/memory/constitution.md for principle validationBuild the set of files to verify from tasks.md.
[x]/[X]) and incomplete ([ ])Create internal representations (do not include raw artifacts in output):
Focus on high-signal findings. Limit to the configured max_findings value (loaded in Step 2); aggregate remainder in overflow summary.
[x]/[X]) vs total tasksUse this heuristic to prioritize findings:
Output a Markdown report (no file writes) with the following structure.
If FEATURE_BRANCH = false, prepend: > ⚠️ **Non-Feature-Branch Verification** from \` against `<FEATURE_DIR>`. Some checks may be affected by cross-feature interference.`
| ID | Category | Severity | Location(s) | Summary | Recommendation |
|---|---|---|---|---|---|
| A1 | Task Completion | CRITICAL | tasks.md | 3 of 12 tasks incomplete | Complete tasks T05, T08, T11 |
| B1 | File Existence | CRITICAL | src/auth.ts | Task-referenced file missing | Create file or update task reference |
| C1 | Requirement Coverage | CRITICAL | spec.md:FR-003 | No implementation evidence | Implement FR-003 |
(Add one row per finding; generate stable IDs prefixed by check letter: A1, B1, C1... Reference specific files and line numbers in Location(s) where applicable.)
Task Summary Table:
| Task ID | Status | Referenced Files | Notes |
|---|
Constitution Alignment Issues: (if any)
Metrics:
At end of report, output a concise Next Actions block:
/speckit.implement to address findings and re-run verification", "Implementation verified — ready for review or merge"Ask the user: "Would you like me to suggest concrete remediation edits for the top N issues?" (Do NOT apply them automatically.)
max_findings value; summarize overflowInteract with Paddock — AI agent orchestration dashboard. Use when registering agents, managing tasks, syncing skills, or querying agent/task status via Paddock APIs.
Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts.
Claude AskUserQuestion rendering for speckit checklist.
Claude AskUserQuestion rendering for speckit clarify.
Create or update the feature specification from a natural language feature description.
Generate a custom checklist for the current feature based on user requirements.