visual-answer
What it does
This skill turns a specific question about code or a product into a visual answer that can be inspected. It is for people who need a picture or structured view instead of a chat paragraph.
When to use it
- ✓When you ask what the API spec or data model for something looks like.
- ✓When you want to see how a screen or component is supposed to look and behave.
- ✓When you need a flow diagram that shows how a piece of code works.
Skill link
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/visual-answer/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Show me what the API spec for our order endpoint looks like as a visual page.”
5 new skills a week. 1 minute to read.
How it works
The agent first inspects the real source code or repo links, then builds a visual page from what it finds, so answers come from the actual codebase rather than memory.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Does the agent guess the answer?
No. The skill says to inspect the real source first and not invent endpoints, fields, or behavior.
How is this different from showing an existing plan?
Showing an existing plan or recap displays past work, while this skill builds a new answer from the current code.
How should history questions be handled?
For questions about what changed or shipped, the skill says to search merged PR recaps first.
Details
Original description by the author
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
Popularity
- GitHub stars
- 7.6k
- Ranking position
- #13189
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
design-exploration
7.6kHelps your agent explore several UI design directions side by side, let you pick one, and then refine the chosen design.
visual-edit
7.6kHelps your agent open a running local app in a visual editor so you can review and edit its real screens together.
turn-into-app
7.6kTurns a workflow, spreadsheet or project into a polished visual app, with populated screens and an agent working behind the controls.
visual-plan
7.6kTurns a plain text plan into an interactive visual plan with diagrams, file maps, code snippets and open questions.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.