用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/matochu/pythia --skill review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | review |
| description | Review a feature plan for gaps, risks, ambiguities, and wrong assumptions, then write the structured review report. |
Purpose: Produce a structured Reviewer assessment of the plan of this feature. Hermetic per feature; agent doc context = feature. When this skill is invoked as an automatic follow-up (e.g. from /replan), the caller must have launched this skill in a Reviewer context; the review must not be executed in the caller's Architect context (see workflow Delegation policy).
Choose any of the following:
/review # No args: auto-detect from chat history
/review feat-2026-01-123 # With FEATURE_ID: infer plan-slug from feature dir
/review plan # Artifact ref: use current feature's latest plan
/review feat-2026-01-123 1-refactor # FEATURE_ID + plan-slug explicitly
When no args: auto-detect from chat — find most recent FEATURE_ID reference and most recent plan, or validate if already in feature context.
/review — skill will infer current feature and plan from chat./review plan (use current feature's latest plan).{feature-dir}/reports/{plan-slug}.review.md under a new round header at EOF only (append-only; do not insert anywhere else), or copy output for /replan.Parse the user's input using this order:
Extract FEATURE_ID from:
feat-2026-01-123)If unable to determine: Prompt user for FEATURE_ID before proceeding.
Infer plan-slug from:
plans/ directory in feature folder)After input parsing:
{feature-dir}/plans/{plan-slug}.plan.md exists.{feature-dir}/reports/{plan-slug}.review.md exists (may be new).## {plan-slug} R… headers to determine next round number.You are the Reviewer (reviewer.md). Doc context = this feature (feat doc + plans/). Execute the review directly in the active Reviewer context — do NOT delegate the review to another subagent.
Input: Feature context + plan slug (required). Plan path = plans/{plan-slug}.plan.md.
Scope rule:
Review mode selection (mandatory):
Before generating review:
date +%Y-%m-%d. Use this date for review round header.## Next Steps is mandatory.Output:
{feature-dir}/reports/{plan-slug}.review.md with round header ## {plan-slug} R{round} — YYYY-MM-DD (use date from date +%Y-%m-%d). Round = next after existing rounds in that file (count existing ## … R… headers), or 1 if the file is new. Feature directory is determined from feature context (feat doc path).## Metadata at the top of the review file using artifact-metadata.md, artifact type review. Set the canonical review metadata to match the plan path, plan version, round, and verdict you are appending. Create the Metadata section if the file is new.## Navigation at the top of the review file: append new round entry to the Rounds line — · [R{n} — YYYY-MM-DD — {VERDICT}](#anchor). Create the Navigation section if the file is new./replan.The Reviewer response may offer [r] Replan, [i] Implement, [q] QA follow-up, and [v] Re-review in ## Next Steps. These chooser entries are interactive follow-up actions in the same chat, not slash commands. After emitting the Reviewer response, halt and wait for the user's next input.
When the next user input is exactly one of the offered chooser keys:
[r] / r (only when verdict is needs-revision): launch an Architect subagent (architect.md) with /replan {feature-dir}/plans/{plan-slug}.plan.md R{round}. Pass the review report path and section for R{round} as context. If subagent launch is unavailable, print only the copyable /replan command from the response template and stop.[i] / i (only when verdict is ready): launch a Developer subagent (developer.md) with /implement {feature-dir}/plans/{plan-slug}.plan.md v{version}. Pass the review verdict and review report path as context. If subagent launch is unavailable, print only the copyable /implement command from the response template and stop.[q] / q: run the QA follow-up flow below.[v] / v (only when verdict is needs-revision): restart /review as a skill invocation on the same plan path after external changes. Do not continue with free-form Reviewer analysis in place. Append a new review round; do not overwrite the existing round. If the host cannot execute /review inline, print only the copyable /review command from the response template and stop.Do not treat arbitrary custom user messages as chooser input. If the user writes a normal instruction instead of a chooser key, handle it as normal chat context and do not auto-launch workflow agents.
The QA follow-up is not a slash command and must not be represented as a QA-flavored /review command.
When the user chooses [q] after a review round:
subagent_type="qa-automation") with the current feature doc, plan path, review report path, and review round R{round}.### QA Automation Follow-up
- **Source**: QA Automation assessment for R{round}
- **Accepted Findings**: {count}
- **Summary**:
- {Reviewer-authored QA concern summary with evidence}
Review format: Follow review-format.md: top-level Metadata, Navigation, optional Retrospective, then round blocks with Verdict (ready | needs-revision), Plan-Path; Executive Summary; Step-by-Step Analysis (Status, Evidence, Impact, optional Revision hint; no solutioning); Summary of Concerns.
Review depth baseline (mandatory every round):
[automation] when relevant to future synthesis. Examples: "Steps 3 and 5 both require manual validation of Y; could be automated", "Configuration pattern in Step 2 repeats across multiple similar features — candidate for parametric skill".Architecture quality dimensions (in addition to clarity/completeness/feasibility/risks/testability):
gap or wrong-assumption.gap, risk, or wrong-assumption with evidence.wrong-assumption, risk, or infeasible.risk or gap).risk or gap.- **Validation**: blocks, test scenarios, acceptance criteria that are verifiable).Deep mode evidence expectations:
Retrospective (top-level section in .review.md, before all round blocks — see review-format.md):
[codebase], [risk], [process], [tooling]; add domain-specific labels when they make future synthesis clearer — retrospective signals only, no recommendationsReview only where there is clear evidence; avoid judgments without plan/code references. Do not implement — output review only. Do not give specific recommendations (no "do X", "use Y", "rewrite Z"). Terminal commands allowed: date +%Y-%m-%d (current date), cat (read files), grep (search in files), find (locate files). Web lookup allowed: use WebSearch + WebFetch for official sources and cite URLs in Evidence. Do not run build, test, or any other commands. Exception (workflow-doc validation, inline fallback only): if the host cannot spawn a Validator subagent, open /validate skill and perform exactly one validation run for the absolute path to reports/{plan-slug}.review.md using only the procedure defined in that skill; report exit code + stderr; label inline fallback. No other shell commands beyond the allowlist above.
Focus on problems: reviews are for improvement and working with errors. For OK status items, keep description minimal (1 sentence max, e.g., "No issues found"). Provide detailed analysis only for concerns (CONCERN-LOW/MEDIUM/HIGH, BLOCKED).
Reviewer strictness (mandatory — no rubber-stamp):
Cross-document links and trailing refs: see cross-document-links.md. The Reviewer output ends at the round block — no trailing refs region is authored by the LLM.
Validation (before completing):
.review.md is checked by the procedure in /validate skill. That check does not judge architecture quality — this skill does. Optional QA Automation is separate (test coverage)./review): After {feature-dir}/reports/{plan-slug}.review.md is updated on disk, you MUST spawn a Validator subagent in a separate context. Use the handoff prompt from /validate skill § Validator subagent (delegation): absolute {ABS_PATH_TO_VALIDATE_SKILL} and absolute path to reports/{plan-slug}.review.md. Do not finish until exit 0 (or inline fallback below). PostToolUse hook warnings ≠ PASS — see hook-integration.md.
subagent_type="generalPurpose" or the same type your /loop skill uses for one-shot subagent handoffs when no dedicated Validator type exists. The delegated task body = only the filled handoff prompt from /validate skill § Validator subagent (paths substituted) — not your review narrative..review.md and re-run until exit 0./loop exception: If the orchestrator already documented successful validation () for this revision, skip nested Validator — state that.See also: Request /replan skill if plan needs revision after review.
gap or missing-validation when changes are not clearly covered by tests or when validation is vague/absent for testable surface.subagent_type="qa-automation") to assess test coverage of the planned changes. Provide the plan (and feature/context path). Use the returned assessment as input only: incorporate findings into your Step-by-Step Analysis and Summary of Concerns as Reviewer (gap/missing-validation); do not copy QA output verbatim; do not add solutions. If QA subagent is unavailable, perform the test-coverage check yourself.0## Metadata exists and the canonical review metadata matches the latest appended round## {plan-slug} R{round} — YYYY-MM-DD (date from date +%Y-%m-%d)## Navigation is updated with new round entry (verdict included)Evidenceresponse-formats.md Reviewer format: ## Summary, ## Verdict, ## Critical Findings, ## High Priority Concerns, ## Review Artifact, ## Next Steps — ## Next Steps is REQUIRED even when verdict is ready