Aller au contenu
Skillpedia
Images et icônes76k · #2611

blueprint-figure

Ce qu’il fait

Cette compétence dessine une figure SVG statique qui explique un seul mécanisme d'un système. Elle s'adresse aux rédacteurs et aux enseignants qui veulent un schéma propre dans un style cohérent pour leurs cours et manuels.

Quand l’utiliser

  • ✓Quand un cours, un README ou un manuel a besoin d'une image montrant comment les parties d'un système communiquent ou changent d'état.
  • ✓Quand vous avez un journal, une spécification ou du code source avec les vrais noms des parties à montrer.
  • ✓Quand une idée correspond à une séquence, une machine à états ou un flux de données qu'un schéma peut montrer clairement.

Lien du skill

https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/blueprint-figure/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/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/blueprint-figure/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

“Dessine une figure pour ce cours qui montre comment une requête passe du client au cache, puis à la base de données.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent formule une affirmation claire pour la figure, choisit un type de schéma adapté et utilise les vrais noms de la source. Il dessine ensuite un SVG sur un panneau clair aux couleurs fixes et vérifie que les étiquettes sont lisibles.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Blueprint Figure

This skill draws one static SVG figure that explains one mechanism of a real system. The figure uses the real names from the system: ids, field names, method names, status codes and sequence numbers. It sits on a light paper panel and uses a small set of hues with fixed meanings. It stays readable at 640 units wide on screen and in print. Claude, Cursor, Codex, OpenClaw, Hermes, or any agent that reads SKILL.md can use it. The sibling skill course-style holds the full course tokens. This skill copies the tokens it needs, so it works alone.

When to use

  • A lesson, README or manual needs a picture of how parts of a system talk, store data, or change state.
  • You have a capture, a log, a spec or source code that gives the real names.
  • The claim fits one of the nine kinds below.

When not to use

  • The figure must move or respond to a slider. Use the sibling skill motion-figure.
  • The subject is a physical machine explainer with depth and controls. Use the sibling skill isometric-explainer.
  • The data is a chart of numbers over many points. Use a chart tool.
  • You do not have real names for the parts. Get a capture or a source first.

Method

  1. Write the claim first. One sentence, at most 28 words, that the figure proves.
  2. Pick one kind from the table below. If two kinds fit, draw two figures.
  3. Collect the real names from the source: parties, fields, methods, codes, sequence numbers.
  4. Write the hue table for the figure set before you draw (see "Colour").
  5. Sketch the layout on the 640-unit grid. Keep content between x 20 and x 620.
  6. Draw the figure with a script. Start from templates/figure.mjs. Do not edit the SVG by hand.
  7. Run the script. It stops on a label that is too small, too wide, or outside the figure.
  8. Run the checks in references/checks.md. Fix every finding.
  9. Render the SVG to PNG and look at it at 100% and at 50% width.
  10. Write the caption: the bold claim, how to read the figure, then the source.

The nine kinds

Kind Use it for
sequence parties on lifelines, time running down, numbered exchanges
structure the anatomy of one record, object, or schema
flow stages that data passes through, with who writes and who reads
comparison two answers to one question, side by side
timeline tracks over a numbered axis such as commit sequence or time
tree ownership, containment, or delegation
state a state machine with its transitions
decision where something fails and what each outcome means
layers a stack of layers with the parts each one owns

Layout numbers for each kind are in references/kinds.md.

What a figure shows

  • Show the real system with real names. Never draw generic boxes such as "Component A".
  • Never draw stat cards, progress bars, or decorative icons.
  • Make one claim per figure.
  • Compare two behaviours of the subject. Never compare with an earlier build of your own project.
  • Number the exchanges in a sequence in the order they happen in the capture.

Colour

Ten hues: grey, blue, teal, violet, green, amber, plum, olive, indigo, rose. Each hue has an ink and a fill token. A hue means the same thing in every figure of one set.

Four meanings are fixed:

Hue Fixed meaning
rose failure: errors, crashes, aborts, lost work
grey outside the subject: the host, the operator, out of scope
amber lifecycle: tasks, phases, state machines
teal durable state: storage and committed records

Assign the other six hues once per set and write the table in the page or the manual front matter.

Write every colour as var(--m-<token>, <light hex>), for example var(--m-rose-ink, #b0344d). The host page supplies dark values. A README shows the light hex. All light and dark values are in references/grammar.md.

Arrows

Style Means
solid ink a call or request
dashed ink a reply
solid teal a durable write
dashed amber a state change
solid plum a model call or compute
dashed olive an effect outside the system
dotted indigo a stream or an event
dashed rose a failure
  • Line width is 1.2. Dashed is 5 4. Dotted is 1.5 3.5 with round caps.
  • Use one arrowhead marker per hue, with the id <figure-id>-head-<hue>.
  • End each arrow 1 unit before the target border.
  • Figure 0.1, the first figure of a set, shows each arrow style that the se
Questions fréquentes

Quels types de figures dessine-t-elle ?

Elle dessine l'un de neuf types de figures statiques, comme les séquences, les machines à états et les flux de données.

La figure fonctionne-t-elle à l'impression et à l'écran ?

Oui. Elle est conçue pour rester lisible à environ 640 unités de large, à l'écran comme à l'impression.

Peut-elle dessiner des schémas animés ?

Non. Les figures animées ou interactives sont traitées par une autre compétence.

Détails

Description originale de l’auteur

Draws static SVG figures for lessons, READMEs and manuals in the AI Engineering from Scratch look: paper panel, blueprint accent, nine figure kinds, fixed hue meanings, eight arrow styles, and checks for legibility and markup. Trigger phrases: "draw a figure", "blueprint figure", "sequence figure", "state machine figure", "figure for this lesson", "add a diagram to the manual".

repo: rohitg00/ai-engineering-from-scratch

Popularité

Étoiles GitHub
76k
Position au classement
#2611
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