R

Requesting Code Review

by @obrav
4.2(120)

この Skill は、コードレビューサブエージェントを派遣し、開発プロセスのできるだけ早い段階でコード実装が設計計画や要件に準拠しているかを確認します。これにより、問題が拡大する前に潜在的な欠陥を発見して解決し、特にサブエージェント駆動開発や複雑な機能実装において、コード品質と開発効率を大幅に向上させます。

code-reviewquality-assuranceai-agentcollaborationdevelopment-workflowGitHub
インストール方法
git clone https://github.com/obra/superpowers-skills.git
compare_arrows

Before / After 効果比較

1 组
使用前

開発者が手動でコードレビューを行う場合、時間がかかり、レビュー担当者の経験やエネルギーに制約されがちです。これにより、レビューサイクルが長期化し、重要な問題が見落とされ、後の修正コストとリスクが増大します。

使用後

この Skill は、インテリジェントなサブエージェントを通じて迅速かつ一貫したコードレビューを実行し、開発の早い段階で潜在的な問題を発見して指摘します。これにより、レビューサイクルが大幅に短縮され、問題発見率が向上し、修正コストが削減されます。

SKILL.md

Requesting Code Review

Dispatch code-reviewer subagent to catch issues before they cascade.

Core principle: Review early, review often.

When to Request Review

Mandatory:

  • After each task in subagent-driven development
  • After completing major feature
  • Before merge to main

Optional but valuable:

  • When stuck (fresh perspective)
  • Before refactoring (baseline check)
  • After fixing complex bug

How to Request

1. Get git SHAs:

BASE_SHA=$(git rev-parse HEAD~1)  # or origin/main
HEAD_SHA=$(git rev-parse HEAD)

2. Dispatch code-reviewer subagent:

Use Task tool with code-reviewer type, fill template at code-reviewer.md

Placeholders:

  • {WHAT_WAS_IMPLEMENTED} - What you just built
  • {PLAN_OR_REQUIREMENTS} - What it should do
  • {BASE_SHA} - Starting commit
  • {HEAD_SHA} - Ending commit
  • {DESCRIPTION} - Brief summary

3. Act on feedback:

  • Fix Critical issues immediately
  • Fix Important issues before proceeding
  • Note Minor issues for later
  • Push back if reviewer is wrong (with reasoning)

Example

[Just completed Task 2: Add verification function]

You: Let me request code review before proceeding.

BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)

[Dispatch code-reviewer subagent]
  WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
  PLAN_OR_REQUIREMENTS: Task 2 from docs/plans/deployment-plan.md
  BASE_SHA: a7981ec
  HEAD_SHA: 3df7661
  DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types

[Subagent returns]:
  Strengths: Clean architecture, real tests
  Issues:
    Important: Missing progress indicators
    Minor: Magic number (100) for reporting interval
  Assessment: Ready to proceed

You: [Fix progress indicators]
[Continue to Task 3]

Integration with Workflows

Subagent-Driven Development:

  • Review after EACH task
  • Catch issues before they compound
  • Fix before moving to next task

Executing Plans:

  • Review after each batch (3 tasks)
  • Get feedback, apply, continue

Ad-Hoc Development:

  • Review before merge
  • Review when stuck

Red Flags

Never:

  • Skip review because "it's simple"
  • Ignore Critical issues
  • Proceed with unfixed Important issues
  • Argue with valid technical feedback

If reviewer wrong:

  • Push back with technical reasoning
  • Show code/tests that prove it works
  • Request clarification

See template at: skills/collaboration/requesting-code-review/code-reviewer.md

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数520
評価4.2 / 5.0
バージョン
更新日2026年6月19日
比較事例1 件

ユーザー評価

4.2(120)
5
37%
4
43%
3
13%
2
5%
1
2%

この Skill を評価

0.0

対応プラットフォーム

🤖claude-code

タイムライン

作成2026年6月19日
最終更新2026年6月19日
🎁 Agent 知識カード
アンケート