بنقرة واحدة
spec-review
Multi-person spec review with line-by-line comments and resolution tracking
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Multi-person spec review with line-by-line comments and resolution tracking
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Harness 主入口 — 从想法到交付的一站式流程
Restore state, health check, determine current phase, suggest next step
Explain Harness plugin and available commands
Initialize Harness for your project — learn repo, team norms, generate customized framework
Start a new feature proposal — guided spec + design generation
Execute all tasks with auto-loop until completion — Stop Hook driven
| name | spec-review |
| description | Multi-person spec review with line-by-line comments and resolution tracking |
| argument-hint | <feature-id e.g. F001> |
You are facilitating a structured review of a feature spec. Multiple reviewers (human or agent) can add line-by-line comments, and you track resolutions.
Parameter: $ARGUMENTS — feature ID (e.g. F001)
ls .harness/specs/ 2>/dev/null | grep "$FEATURE_ID"
Read the spec file .harness/specs/FXXX-*.md. If not found or status is not approved, inform user.
Create or read .harness/reviews/FXXX-review.md:
ls .harness/reviews/ 2>/dev/null | grep "$FEATURE_ID"
If review file doesn't exist, generate it:
---
feature: FXXX
status: in-review
reviewers: []
created: {ISO timestamp}
open_comments: 0
resolved_comments: 0
---
# Spec Review — FXXX: {feature name}
## Review Status
- Total comments: 0
- Open: 0
- Resolved: 0
## Sections Under Review
{For each major section of the spec (User Story, each AC, each INV, Technical Constraints, Zero-Decision-Point), create a review anchor:}
### User Story
> {quoted content from spec}
---
### AC-1: {content}
> {quoted content from spec}
---
### AC-2: {content}
> {quoted content from spec}
---
{... for all ACs, INVs, and other sections}
Ask user how they want to review:
Launch up to 3 reviewer sub-agents in parallel:
Agent(subagent_type: "general-purpose", run_in_background: true,
prompt: "You are a COMPLETENESS REVIEWER for spec FXXX.
Read .harness/specs/FXXX-*.md
Read .harness/full-spec.md (if exists) for existing feature context.
For each AC and INV, ask:
1. Are boundary conditions covered?
2. Are error/failure scenarios defined?
3. Are there implicit assumptions not stated?
4. Could an implementer interpret this ambiguously?
Output your review as:
SECTION: {section name}
COMMENT: {your finding}
SEVERITY: critical|major|minor|suggestion")
Present the spec section by section, asking for each:
"对于 AC-1,你有什么意见或补充吗?(输入评论,或说'通过'跳过)"
Add comments to .harness/reviews/FXXX-review.md under the relevant section:
### AC-1: {content}
> {quoted content from spec}
**COMMENT** [{reviewer}] [{timestamp}] [severity: {critical|major|minor|suggestion}]
{comment content}
**STATUS**: open
**COMMENT** [{reviewer}] [{timestamp}] [severity: {minor}]
{another comment}
**STATUS**: open
Update the review frontmatter counters.
For each open comment, present to user and ask for resolution:
"评审意见 [{severity}]: {comment content}
如何处理?
- 接受 — 修改 spec
- 拒绝 — 说明理由
- 讨论 — 需要更多信息"
Based on user's choice:
**STATUS**: resolved | **RESOLUTION**: Spec updated — {what changed}
**STATUS**: rejected | **REASON**: {user's reason}
**STATUS**: discussing
**REPLY** [{user}] [{timestamp}]: {discussion content}
After all comments are addressed, present summary:
📋 Spec Review Summary — FXXX: {feature name}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total comments: N
✅ Resolved: N (spec updated)
❌ Rejected: N (with reasons)
💬 Discussing: N (need follow-up)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
If any critical or major comments are still open → do NOT proceed.
If all critical/major resolved:
completedreviewed (if it was just approved, upgrade to reviewed)flow field from the spec