KS
Killer-Skills

code-review — Categories.community

v1.0.0
GitHub

About this Skill

Perfect for Code Maintenance Agents needing advanced GitHub PR and local branch review capabilities. Googleドライブの課金が高いので自前で安くする。画像、動画を溜めて身内で共有できるシステム

sendo-kakeru sendo-kakeru
[0]
[0]
Updated: 3/5/2026

Quality Score

Top 5%
31
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add sendo-kakeru/family-photo

Agent Capability Analysis

The code-review MCP Server by sendo-kakeru is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Perfect for Code Maintenance Agents needing advanced GitHub PR and local branch review capabilities.

Core Value

Empowers agents to review code changes in local branches or GitHub PRs, ensuring quality, consistency, and detecting potential issues using AskUserQuestion tools and sub-agents, facilitating comprehensive code analysis and validation.

Capabilities Granted for code-review MCP Server

Reviewing local branch changes for quality and consistency
Analyzing GitHub PRs for potential issues and improvements
Validating code changes against specific review conditions

! Prerequisites & Limits

  • Requires AskUserQuestion tool integration
  • Limited to reviewing local branches, GitHub PRs, and local diffs
Project
SKILL.md
4.4 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

コードレビュー

概要

目的: ローカルブランチまたは GitHub PR の変更内容をレビューし、品質・一貫性・潜在的な問題を検出する。

AskUserQuestion ツールを使ってレビュー条件をインタビューし、適切なサブエージェントでレビューを実行する。


フェーズ 1: レビュー対象の確認

AskUserQuestion ツールを使って質問する。

質問内容:

  • question: "レビュー対象は?"
  • header: "対象"
  • options:
    • label: "ローカルブランチ", description: "現在のブランチと main の差分をレビュー"
    • label: "GitHub PR", description: "現在のブランチPRの差分をレビュー"
    • label: "ローカル差分", description: "ローカルにある差分をレビュー"
    • label: "ステージ済みのローカル差分", description: "ローカルにあるステージ済みの差分をレビュー"

フェーズ 2: 破壊的変更チェックの確認

AskUserQuestion ツールを使って質問する。

質問内容:

  • question: "破壊的変更チェックは?"
  • header: "破壊的変更"
  • options:
    • label: "行う", description: "API/スキーマ変更確認"
    • label: "行わない", description: "通常レビューのみ"

フェーズ 3: 変更内容の取得

フェーズ 1 の回答に基づいて変更内容を取得する。

ローカルブランチの場合:

bash
1git diff main...HEAD 2git diff --name-only main...HEAD

GitHub PR の場合:

AskUserQuestion ツールを使って PR 番号を確認する。

<rules> - **AskUserQuestion ツールを必ず使用** - 会話形式の質問は不可 </rules>

その後:

bash
1gh pr view <PR番号> --json title,body,files,additions,deletions 2gh pr diff <PR番号>

フェーズ 4: レビューの実行

全てのサブエージェントを並列で実行する。

サブエージェント

サブエージェント専門領域
review-qualityコード品質(命名、SRP、複雑度、エラー処理)
review-performanceパフォーマンス(計算効率、メモリ、レンダリング)
review-securityセキュリティ(XSS、SQLi、入力検証)
review-guidelineガイドライン準拠(TypeScript/React/テストルール)

フェーズ 6: 破壊的変更のチェック

「行う」を選択した場合のみ実行する。

カテゴリ
API 変更関数の引数追加/削除、戻り値の型変更
スキーマ変更DB カラムの削除、型変更、NOT NULL 追加
設定変更環境変数の追加/削除、デフォルト値の変更
依存関係メジャーバージョンアップ、パッケージの削除

フェーズ 7: 結果の出力

レビュー観点(サブエージェント別)

サブエージェントチェック内容
review-quality命名規則、単一責任原則、関数複雑度、エラーハンドリング
review-performance計算効率、メモリ管理、レンダリング最適化、N+1問題
review-securityXSS、SQLi、入力検証、認証・認可、OWASP Top 10
review-guidelineTypeScript/React/テストルール準拠、コードスタイル

出力形式

markdown
1## コードレビュー結果 2 3### サマリー 4- レビュー対象: ローカルブランチ / PR #XXX 5- 変更ファイル数: X 6- 追加行数: +XXX 7- 削除行数: -XXX 8 9### スコア一覧 10 11| 観点 | スコア | 12|------|--------| 13| 品質 | A/B/C/D | 14| パフォーマンス | A/B/C/D | 15| テスト | A/B/C/D | 16| ドキュメント | A/B/C/D | 17| セキュリティ | A/B/C/D | 18| ガイドライン | A/B/C/D | 19| Design Doc | A/B/C/D(設計書ありの場合) | 20 21### 破壊的変更 22🔴 あり / 🟢 なし 23 24### 発見事項 25 26#### 🔴 Critical(修正必須) 27- [ファイル名:行番号] 問題の説明 28 29#### 🟡 Warning(推奨) 30- [ファイル名:行番号] 改善提案 31 32#### 🟢 Good(良い点) 33- 良かった実装のポイント 34 35### 総評 36全体的な評価とコメント

重要な注意事項

  • AskUserQuestion ツールを必ず使用 - 会話形式の質問は不可
  • 各フェーズで必ず AskUserQuestion を呼び出してからユーザーの回答を待つ

Related Skills

Looking for an alternative to code-review or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
Design

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication