gza-plan-review
Run an interactive quality gate for a plan task and produce a go or no-go recommendation before implementation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run an interactive quality gate for a plan task and produce a go or no-go recommendation before implementation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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-plan-review |
| description | Run an interactive quality gate for a plan task and produce a go or no-go recommendation before implementation |
| allowed-tools | Bash(uv run gza show:*), Bash(uv run gza log:*), Bash(uv run gza history:*), AskUserQuestion, Read |
| version | 1.0.0 |
| public | true |
Run an interactive plan quality gate for a specific plan task before implementation starts.
gza-1234)If the user did not provide a task ID, ask for it before proceeding.
Use the full prefixed task ID for all gza commands.
Run these commands with the provided task ID:
uv run gza show <TASK_ID>
uv run gza log <TASK_ID>
uv run gza history --type plan --limit 10
Use this output to verify:
plancompleted is required for a Go recommendation)If the task is not found or is not a plan task, stop and return a no-go with corrective actions.
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 workGo also requires task status completedNo-go: any Fail, or two or more Needs workProduce a concise report with:
Go or No-gouv run gza show <TASK_ID>uv run gza log <TASK_ID>Go recommendation, or if the operator wants to proceed despite prior concerns, use AskUserQuestion before giving the implement command:
--tag; suggest inheriting the plan task's existing tags by default.--pr to auto-create or reuse a GitHub PR after completion.uv run gza implement -q <TASK_ID> --tag <tag> [--pr]uv run gza add --type plan "..." (for remediation planning)Use this structure:
Plan Review: Task <TASK_ID>
Task Context
- Type/Status: <type> / <status>
- Prompt: <prompt>
- Inspected with: gza show, gza log, gza history --type plan
Quality Gate
- Scope clarity: <Pass|Needs work|Fail> - <evidence>
- Acceptance criteria: <Pass|Needs work|Fail> - <evidence>
- Risks: <Pass|Needs work|Fail> - <evidence>
- 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 with command>
2. <action with command>
3. <action with command>
Needs work, include an explicit pre-implementation fix action.