visual-answer
ما الذي تفعله
تحوّل هذه المهارة سؤالاً محدداً عن الكود أو المنتج إلى إجابة مرئية يمكن فحصها. وهي مخصصة للأشخاص الذين يحتاجون إلى صورة أو عرض منظم بدلاً من فقرة في الدردشة.
متى تستخدمها
- ✓عندما تسأل كيف تبدو مواصفات الواجهة البرمجية أو نموذج البيانات لشيء ما.
- ✓عندما تريد أن ترى كيف يُفترض أن تبدو شاشة أو مكون وكيف يتصرف.
- ✓عندما تحتاج إلى مخطط تدفق يبيّن كيف يعمل جزء من الكود.
رابط المهارة
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/visual-answer/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أرني كيف تبدو مواصفات الواجهة البرمجية لنقطة نهاية الطلبات لدينا كصفحة مرئية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفحص الوكيل الكود المصدري الحقيقي أو روابط المستودع أولاً، ثم يبني صفحة مرئية من ما يجده، فتأتي الإجابات من الكود الفعلي لا من الذاكرة.
المحتوى التقني (ملف 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
الأسئلة الشائعة
هل يخمّن الوكيل الإجابة؟
لا. تنص المهارة على فحص الكود المصدري الحقيقي أولاً، وعدم اختراع نقاط النهاية أو الحقول أو السلوك.
ما الفرق عن عرض خطة موجودة؟
عرض خطة أو ملخص موجود يعرض عملاً سابقاً، أما هذه المهارة فتبني إجابة جديدة من الكود الحالي.
كيف تُعالج أسئلة التاريخ؟
للأسئلة عن ما تغيّر أو ما أُطلق، تنص المهارة على البحث في ملخصات طلبات السحب المدمجة أولاً.
التفاصيل
الوصف الأصلي من المؤلف
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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
design-exploration
7.6kيساعد وكيلك على استكشاف عدة اتجاهات تصميم لواجهة المستخدم جنباً إلى جنب، ثم تختار أنت واحداً، ويحسّن الوكيل التصميم المختار.
visual-edit
7.6kيساعد وكيلك على فتح تطبيق محلي يعمل في محرر مرئي، لتراجع شاشاته الحقيقية وتحررها معاً.
turn-into-app
7.6kيحوّل سير عمل أو جدول بيانات أو مشروعاً إلى تطبيق مرئي مصقول، فيه شاشات مملوءة بالبيانات ووكيل يعمل خلف أدوات التحكم.
visual-plan
7.6kيحوّل خطة نصية عادية إلى خطة مرئية تفاعلية فيها مخططات وخرائط ملفات ومقتطفات كود وأسئلة مفتوحة.
مهارات مشابهة
technical-documentation
394kيساعد وكيلك على كتابة الوثائق التقنية ومراجعتها، وملفات التعليمات الخاصة بالوكلاء، لتكون سهلة المتابعة للناس وأدوات الذكاء الاصطناعي.
architecture-decision-records
280kيساعد وكيلك على تسجيل قرارات بنية المشروع المهمة، فيفهم سبب كل اختيار ويحتفظ بتاريخ واضح للتغييرات.
code-tour
280kيتيح لوكيلك إنشاء جولات شيفرة خطوة بخطوة مع مراجع دقيقة للملفات والأسطر، ويفيد للتعريف بالمشروع والشرح والمراجعة.