本文へスキップ
Skillpedia
一般的なプログラミング33k · #9142

review-changes

できること

このスキルは、code-review-graphツールを使ってコードの変更をレビューするようAIを導きます。構造化された、リスクに基づくレビューがほしい開発者とレビュアー向けです。

使う場面

  • ✓コードの変更があり、マージの前に確認したいとき。
  • ✓テストのカバレッジがない高リスクの関数を確認したいとき。
  • ✓変更の影響に基づいた、マージの明確な推奨がほしいとき。

スキルのリンク

https://github.com/tirth8205/code-review-graph/blob/staging/skills/review-changes/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/tirth8205/code-review-graph/blob/staging/skills/review-changes/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“今の変更をレビューして、リスクの順に並べ、どの部分にテストがないかを教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは変更検出を実行し、リスクのある関数のテストのカバレッジを確認し、影響範囲を見直して、結果をリスク別にまとめます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Review Changes

Review a change set with risk scores and blast radius from the knowledge graph.

Steps

  1. Call detect_changes_tool for risk-scored changed functions, test gaps and affected flows.
  2. Call get_affected_flows_tool only when you need the steps of an affected flow.
  3. For each high-risk function, call query_graph_tool with pattern="tests_for" to check test coverage.
  4. Call get_impact_radius_tool when the blast radius is not clear from step 1.
  5. Suggest specific test cases for untested changes.

Output Format

Group findings by risk level (high, medium, low). For each finding give what changed and why it matters, its test coverage, and the suggested fix. End with a merge recommendation.

Token Efficiency Rules

  • Call get_minimal_context_tool(task="<your task>") before any other graph tool.
  • Pass detail_level="minimal" wherever a tool accepts it. Use "standard" only when minimal is not enough.
  • Prefer a targeted query_graph_tool call over a broad listing call.
  • Budget: about five tool calls and 800 tokens of graph output per task.
  • Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.
よくある質問

結果はどのようにまとめられますか?

高、中、低のリスクに分けられ、変更、カバレッジ、修正案が示されます。

テストを提案しますか?

はい。テストされていない変更に対して、具体的なテストケースを提案します。

判定を出しますか?

はい。マージの推奨で締めくくります。

詳細

作者による元の説明

Perform a structured code review using change detection and impact

repo: tirth8205/code-review-graph

人気

GitHubのスター
33k
ランキング
#9142
ライセンス
MIT
更新日
2026/10/29

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル