visual-answer
できること
このスキルは、コードや製品に関する具体的な質問を、検査できる視覚的な回答に変えます。段落の文章ではなく、絵や構造化された表示が必要な人向けです。
使う場面
- ✓ある機能の API 仕様やデータモデルがどうなっているか知りたいとき。
- ✓画面やコンポーネントがどう見え、どう動くべきかを確認したいとき。
- ✓あるコードがどう動くかを示す、流れ図が必要なとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/visual-answer/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“注文用のエンドポイントの API 仕様を、視覚的なページで見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、まず実際のソースコードやリポジトリのリンクを確認します。見つかったものから視覚的なページを作るので、回答は記憶ではなく実際のコードベースに基づきます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Visual Answer
/visual-answer turns a specific code or product question into a published
Agent-Native Plan artifact. It is for questions that need a visual, inspectable
answer rather than a chat paragraph: API contracts, schema/data models, UI
states, component behavior, architecture flows, and code evidence.
When To Use
Use this skill when the user asks:
- "what is the API spec for this?"
- "what does this UI look like?"
- "what is the schema model for x?"
- "draw the flow for this code path"
- "show me the current shape of this component/API/data model"
For history questions about what changed or shipped, search merged PR recaps
first with search-pr-recaps, then pull a relevant hit into the conversation
with show-visual-plan (it renders that plan or recap's blocks inline). Reach
for get-visual-plan only when you need the full bundle/MDX to edit, not to
display. Use visual-answer when the current codebase, a local bridge, or
GitHub source needs to be inspected to produce a new answer.
Workflow
- Inspect the real source first. Use the host agent's repo tools, the Plan local bridge, or GitHub/source links. Do not invent endpoints, schema fields, UI states, file names, or behavior.
- Call
get-plan-blocksbefore authoring. Use the live registry, not memory. If the question asks what components are available, calllist-plan-components. - Pick the evidence blocks:
- API shape:
openapi-specplusapi-endpoint; use before/after only when comparing historical changes from recaps. - UI look:
wireframeor acolumnsbefore/after pair when comparing a recap. - Schema/data model:
data-model, optionally withdiagram. - Code evidence:
file-tree,tabs,annotated-code, anddiffwhen the answer depends on implementation details.
- API shape:
- Publish with the Plan
visual-answeraction. Include the user's question,repoPath/sourceUrlwhen known, a concise title/brief, and MDX source undermdx. - In Agent-Native chat the published answer renders inline automatically — its blocks appear in the conversation. Add a one-line summary of the evidence plus the deep link; do not paste raw MDX or block source as text. (In terminal or external MCP hosts that cannot render the blocks, return the URL.)
Terminal Handoff
When running from a terminal or coding-agent shell, write
visual-answer-source.json:
{
"question": "What is the billing API shape?",
"title": "Billing API visual answer",
"brief": "Shows the request and response contract.",
"repoPath": "owner/repo",
"sourceUrl": "https://github.com/owner/repo",
"mdx": {
"plan.mdx": "---\ntitle: Billing API visual answer\n---\n\n..."
}
}
Then publish:
agent-native plan visual-answer publish --question "What is the billing API shape?" --source visual-answer-source.json --repo owner/repo
Use --source-url for a GitHub file/PR/commit/issue URL, --prev-plan-id to
refresh an existing answer, and --visibility private for owner-only output.
The command writes visual-answer-url.txt.
Don't
- Do not use
visual-answerfor a plain implementation plan; usevisual-plan. - Do not use it for a PR diff recap; use
visual-recap. - Do not skip code inspection and infer from names alone.
- Do not publish screenshots, secrets, credential-looking values, or private source excerpts beyond what the user has asked to visualize.
Related Skills
visual-planvisual-recapdelegate-to-agentcontext-awareness
よくある質問
エージェントは答えを推測しますか?
いいえ。スキルは、まず実際のソースを確認し、エンドポイント、フィールド、動作を作り上げないよう指示しています。
既存の計画を表示することとは、どう違いますか?
既存の計画や要約は過去の作業を表示しますが、このスキルは現在のコードから新しい回答を作ります。
過去の経緯に関する質問は、どう扱いますか?
何が変わったか、何が出荷されたかについては、まず統合済みの PR の要約を検索するよう、スキルは述べています。
詳細
作者による元の説明
Answer code/product questions as visual Plan artifacts using repo, bridge, or GitHub context; use for API specs, UI look, schema models, and architecture.
repo: BuilderIO/agent-native
人気
- GitHubのスター
- 7.6k
- ランキング
- #13189
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
technical-documentation
394k明確な技術ドキュメントやエージェントの指示ファイルを書いて確認し、人やAIツールが簡単に従えるようエージェントを支援します。
architecture-decision-records
280kエージェントがプロジェクト構成に関する重要な決定を記録できるようにします。選択の理由を把握しやすくし、変更履歴を明確に残すのに役立ちます。
code-tour
280kエージェントが正確なファイル名と行番号を示しながら、コードを段階的に解説できるようにします。紹介、説明、レビューに役立ちます。