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

review-delta

できること

このスキルは、code-review-graphツールを使い、直近の変更をトークン効率よくレビューするようAIを導きます。今変更したばかりのものを手早く確認したい開発者向けです。

使う場面

  • ✓いくつかの編集をしたばかりで、コミット前に素早くレビューしたいとき。
  • ✓小さな変更の影響範囲を確認したいとき。
  • ✓編集によって、テストされていない関数が影響を受けていないか確認したいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“いくつかのファイルを変更しました。その変更と、それが影響する部分だけをレビューしてもらえますか?”

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

仕組み

エージェントは、グラフの準備ができているかを確認し、変更を前回のコミットと比べ、リスクとテストの不足を確認して、短いレポートを書きます。

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

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

Review Delta

Review only the changed code and its blast radius.

Steps

  1. Call get_minimal_context_tool(task="review changes"). If it returns status: not_ready, call build_or_update_graph_tool() and continue.
  2. Call detect_changes_tool(detail_level="minimal") for risk-scored changed functions, test gaps and affected flows. Changes come from git diff against HEAD~1; if the argument names a file, pass it in changed_files.
  3. Call get_review_context_tool(detail_level="minimal") when you need source snippets for the changed areas and review_guidance (untested functions, wide blast radius, inheritance changes).
  4. For each untested high-risk function, confirm with query_graph_tool(pattern="tests_for", target="<function>").
  5. Use detail_level="standard" only for a high-risk item the minimal output leaves unclear. Do not load whole files unless a snippet is not enough.

Report

  • Summary: one line
  • Risk: low, medium or high, from the blast radius
  • Issues: bugs, missing tests, style
  • Blast radius: impacted files and functions
  • Recommendations
よくある質問

何と比較しますか?

作業中の変更を、前回のコミット、つまりHEADの一つ前と比べます。

レポートには何が含まれますか?

要約、リスクの度合い、問題、影響範囲、推奨事項が含まれます。

ファイル名が必要ですか?

いいえ。ファイル名を指定すると、レビューはそのファイルに限られます。

詳細

作者による元の説明

Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

repo: tirth8205/code-review-graph

人気

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

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

0

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

コメント

  • …

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

似ているスキル