Aller au contenu
Skillpedia
Documentation7.6k · #13189

visual-answer

Ce qu’il fait

Cette compétence transforme une question précise sur du code ou un produit en réponse visuelle qu'on peut examiner. Elle s'adresse aux personnes qui ont besoin d'un schéma ou d'une vue structurée plutôt que d'un paragraphe dans une discussion.

Quand l’utiliser

  • ✓Quand vous demandez à quoi ressemble la spécification d'API ou le modèle de données de quelque chose.
  • ✓Quand vous voulez voir comment un écran ou un composant est censé apparaître et se comporter.
  • ✓Quand vous avez besoin d'un diagramme de flux qui montre comment un morceau de code fonctionne.

Lien du skill

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/visual-answer/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/visual-answer/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Montre-moi à quoi ressemble la spécification d'API de notre point d'accès des commandes, sous forme de page visuelle.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent inspecte d'abord le code source réel ou les liens du dépôt, puis construit une page visuelle à partir de ce qu'il trouve. Les réponses viennent ainsi de la base de code réelle et non de la mémoire.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

  1. 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.
  2. Call get-plan-blocks before authoring. Use the live registry, not memory. If the question asks what components are available, call list-plan-components.
  3. Pick the evidence blocks:
    • API shape: openapi-spec plus api-endpoint; use before/after only when comparing historical changes from recaps.
    • UI look: wireframe or a columns before/after pair when comparing a recap.
    • Schema/data model: data-model, optionally with diagram.
    • Code evidence: file-tree, tabs, annotated-code, and diff when the answer depends on implementation details.
  4. Publish with the Plan visual-answer action. Include the user's question, repoPath/sourceUrl when known, a concise title/brief, and MDX source under mdx.
  5. 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-answer for a plain implementation plan; use visual-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-plan
  • visual-recap
  • delegate-to-agent
  • context-awareness
Questions fréquentes

L'agent devine-t-il la réponse ?

Non. La compétence demande d'inspecter d'abord le code réel et de ne pas inventer de points d'accès, de champs ou de comportements.

En quoi est-ce différent d'afficher un plan existant ?

Afficher un plan ou un récapitulatif montre un travail passé, alors que cette compétence construit une nouvelle réponse à partir du code actuel.

Comment traiter les questions sur l'historique ?

Pour les questions sur ce qui a changé ou été livré, la compétence demande de chercher d'abord dans les récapitulatifs des demandes de fusion fusionnées.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
7.6k
Position au classement
#13189
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires