gza-spec-review-all
Review all spec files for accuracy against the current implementation, flagging outdated vs aspirational content
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review all spec files for accuracy against the current implementation, flagging outdated vs aspirational content
用 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-all |
| description | Review all spec files for accuracy against the current implementation, flagging outdated vs aspirational content |
| allowed-tools | Read, Glob, Grep, Write, Bash(ls:*), Bash(git log:*), Bash(git blame:*), Bash(uv run *--help*), Bash(date +%Y%m%d%H%M%S) |
| version | 1.0.0 |
| public | true |
Review feature specs in specs/features/ for accuracy against the current
implementation. Behavior specs in specs/behavior/ are out of scope here — those are
prescriptive requirements checked in the opposite direction by gza-behavior-check, not
descriptive specs to flag as outdated.
Specs can be forward-looking (describing planned features) or outdated (describing old behavior). Use this heuristic:
When in doubt, flag it with a note that it "may be aspirational."
ls specs/features/
Read the spec file, then search the codebase to verify its claims.
Check for concrete, verifiable claims:
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?
For each spec, assign one of:
When unsure if a spec is aspirational or outdated:
git log --oneline -1 specs/features/<file>.md
git blame specs/features/<file>.md | head -5
Generate timestamp and write report:
date +%Y%m%d%H%M%S
Write to reviews/<timestamp>-spec-review.md.
# Spec Review
## Summary
Reviewed N specs. X current, Y outdated, Z aspirational.
## Outdated Specs
### specs/example.md
**Status:** Outdated
**Issues:**
| Claim | Location in Spec | Actual State |
|-------|-----------------|--------------|
| References `src/gza/tasks.py` | Line 15 | File deleted; logic moved to `src/gza/db.py` |
| Says `--verbose` flag exists | Line 42 | Flag was removed in favor of `--log-level` |
### specs/another.md
**Status:** Partially outdated
**Issues:**
| Claim | Location in Spec | Actual State |
|-------|-----------------|--------------|
| Config field `worker_count` | Line 8 | Renamed to `work_count` |
**Correct claims:** Task chaining via `depends_on` works as described.
## Aspirational Specs (No Action Needed)
| Spec | Summary | Last Modified |
|------|---------|---------------|
| specs/beads-integration.md | Beads integration not yet implemented | 2026-01-15 |
## Current Specs
| Spec | Key Claims Verified |
|------|-------------------|
| specs/docker-testing.md | Dockerfile paths, Docker build flow, volume mounts |
## Recommendations
1. [Priority action 1]
2. [Priority action 2]