wf4-review

📁 shotaiuchi/dotclaude 📅 1 day ago
1
总安装量
1
周安装量
#76960
全站排名
安装命令
npx skills add https://github.com/shotaiuchi/dotclaude --skill wf4-review

Agent 安装分布

amp 1
cline 1
opencode 1
cursor 1
continue 1
kimi-cli 1

Skill 文档

Always respond in Japanese.

/wf4-review

Create review records for Plan, implementation code, or PR status.

Usage

/wf4-review [subcommand]

Subcommands

  • (none) or plan: Review the Plan
  • code: Review implementation code
  • pr: Check and review PR status

Processing

1. Check Prerequisites

Get active work. Set review path: docs/wf/<work-id>/04_REVIEW.md.

2. Plan Review (Default)

Review Plan from these perspectives:

  • Completeness: All Spec requirements covered, test plan included, rollback procedure clear
  • Feasibility: Work volume per step reasonable, dependencies correct, risks assessed
  • Quality: Coding conventions, performance impact, security

Record in 04_REVIEW.md using template ~/.claude/templates/04_REVIEW.md.

3. Code Review

Get diff via git diff <base>...HEAD. Review: code style, error handling, test coverage, security, performance.

4. PR Review

Check via gh pr view --json number,state,reviews,checks. Display: PR state, CI checks status, review approvals/requests, blocking issues, next action.

5. Update state.json

Set current: "wf4-review". Set next based on result:

  • Approved → "wf5-implement"
  • Changes requested → "wf3-plan"
  • Needs discussion → "wf4-review" (another review needed)

6. Completion Message

Show file path, result (Approved/Request Changes/Needs Discussion), findings count (Must Fix/Should Fix/Suggestions), next step.

Notes

  • Always record review results
  • Must Fix items are mandatory to resolve
  • Keep history for multiple reviews