visualize-repo
できること
このスキルは、コードのリポジトリ向けに、ローカルの視覚的なドキュメントの層を設定します。API、コンポーネント、データモデルなどのコードの一部を、ソース管理に置く視覚的なドキュメントに変えます。コードの持続的な視覚的ドキュメントがほしいチーム向けです。
使う場面
- ✓リポジトリのAPI、コンポーネント、データモデルの視覚的なドキュメントがほしいとき。
- ✓コーディングエージェントが変更する前に、チームがリポジトリのドキュメントにコメントしたいとき。
- ✓ファイルをバージョン管理に置いたままで、視覚的なリポジトリのビューアーがほしいとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/.agents/plugins/agent-native-visual-plans/skills/visualize-repo/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チームが主なAPIとコンポーネントを見て回れるように、リポジトリの視覚的なドキュメントの表示を設定してもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、リポジトリでコマンドを実行し、視覚的なドキュメントのファイルの出発点を作って、ローカルのビューアーで開きます。ソースファイルはプロジェクトに残ります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Visualize Repo
/visualize-repo opens a local, source-controlled visual documentation layer
for a repository. It is for durable repo understanding, not a one-off plan:
components can have wireframes, APIs can have specs, models can have schema
views, and reviewers can comment on those docs before sending work to a coding
agent.
Default Command
Run the Agent-Native CLI from the repo root:
npx @agent-native/core@latest visualize-repo --open
Useful variants:
npx @agent-native/core@latest visualize-repo init
npx @agent-native/core@latest visualize-repo --target actions --target server/db/schema.ts
npx @agent-native/core@latest visualize-repo check
npx @agent-native/core@latest visualize-repo verify
npx @agent-native/core@latest visualize-repo --no-open
The command writes or updates agent-native.json with an
apps.visualize-repo local-files section, creates a starter MDX folder at
.agent-native/visual-docs/repo-overview, then serves it through the Plan
local bridge. The hosted Plan UI can render the review surface, but the plan
source stays in local files and bridge comments stay in comments.json.
When There Is No Manifest
If agent-native.json does not exist, let the CLI bootstrap one. It scans for
high-value starting points such as actions/, app/components/,
app/pages/, server/db/schema.ts, src/, packages/, templates/,
docs/, and content/. Keep the first run targeted. Prefer 5-20 visualized
nodes over a generated wall of repo prose.
Use explicit targets when the user already knows the important surface:
npx @agent-native/core@latest visualize-repo \
--target actions/webhooks.ts \
--target server/db/schema.ts \
--target app/components/PromptComposer.tsx
Agent Workflow
- Inspect
agent-native.jsonand the generatedplan.mdx. - Read the source anchors listed for each target before changing the visual docs.
- Add only the visual blocks that earn their keep:
api-endpointfor stable APIs,data-modelfor durable schema,wireframefor user-facing components/flows,diagramfor architecture, andannotated-codefor load-bearing implementation. - Run
npx @agent-native/core@latest visualize-repo checkafter editing MDX. - Use
verifybefore handoff when renderer correctness matters.
When acting on comments, treat local comments.json as the feedback inbox.
Agent-targeted comments should become code changes plus matching MDX updates so
the visual docs and executable code stay in sync.
Privacy Boundary
visualize-repo check is local/offline lint. visualize-repo --open starts a
localhost bridge and opens the Plan UI against local files; it does not publish
the plan to hosted storage and performs no hosted Plan database writes.
visualize-repo verify may send the MDX folder to the Plan app's public
validation action so the real renderer schema can check it. For no hosted
content egress, pass --app-url pointing at a local Plan app or skip
verify and rely on check.
Do not call hosted Plan write tools for this workflow unless the user explicitly
asks to publish or share the docs. Avoid create-visual-plan,
update-visual-plan, import-visual-plan-source, patch-visual-plan-source,
and get-plan-feedback for local repo docs; edit the MDX files directly and
use the local bridge.
よくある質問
ドキュメントはどこに保存されますか?
リポジトリの中にローカルのMDXファイルとして保存されるので、gitで追跡できます。
レビューする人はコメントを残せますか?
はい。コメントはローカルのファイルに保存され、あとでコーディングエージェントへの変更になります。
既存の設定ファイルが必要ですか?
いいえ。マニフェストがなければ、主要なフォルダーを調べてコマンドがそれを作ります。
詳細
作者による元の説明
Open or create a repo-native visual documentation workspace backed by local Plan MDX files. Use when the user asks to visualize a repository, create durable visual docs for APIs/components/models/flows, launch a visual repo viewer, review repo docs like a visual IDE, or collect Plan comments that should become coding-agent changes.
repo: BuilderIO/agent-native
人気
- GitHubのスター
- 7.6k
- ランキング
- #13126
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。