オプション
家 Skill コードレビュー requesting-code-review

requesting-code-review

obra/superpowers obra/superpowers

タスクの完了時、主要な機能の実装時、またはマージ前に、作業が要件を満たしているかを確認するために使用します

...すべて拡張します
60
更新された時間 2026年6月29日

概要requesting-code-review

「requesting-code-review 」スキルは、開発ワークフローにおけるコードレビュープロセスを円滑に進めることを目的としており、コードが統合される前に、所定の要件や品質基準を満たしていることを確認します。 開発者が早期かつ頻繁にフィードバックを求めるよう促すことで、このスキルは、開発サイクル中に深刻化する可能性のある未発見の問題という一般的な課題に対処します。また、チームメンバー間の協働と継続的な改善の文化を促進することで、高いコード品質とプロジェクトの整合性を維持するのに役立ちます。

よくある質問

コードレビューはいつ依頼すべきですか?

サブエージェント主導型開発では、各タスクの完了後、主要な機能の完成後、およびメインブランチへのマージ前に、コードレビューを依頼する必要があります。

このスキルを使用するにはどのようなツールが必要ですか?

バージョン管理にはGitへのアクセス権、コードレビュー担当サブエージェントを起動するには「タスク」ツールが必要です。

単純な変更の場合、レビューの依頼を省略してもいいですか?

いいえ、単純な変更であってもレビューを省略してはいけません。重要な問題を見落とす原因となる可能性があるためです。

レビュー担当者のフィードバックに同意できない場合はどうすればよいですか?

技術的な根拠を提示して反論したり、コードやテストからの証拠を示したり、必要に応じて説明を求めることができます。

このスキルは、すべての開発環境に対応していますか?

このスキルは、GitとTaskツールが利用可能な環境での使用を想定して設計されているため、現代の開発手法と広く互換性があります。

GitHubで見る

Requesting Code Review

Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history. This keeps the reviewer focused on the work product, not your thought process, and preserves your own context for continued work.

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/mainHEAD_SHA=$(git rev-parse HEAD)

2. Dispatch code reviewer subagent:

Dispatch a general-purpose subagent, filling the template at code-reviewer.md

Placeholders:

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

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]  DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types  PLAN_OR_REQUIREMENTS: Task 2 from docs/superpowers/plans/deployment-plan.md  BASE_SHA: a7981ec  HEAD_SHA: 3df7661[Subagent returns]:  Strengths: Clean architecture, real tests  Issues:    Important: Missing progress indicators    Minor: Magic number (100) for reporting interval  Assessment: Ready to proceedYou: [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 task or at natural checkpoints
  • 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: code-reviewer.md

すべてのファイル

2件のファイル

requesting-code-reviewをインストール

スキルファイルをダウンロードし、.claude/skills/ ディレクトリに解凍してください。

ZIPをダウンロード

リポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。

git clone https://github.com/obra/superpowers/blob/main/skills/requesting-code-review/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

コピー コピー
クイックセットアップ: skill フォルダを .claude/skills/ にコピーしてください。Claude が自動的にスキルを検出して使用します。
リポジトリ obra/superpowers

関連スキル

code-simplify
更新された時間 2026年7月2日
Git Commit Helper
更新された時間 2026年6月29日
commit-standards
更新された時間 2026年6月29日
fetch-pr-review-comments
更新された時間 2026年6月29日
OR