一键导入
review-spec
Review a spec document against codebase reality, identifying gaps and ensuring sound, robust implementations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review a spec document against codebase reality, identifying gaps and ensuring sound, robust implementations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Repo-grounded ideation, research, and technical solution design before planning or implementation.
Research and define codebase issues before implementation planning. Use when the human explicitly invokes `$diagnose-issue`, or when an active documented workflow such as `planning-workflow`, `shape-requirements`, or `architect` routes a current-code question here. Do not select it directly from a generic bug, ticket, symptom, or design concern; enter through `planning-workflow` instead. Do not use when the user asks for a step-by-step implementation plan, direct implementation, or code review of an existing diff.
Coordinate planning from intent to implementation. Route through shape-requirements, diagnose-issue, review-spec, create-plan, plan-review, and handoff-work. Use when starting feature work, fixing a non-trivial issue, or running the full plan-build cycle.
Shape requirements before planning or implementing. Gate underspecified build, fix, or plan tasks. Interview when the user says "interview me about", "ask me questions about", "help me think through", "I need to spec out", "let's flesh out", or has a vague idea to turn into a brief.
Operate one manually stepped Harness Factory work item from intake through triage, planning, implementation, continuation, publication, and merge acknowledgement. Use when asked to run, resume, inspect, or recover Factory; interpret its next reaction or durable evidence; or apply guarded Linear projections.
Brief a code change, diff, branch, commit range, or pull request so the user can decide whether to approve, merge, revise, or build on it. Use when the user asks for a walkthrough of what changed or how it works, wants behavior or day-to-day impact, asks about API, contract, or boundary changes, questions diff size or complexity, or wants accepted tradeoffs.
| name | review-spec |
| description | Review a spec document against codebase reality, identifying gaps and ensuring sound, robust implementations. |
Review the given spec and referenced codebase. Keep the review read-only.
For implementation plans where durable artifacts, provider selection, events, or reruns matter, prefer:
harness run plan-review --plan <path>
Use this direct skill when Harness is unavailable or a lightweight chat review is enough.
Apply this order:
Within an authority section, treat unmarked proposals, comments, and metadata as context. Other handoff content and summaries are also context, never authority.
Done when: every proposed change and major design choice has been checked against authority, code, and proportionality.
Plans are decision records for capable, context-limited executors with repository
access. Goal, Changes, Verify, and optional Boundaries are the default
shape; equivalent headings are valid. Review content, not template completeness.
Request detail only when it changes an executor decision or proves an acceptance
criterion, hard invariant, or verified regression risk.
Trace every proposed change and test to acceptance, a hard invariant, or a verified risk. Unsupported work already proposed by the plan is a scope defect. Challenge unsupported assumptions, follow compatible existing patterns, and prefer the smaller equivalent plan.
Check these decisions only when the proposed change makes them material:
Evaluate only relevant dimensions:
blocked
with the smallest exact human question needed to continue.A finding may be must-fix only for:
Reviewer-proposed optional hardening, alternative architectures, preferences, nearby cleanup, and unrelated future work are outside this review and cannot block. Advisory findings may record material observations but must not require plan edits.
Use pass when there is no must-fix finding, needs_changes when a plan edit can
resolve at least one must-fix finding, and blocked when required evidence or
human intent is unavailable. For blocked, state the smallest exact missing
evidence or human question; do not turn the uncertainty into a plan-edit request.
harness run plan-review writes structured JSON matching
schemas/review-output.schema.json: verdict, summary, and findings[] with
title, severity, location, issue, recommendation, rationale, and
must_fix. Return no extra fields.
For direct chat use, return each Markdown finding as:
### [Finding Title]
**Severity**: Critical | High | Medium | Low
**Location**: [Plan section, file, or path:line]
**Must fix**: Yes | No
**Issue**: [Clear problem description]
**Recommendation**: [Specific, actionable change]
**Rationale**: [Technical justification]
End with **Verdict**: Pass | Needs changes | Blocked. For Blocked, include
the smallest exact missing evidence or human question.