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

build-graph

できること

このスキルは、code-review-graphツールを実行してコードリポジトリにインデックスを作ります。レビューや検索の前に、エージェントにコードの構造を理解させたい開発者向けです。

使う場面

  • ✓リポジトリのためにcode-review-graphを初めて設定するとき。
  • ✓ブランチを切り替えた、または大きなリファクタリングをして、グラフが古くなっているかもしれないとき。
  • ✓一連のコード変更の後に、グラフを更新したいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このリポジトリのコードレビューグラフを作ってください。すぐにレビューを速く始められるようにしたいです。”

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

仕組み

エージェントはグラフの状態を確認し、完全なビルドまたは素早い更新を実行して、処理が成功したかを報告します。

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

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

Build Graph

Build or incrementally update the knowledge graph for this repository.

Steps

  1. Call list_graph_stats_tool. If last_updated is null, the graph has never been built.
  2. For a first build, or when the argument is full, call build_or_update_graph_tool(full_rebuild=True). Otherwise call build_or_update_graph_tool() for an incremental update.
  3. Report the response: status (ok, partial or error) and summary.

When to Use

  • First set-up of a repository, or after a branch switch or large refactor.
  • When the graph looks stale. Hooks installed by code-review-graph install run an update after each edit and before each commit, so manual builds are rarely needed.

Notes

  • The database is .code-review-graph/graph.db in the repository root.
  • Binary files, dependency and build directories, and patterns in .code-review-graphignore are skipped.
  • For the list of supported languages call get_docs_section_tool(section_name="languages").
よくある質問

グラフはどこに保存されますか?

リポジトリの.code-review-graphフォルダー内のデータベースファイルに保存されるとこのスキルは説明しています。

一部のファイルは飛ばされますか?

はい。バイナリファイル、依存関係のフォルダー、無視ファイルに書かれたパターンは飛ばされます。

頻繁に実行する必要がありますか?

通常は必要ありません。フックによりグラフが自動で更新されるとこのスキルは説明しています。

詳細

作者による元の説明

Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.

repo: tirth8205/code-review-graph

人気

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

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

0

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

コメント

  • …

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

似ているスキル