visual-answer
Skill này làm gì
Skill này biến một câu hỏi cụ thể về code hoặc sản phẩm thành một câu trả lời trực quan có thể kiểm tra. Skill dành cho người cần một hình ảnh hoặc chế độ xem có cấu trúc thay vì một đoạn chat.
Khi nào nên dùng
- ✓Khi bạn hỏi đặc tả API hoặc mô hình dữ liệu của một thứ trông như thế nào.
- ✓Khi bạn muốn xem một màn hình hoặc component được dự định trông và hoạt động ra sao.
- ✓Khi bạn cần một sơ đồ luồng cho thấy một đoạn code hoạt động thế nào.
Liên kết skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/visual-answer/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Cho tôi xem đặc tả API cho endpoint đơn hàng của chúng tôi dưới dạng một trang trực quan.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent trước hết kiểm tra code nguồn thật hoặc liên kết repo, rồi xây trang trực quan từ những gì tìm thấy, nhờ vậy câu trả lời đến từ codebase thật chứ không phải trí nhớ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Agent có đoán câu trả lời không?
Không. Skill nói phải kiểm tra code nguồn thật trước và không bịa endpoint, trường dữ liệu hay hành vi.
Khác gì với việc hiển thị một kế hoạch có sẵn?
Hiển thị một kế hoạch hoặc bản tóm tắt có sẵn là hiển thị công việc đã làm, còn skill này xây một câu trả lời mới từ code hiện tại.
Câu hỏi về lịch sử được xử lý thế nào?
Với câu hỏi về những gì đã thay đổi hoặc đã phát hành, skill nói nên tìm trong các bản tóm tắt PR đã merge trước.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13189
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
design-exploration
7.6kGiúp agent của bạn khám phá nhiều hướng thiết kế giao diện song song, để bạn chọn một hướng rồi tinh chỉnh thiết kế đã chọn.
visual-edit
7.6kGiúp agent của bạn mở một ứng dụng cục bộ đang chạy trong trình chỉnh sửa trực quan, để bạn xem và sửa các màn hình thật cùng nhau.
turn-into-app
7.6kBiến quy trình, bảng tính hoặc dự án thành ứng dụng trực quan có màn hình đầy đủ dữ liệu, với agent làm việc phía sau các điều khiển.
visual-plan
7.6kBiến một kế hoạch viết bằng văn bản thuần thành kế hoạch trực quan tương tác, có sơ đồ, bản đồ file, đoạn code và các câu hỏi còn mở.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.