gza-spec-review
Run an interactive quality gate for a spec file and produce a go or no-go recommendation before implementation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run an interactive quality gate for a spec file and produce a go or no-go recommendation before implementation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Review changes on current branch and output a structured review. Optionally post to PR with --pr flag, or apply non-blocking follow-ups inline with --apply-followups.
Run an interactive code-only review for a gza task's implementation branch and produce structured review output compatible with gza-task-improve
Check the implementation against the behavior specs in specs/behavior/. Reports where the code diverges from intended behavior — each divergence is either a code bug or a spec gap. The behavior spec is the source of truth; this skill never edits code or the spec.
Check the behavior spec set for coherence, ownership boundaries, and plain-language discipline without editing the spec or the code
Turn the recurring `watch` stuck-task pile into (1) a diagnosis of why each class is stuck, (2) the existing stuck rows actually cleared now, and (3) systemic prevention so it does not recur. Snapshots watch/incomplete/queue, buckets stuck tasks by failure class, dedups against already-tracked `system` work, unsticks each row by its clearing action (drop moot/dead/stale, spawn follow-up, hand review-loop rows to /gza-task-fix), then ranks and files `system`-tagged prevention fixes by blast radius (cascade-preventer first). Never merges, retries, resumes, deletes branches, or edits code.
Triage `gza incomplete` rows — classify each unresolved merge-unit lineage and recommend the right corrective action (drop moot leaves, escalate to fix, surface manual-resolve rebases, etc.). Never merges, retries, resumes, or deletes branches; never edits code.
| name | gza-spec-review |
| description | Run an interactive quality gate for a spec file and produce a go or no-go recommendation before implementation |
| allowed-tools | Read, Glob, Grep, Bash(ls:*), Bash(git log:*), Bash(git blame:*), Bash(uv run *--help*), AskUserQuestion |
| version | 1.0.0 |
| public | true |
Run an interactive quality gate for a specific spec file before implementation starts.
specs/features/foo.md)If the user did not provide a spec path, ask for it before proceeding.
Normalize spec paths:
foo.md, expand to specs/features/foo.mdRead the spec file in full. Identify:
For each concrete claim in the spec:
File paths - Does the spec reference files that exist?
Command/option names - Does the spec describe CLI commands or flags?
uv run gza --help and uv run gza <command> --helpConfig fields - Does the spec reference configuration options?
src/gza/config.py for referenced field namesCode patterns - Does the spec describe specific functions, classes, or modules?
Workflow steps - Does the spec describe a multi-step process?
Use git blame/log for context when unsure if something is aspirational vs outdated:
Use AskUserQuestion to evaluate each gate area. Ask concise, targeted questions and confirm assumptions explicitly.
Gate areas:
Assign each gate area one status:
Pass - sufficient for implementationNeeds work - gaps exist but are fixableFail - critical blockerDecision rule:
Go: no Fail areas and at most one Needs workNo-go: any Fail, or two or more Needs workProduce a concise report.
Use this structure:
Spec Review: <spec path>
Spec Context
- File: <spec path>
- Last modified: <date from git log>
- Summary: <one-line summary of what the spec describes>
Codebase Verification
- <claim 1>: <verified|missing|outdated|aspirational> - <details>
- <claim 2>: <verified|missing|outdated|aspirational> - <details>
- ...
Quality Gate
- Scope clarity: <Pass|Needs work|Fail> - <evidence>
- Accuracy: <Pass|Needs work|Fail> - <evidence>
- Acceptance criteria: <Pass|Needs work|Fail> - <evidence>
- Risks & dependencies: <Pass|Needs work|Fail> - <evidence>
- Test strategy: <Pass|Needs work|Fail> - <evidence>
Recommendation
- <Go|No-go>
- Rationale: <short rationale>
Follow-up actions
1. <action>
2. <action>
3. <action>
Needs work, include an explicit pre-implementation fix action.