repo-architecture
できること
アーキテクチャ図と参照したファイルパスを使って、公開GitHubプロジェクトの構成を説明します。不慣れなコードベースで作業を始める開発者が、まず全体像を把握するためのものです。
使う場面
- ✓オープンソースプロジェクトがどのように構成されているか尋ねたいとき。
- ✓GitHub上の不慣れなコードベースで作業を始めるとき。
- ✓リポジトリの対話型の図を共有したいとき。
スキルのリンク
https://github.com/ahmedkhaleel2004/gitdiagram/blob/main/plugins/gitdiagram/skills/repo-architecture/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このオープンソースリポジトリはどのように構成されていますか?対話型の図と主要なフォルダーを見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、リポジトリ名を特定し、そのアーキテクチャ図を取得して、参照したコンポーネントのパスを示しながら説明文から回答します。対話型の図も案内し、確実性が重要な場合は具体的な詳細をコードで確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Explain a repository's architecture with GitDiagram
- Work out the repository as
owner/repo. Take it from a github.com URL the user gave, or, when working inside a local clone, from itsoriginremote. If the user only named a project, callfind_repository_diagramswith the name and pick the match the user means; ask if several fit. - Call
get_repository_diagramwithowner/repo. It returns GitDiagram's written explanation, the main components with the paths they live in, how they connect, Mermaid source and the interactive diagram link. In ChatGPT the diagram also appears as an interactive view. - Answer the user's actual question from that result. Name components by their labels, cite their source paths, and give the interactive diagram link so they can explore it. The diagram is AI-generated from the repository's files: when the user needs certainty about a detail, check the code at the cited path.
- If GitDiagram has no diagram yet, say so plainly and share the link from the result, which makes one on gitdiagram.com in about a minute. Don't describe an architecture you haven't read.
- If the user wants something to watch or share, call
get_explainer_videofor the repository's narrated explainer video, when one exists.
GitDiagram only covers public GitHub repositories and is read-only: it never changes anything on GitHub.
よくある質問
どのリポジトリでも図を作れますか?
公開GitHubリポジトリに限られます。新しい図の生成には約1分かかることがあります。
説明は常に正確ですか?
いいえ。図はAIが生成したものなので、参照したソースファイルで詳細を確認してください。
変更を加えますか?
いいえ。読み取り専用で、GitHub上の内容は何も変更しません。
詳細
作者による元の説明
Explain how a public GitHub repository is built using GitDiagram's architecture diagram. Use when the user asks how a GitHub repository or open-source project is structured or organized, wants an architecture or system diagram of a repo, or is starting work in an unfamiliar codebase hosted on GitHub.
人気
- GitHubのスター
- 19k
- ランキング
- #10508
- ライセンス
- MIT
- 更新日
- 2026/10/30
コメント
- …
このリポジトリの他のスキル
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。