本文へ移動
cccskills
無料GitHub で公開

pr-review-router

Route a PR review request to the correct tool — code-review plugin (quick parallel scan across all dimensions) or pr-review-toolkit (deep-dive on a specific quality dimension such as type design, error handling, test quality, comments, or simplification). Use when the user asks for a code review, PR review, or mentions a specific quality concern before creating a PR.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md3.4 KB
  • README.md2.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

レビュー意図を解析し、適切なツールへルーティングしてください。

ツール概要

code-review(/code-review:review)

  • 性質: 網羅的・並列スキャン
  • エージェント: セキュリティ / パフォーマンス / 可読性 / テスト / アーキテクチャ(5並列)
  • 適した場面: PR 作成時のゲートチェック、初見スキャン、全体的な品質確認

pr-review-toolkit(6専門エージェント)

  • 性質: 特定観点への深掘り
  • エージェント:
    • code-reviewer — 全体的なコード品質・正確性
    • pr-test-analyzer — テストカバレッジ・テスト品質
    • silent-failure-hunter — エラーハンドリング・サイレント失敗
    • type-design-analyzer — 型システムの設計・活用度
    • comment-analyzer — コメント・ドキュメントの質
    • code-simplifier — 複雑なコードの簡略化提案
  • 適した場面: 特定の懸念がある、深く掘り下げたい

ルーティング手順

ステップ 1: 意図を読み取る

$ARGUMENTS が指定されている場合はそれを優先する。なければ直前の会話文脈からレビュー意図を読み取る。

ステップ 2: シグナル判定

code-review を選ぶシグナル:

  • 「ざっと見て」「quick scan」「全体確認」「PR 作成前チェック」
  • 特定観点への言及がない
  • 「まず」「最初に」などの初見レビューを示す語句

pr-review-toolkit を選ぶシグナル(エージェント対応):

  • 「型」「型設計」「型安全」→ type-design-analyzer
  • 「エラーハンドリング」「例外」「握りつぶし」「サイレント失敗」→ silent-failure-hunter
  • 「テスト品質」「カバレッジ」「テストが足りない」→ pr-test-analyzer
  • 「コメント」「ドキュメント」「説明が少ない」→ comment-analyzer
  • 「複雑すぎる」「シンプルにしたい」→ code-simplifier
  • エージェント名の直接指定

ステップ 3: 不明な場合は 1 問だけ質問する

シグナルが読み取れない場合:

「特定の観点(型設計・エラーハンドリング・テスト品質など)を確認したいですか?それとも全体的にざっとチェックしたいですか?」

回答を受けたら即座にルーティングし、再度質問しない。

ステップ 4: 結果を出力する

以下の形式で出力する:

## レビューツール: [code-review | pr-review-toolkit]

**理由**: [1文でシグナルの説明]

**実行コマンド**:
[具体的なコマンドまたは呼び出し手順]

注意

  • このスキルは推薦を出すだけであり、ツールを直接起動しない
  • 両方のプラグインがインストール済みであることを前提とする

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

analyze-project

無料日本語概要

This skill should be used when the user asks to "プロジェクトを解析して", "コードベースを調べてドキュメント化して", "移行作業の準備をして", "新機能実装の前にプロジェクトを整理して", "analyze this codebase", "document the project structure", "既存プロジェクトのCLAUDE.mdを作って", or wants to prepare CLAUDE.md and architecture docs before a migration, feature development, or onboarding.

t6adev/claude-code-tools32026年4月9日 更新

debug-assist

無料日本語概要

This skill should be used when the user asks to "このエラーを直して", "help me debug this", "fix this stack trace", "なぜこのエラーが出るの", "CI が落ちた", or pastes an error message or stack trace and wants help diagnosing it. Classifies the error type, identifies related files, and proposes up to three root-cause hypotheses with concrete fix plans.

t6adev/claude-code-tools32026年4月9日 更新

doc-sync

無料日本語概要

This skill should be used when the user asks to "ドキュメントを更新して", "sync the docs", "update CLAUDE.md after this change", "実装に合わせてドキュメントを直して", or notices that docs have drifted from the codebase. Diffs git history to identify what changed, proposes targeted updates to CLAUDE.md, docs/architecture.md, docs/requirements.md, and README.md, then applies only approved changes.

t6adev/claude-code-tools32026年4月9日 更新

explain

無料

Explain selected code or a specified file/function in plain language, including what it does, why it exists, and potential pitfalls

日本語の概要は準備中です。原文の説明を表示しています。

t6adev/claude-code-tools32026年4月9日 更新

impact-analysis

無料日本語概要

This skill should be used when the user asks to "このファイルを変えたら何が壊れる?", "what depends on this function", "影響範囲を調べて", "show me what imports this module", or wants to understand the blast radius before modifying a shared utility, exported type, or public API. Traces import/require references up to two levels deep and lists affected test files.

t6adev/claude-code-tools32026年4月9日 更新

implement-task

無料日本語概要

This skill should be used when the user asks to "このIssueを実装して", "implement this issue", "fix this bug", "このタスクをやって", "Issue

t6adev/claude-code-tools32026年4月9日 更新

t6adev のスキルをすべて見る

このスキルの問題を報告する