Diagrammes techniques pour Stacks

VérifiéPrudence

Créez des diagrammes techniques professionnels en HTML autonome avec SVG intégré, thème sombre/clair et export PNG, JPEG, WebP, SVG.

Spar Skills Guide Bot
DeveloppementIntermédiaire
23/07/2026
Claude Code
#architecture-diagrams#technical-documentation#svg#stacks-framework#dependency-free

Recommandé pour

Synthèse automatique

Génère des diagrammes techniques autonomes en HTML/SVG (architecture, workflows, séquences, flux de données, cycles de vie) pour les applications Stacks, avec thèmes clair/sombre et export d’images.

Points forts

  • Inspecte le code Stacks (routes, actions, modèles, jobs) pour ancrer le diagramme dans l’implémentation réelle.
  • Produit un fichier HTML autonome avec SVG inline, bascule de thème persistante et export PNG/JPEG/WebP/SVG.
  • Couvre plusieurs vues : architecture, workflow, séquence, flux de données et machine à états.
  • Fonctionne sans dépendances réseau et prévoit un repli manuel si Bun n’est pas disponible.

Limites

  • Fortement orienté dépôt Stacks ; les conventions et chemins ne s’appliquent pas directement à d’autres bases de code.
  • Le rendu fiable et les validateurs reposent sur Bun ; sans Bun, il faut placer le SVG à la main.
  • Chaque diagramme doit répondre à une seule question, ce qui limite les vues exhaustives.
Quand l'utiliser

Pour documenter l’architecture, les flux ou les cycles de vie d’une application Stacks à partir de son code.

Quand l'éviter

Pour un projet non-Stacks ou lorsqu’il faut un format de diagramme natif et éditable comme draw.io ou Mermaid.

Analyse de sécurité

Prudence
Score qualité88/100

The skill is a legitimate, self-contained diagram renderer: it runs bundled local Bun/Node-compatible scripts, reads project source to model architecture, and writes standalone HTML files with inline SVG. There is no curl|sh, no rm -rf, no base64 payload, no secret/token transmission, and no attempt to disable safety controls or alter the auditor's role. The only risk is the ordinary execution and file-read surface of running local tooling and inspecting a codebase, so it rates caution rather than safe or risky.

Points d'attention
  • •Instructs the agent to execute local Bun scripts (bin/technical-diagrams.mjs doctor/demo/render/validate/inspect/check), giving the skill a code-execution surface, though the scripts are bundled and self-contained.
  • •Instructs the agent to read and traverse project source (app/, storage/framework/defaults/app/, routes, actions, jobs, models, config, resources) to derive diagrams, i.e. broad read access to the repository.
  • •Generated HTML embeds JavaScript that uses localStorage for theme persistence and navigator.clipboard for image export; benign browser APIs, but the output artifact contains executable script and writes user-chosen file paths.
  • •No network access, no dependency installation, no credential or secret handling, and no destructive, obfuscated, or exfiltrating instructions were found; the 'dependency-free contract' explicitly forbids fetching runtime assets.
  • •Instructs the agent to execute a bundled JavaScript entrypoint via Bun (doctor, demo, render, validate, check) and write output files, which is legitimate local code execution but still requires host command-execution permission.
  • •Commands use `--no-env-file` and avoid network installs/fetches, reducing exposure of environment variables and supply-chain risk.
  • •No declared allowed-tools; execution boundaries must be enforced by the host. No destructive, obfuscated, or exfiltration behavior found.
Comment cette analyse est faite

Exemples

Runtime request flow
Inspect this Stacks app and create a runtime request-flow diagram from the browser through stx/router, the relevant action, model/query, and database. Save it to docs/diagrams/request-flow.html and keep the source JSON beside it.
CI/CD workflow
Create a CI/CD workflow diagram for this Stacks application's deployment pipeline, showing approval gates, jobs, and external services. Write the diagram to docs/diagrams/deployment-pipeline.html.
Convert Mermaid
Convert the Mermaid sequence diagram in docs/checkout-sequence.mmd into a polished standalone Stacks technical diagram with a theme toggle and export menu, written to docs/diagrams/checkout-sequence.html.

name: stacks-technical-diagrams description: Create polished, dependency-free architecture, workflow, sequence, data-flow, and lifecycle diagrams for Stacks applications as standalone HTML with inline SVG, dark/light themes, and PNG, JPEG, WebP, and SVG export. Use for system or cloud architecture, security boundaries, network topology, technical workflows, CI/CD, runbooks, API call sequences, request lifecycles, data pipelines, lineage, PII boundaries, state machines, status transitions, or converting Mermaid into a purpose-built diagram. license: MIT metadata: source: tt-a1i/archify source_version: "2.10.0" source_commit: 73f769d2e97c7fb54b74bebb276c1987db278c3f based_on: Cocoon-AI/architecture-diagram-generator (MIT, v1.0)

Technical Diagrams for Stacks

Create professional technical diagrams as self-contained HTML files with inline SVG, a theme toggle, and a built-in image/SVG export menu.

Every diagram ships with a dark/light theme toggle (persists in localStorage, respects prefers-color-scheme), an export menu (copy PNG to clipboard; download PNG/JPEG/WebP rasterized natively at up to 4× resolution; download a dual-theme SVG that follows the embedding host's prefers-color-scheme - ideal for GitHub READMEs), and a CSS-variable color system that keeps both themes consistent.

Attribution

This skill ports the renderer and visual system from Archify 2.10.0 by tt-a1i under the MIT license. Archify is itself a fork and rewrite of Cocoon AI's architecture-diagram-generator 1.0. Preserve LICENSE when redistributing this skill or substantial portions of its source.

Dependency-free contract

Do not install packages or fetch runtime assets. Use Bun and the bundled source only. Standalone validators for all five JSON schemas are checked in, the renderer uses Bun's built-in Node compatibility modules, and generated HTML uses system font fallbacks with no network requests.

Run bun --config=.claude/skills/stacks-technical-diagrams/bunfig.toml --no-env-file .claude/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs doctor from the Stacks project root to verify the skill. Run bun --config=.claude/skills/stacks-technical-diagrams/bunfig.toml --no-env-file .claude/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs demo [output-directory] to generate a ready-to-open example before creating the first custom diagram.

Stacks repository workflow

  1. Inspect the implementation before drawing. Treat app/ as overrides and storage/framework/defaults/app/ as fallbacks. Follow registrations in app/Routes.ts, route files, actions, jobs, listeners, middleware, models, config, resources, and framework entry points that matter to the requested view.
  2. Read the relevant Stacks domain skill before mapping an unfamiliar subsystem. Common companions include stacks-router, stacks-actions, stacks-models, stacks-database, stacks-jobs, stacks-events, stacks-realtime, and stacks-cloud.
  3. Draw one question per diagram. For a runtime overview, prefer browser or client -> stx/router -> action or service -> model/query -> database, then add only the external systems and trust boundaries needed for that story.
  4. Write output to the user's requested path. When no path is given, use docs/diagrams/<descriptive-name>.html and keep the source JSON beside it.

If Bun cannot run, fall back to architecture mode: copy assets/template.html, hand-place SVG using the design system below, and run the self-review checklist before delivering.

Choosing a Diagram Type

| Type | Use for | How | |------|---------|-----| | architecture | System components, cloud resources, services, security boundaries, infrastructure | renderers/architecture/render-architecture.mjs + JSON (or hand-place SVG when renderers can't run) | | workflow | Technical flows, approval gates, tool calls, runbooks, CI/CD, incident response | renderers/workflow/render-workflow.mjs + JSON | | sequence | API call chains, request lifecycles, cache fallback, async traces, return paths | renderers/sequence/render-sequence.mjs + JSON | | dataflow | Pipelines, ETL/ELT, PII isolation, lineage, warehouse sync, consumers | renderers/dataflow/render-dataflow.mjs + JSON | | lifecycle | State machines, status transitions, wait states, retries, terminal states | renderers/lifecycle/render-lifecycle.mjs + JSON |

Trigger phrases: "architecture/system/cloud diagram" → architecture (unless clearly process-oriented). "workflow/flow/process/runbook/approval/CI-CD/incident" → workflow. "sequence/interaction/call chain/who calls whom" → sequence. "data flow/pipeline/ETL/lineage/PII/governance" → dataflow. "state/status/lifecycle/state machine/retry/terminal" → lifecycle.

Mermaid as an Input Dialect

When the user pastes Mermaid code, do NOT try to render or parse it mechanically. Read it for structure and lay out from scratch in the matching diagram mode:

| Mermaid | Diagram mode | Mapping | |---------|--------------|---------| | flowchart / graph | workflow (or architecture if it's a component map) | subgraph → lane or region boundary; node shape {} (diamond) → decision/security node; --> labels → edge labels (use sparingly); classDef/style → nearest semantic type | | sequenceDiagram | sequence | participant → participants (pick semantic type from the name); ->> → message, -->> → return variant; Note → message note; rect blocks → segments | | stateDiagram | lifecycle | states → states (pick start/active/waiting/success/failure from names); [*] start/end → start type / terminal lane; transition labels → event-like labels |

Drop Mermaid styling; keep only the topology and meaning. You choose grouping, lane order, and what deserves emphasis - that judgment is the product.

Layout principles (read before placing)

The renderer's readability comes from spatial narrative, not from drawing every dependency as an arrow. Before you write coordinates or edge lists, plan one clear story:

  1. One main path - left → right (architecture) or lane → column (workflow). The reader should trace the happy path without crossing lines.
  2. Few labeled edges - label only cross-boundary or non-obvious transitions on the main path. Adjacent steps stay unlabeled.
  3. Short side branches - permissions, storage, bots, CI: connect up or down from the nearest node on the main path. Never route a secondary edge diagonally across unrelated components.
  4. Cards for detail - policies, tech stack notes, and "also connects to X" belong in summary cards, not as extra arrows.
  5. Mode fit - process / approval / tool-call stories → workflow or sequence. Component maps with ≤12 nodes → architecture. If the diagram needs 20+ edges, remove edges until the main path is obvious.

Use the complete examples in examples/ as the starting point for each renderer mode.

When validation fails on label overlap, read the Suggested fix lines (coordinates / labelAt / labelDy) and apply them directly - do not guess offsets blindly.

Renderer Modes (architecture / workflow / sequence / dataflow / lifecycle)

All five modes follow the same loop:

  1. Read first: the schema (schemas/<type>.schema.json) and the complete worked example (examples/*.{architecture,workflow,sequence,dataflow,lifecycle}.json) - copy its patterns instead of guessing field shapes.
  2. Write <name>.<type>.json.
  3. Render: bun --config=.claude/skills/stacks-technical-diagrams/bunfig.toml --no-env-file .claude/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs render <type> <input>.json <output>.html.
  4. Validate the generated artifact: bun --config=.claude/skills/stacks-technical-diagrams/bunfig.toml --no-env-file .claude/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs validate <type> <input>.json --json, or check an existing HTML file with bun --config=.claude/skills/stacks-technical-diagrams/bunfig.toml --no-env-file .claude/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs check <output>.html. This catches malformed SVG output, non-finite SVG values, two-point diagonal arrows, and arrows crossing the legend.
  5. If either step fails, the error names the JSON path or the fix (thresholds, valid ranges, which knob to change). Fix the JSON and re-run; never edit the renderer.

Schema violations exit non-zero with path-prefixed messages like /nodes/3 (id/label: "router") must NOT have additional properties. The renderers additionally fail fast on layout problems: node/state overlap (including cross-lane), labels colliding with nodes or other labels, labels wider than their node, out-of-range columns/rows, too-short edges, workflow edges crossing unrelated nodes, and legends outside the viewBox. CJK text is measured at double width automatically.

Set meta.animation: "trace" only when the user asks for motion or a presentation/demo view. It adds lightweight SVG/CSS trace animation to renderer-marked arrows and nodes, respects prefers-reduced-motion, and leaves the default static output unchanged.

Workflow

{
  "schema_version": 1,
  "diagram_type": "workflow",
  "meta": { "title": "Release Workflow", "subtitle": "PR to production", "output": "release.html" },
  "lanes": [ { "id": "dev", "label": "Developer" }, { "id": "ci", "label": "CI" }, { "id": "exceptions", "label": "Exception Handling", "variant": "exception" } ],
  "phases": [ { "id": "intake", "label": "Intake", "fromCol": 0, "toCol": 1 } ],
  "groups": [ { "id": "checks", "label": "Parallel checks", "lane": "ci", "fromCol": 1, "toCol": 3, "variant": "emphasis" } ],
  "mainPath": ["pr", "build"],
  "nodes": [
    { "id": "pr", "lane": "dev", "col": 0, "type": "frontend", "label": "Open PR", "sublabel": "feature branch" },
    { "id": "build", "lane": "ci", "col": 1, "type": "backend", "label": "Build", "sublabel": "lint + test", "tag": "blocking" }
  ],
  "edges": [
    { "from": "pr", "to": "build", "label": "webhook", "variant": "emphasis", "fromSide": "bottom", "toSide": "top", "route": "drop" }
  ],
  "cards": []
}

Layout budget: 6 columns (col 0-5) at fixed x positions [88, 220, 300, 430, 500, 625] - columns 1↔2 and 3↔4 are only 70-80px apart, so default-width (92px) nodes in those adjacent columns of the same lane overlap; skip a column or shrink width. Lane content width is 640px. Omit meta.viewBox - the renderer sizes height to the lane count automatically. Use phases for top-of-diagram story beats, groups to frame parallel work or a branch inside one lane, and lane.variant: "exception" for error/retry/fallback lanes. mainPath is optional but recommended: list the happy-path node ids in order so the renderer can catch missing edges or accidental backward movement. Edge routes: straight, drop (bend between lanes; bias 0-1 picks where), outside-right, return-left, bottom-channel, up-channel, or explicit via points. Keep adjacent-step edges unlabeled; reserve labels for cross-lane transitions, approvals, async traces, and returns.

Sequence

{
  "schema_version": 1,
  "diagram_type": "sequence",
  "meta": { "title": "Cache Miss Request", "subtitle": "auth and cache fallback", "output": "cache-miss.html" },
  "participants": [
    { "id": "web", "type": "frontend", "label": "Web App", "sublabel": "React UI" },
    { "id": "api", "type": "backend", "label": "API", "sublabel": "handler" }
  ],
  "segments": [ { "from": 160, "to": 320, "label": "01 / AUTH" } ],
  "messages": [
    { "from": "web", "to": "api", "y": 200, "label": "GET /data", "variant": "emphasis" },
    { "from": "api", "to": "web", "y": 290, "label": "200 JSON", "variant": "return" }
  ],
  "activations": [ { "participant": "api", "from": 190, "to": 300, "type": "backend" } ],
  "cards": []
}

Layout budget: participants sit at x = 62 + index×108, so a 920-wide viewBox fits at most 8. Message y must stay within [160, viewBox_height − 83]; messages that share horizontal space need ≥28px vertical separation; arrows need ≥60px horizontal span. segments[].from/to and activations[].from/to are y pixel coordinates, not participant ids. A taller meta.viewBox (default [920, 760]) buys more timeline room. Keep labels short: "GET /path", "verify JWT", "cache miss", "200 JSON".

Dataflow

{
  "schema_version": 1,
  "diagram_type": "dataflow",
  "meta": { "title": "Product Analytics", "subtitle": "events to consumers", "output": "analytics.html" },
  "stages": [ { "label": "Sources" }, { "label": "Ingest" }, { "label": "Store" } ],
  "nodes": [
    { "id": "web", "type": "frontend", "label": "Web App", "stage": 0, "row": 0, "sublabel": "clickstream" },
    { "id": "kafka", "type": "messagebus", "label": "Kafka", "stage": 1, "row": 0, "tag": "accepted events" }
  ],
  "flows": [
    { "from": "web", "to": "kafka", "label": "events", "classification": "PII touch", "variant": "emphasis" }
  ],
  "cards": []
}

Layout budget: 2-5 stages at x = 100 + stage×215; 5 rows (row 0-4) at y [128, 242, 356, 470, 584]; default node 112×58. Default viewBox [940, 720]. Flow labels are mandatory and asset-like ("clickstream", "identity map", "feature vectors"); put sensitivity in classification ("PII touch", "approved only", "non-PII"). Variants: emphasis = primary path, security = PII/policy/consent, dashed = async/batch.

Lifecycle

{
  "schema_version": 1,
  "diagram_type": "lifecycle",
  "meta": { "title": "Agent Run Lifecycle", "subtitle": "states and terminal outcomes", "output": "agent-run.html" },
  "lanes": [
    { "id": "main", "label": "Lifecycle phases" },
    { "id": "waiting", "label": "Interruptions" },
    { "id": "terminal", "label": "Terminal exits" }
  ],
  "states": [
    { "id": "queued", "type": "start", "label": "Queued", "lane": "main", "col": 0, "step": "01" },
    { "id": "running", "type": "active", "label": "Executing", "lane": "main", "col": 2, "step": "02" },
    { "id": "approval", "type": "waiting", "label": "Needs Approval", "lane": "waiting", "col": 0 },
    { "id": "done", "type": "success", "label": "Completed", "lane": "terminal", "col": 2 }
  ],
  "transitions": [
    { "from": "queued", "to": "running", "variant": "emphasis" },
    { "from": "running", "to": "approval", "label": "needs approval", "variant": "security", "fromSide": "bottom", "toSide": "right" },
    { "from": "running", "to": "done", "label": "success", "variant": "emphasis", "fromSide": "bottom", "toSide": "top" }
  ],
  "cards": []
}

Layout budget - lane ids are semantic and reserved: main is required and maps to the top phase band (cols 0-4); terminal maps to the bottom outcome band (cols 0-2); every other lane id shares the single middle event band (cols 0-2) - separate same-band states with different col or yOffset. Band headers render from your lane labels. Default viewBox [980, 660]. Keep transition labels event-like and sparse ("retry", "timeout", "cancel"); prefer state tags, step numbers, and summary cards over label-heavy arrows. Put terminal states in the terminal lane so endings are unambiguous.

Per-mode deep guidance

Each renderer has a README with its full design language (route presets, semantic types, story guidance): renderers/workflow/README.md, renderers/sequence/README.md, renderers/dataflow/README.md, renderers/lifecycle/README.md. Read the matching one before your first diagram of that mode in a session.

Architecture Mode

Architecture has the same read-schema-then-render loop as the other modes - prefer it. Hand-placed SVG is the fallback for when renderers can't run.

{
  "schema_version": 1,
  "diagram_type": "architecture",
  "meta": { "title": "Sample Web App", "subtitle": "3-tier SaaS on AWS", "output": "web-app.html" },
  "components": [
    { "id": "users", "type": "external", "label": "Users", "sublabel": "Browser", "pos": [40, 300] },
    { "id": "api", "type": "backend", "label": "API Server", "sublabel": "FastAPI :8000", "pos": [460, 300] },
    { "id": "db", "type": "database", "label": "PostgreSQL", "sublabel": ":5432", "pos": [680, 300] }
  ],
  "boundaries": [
    { "kind": "region", "label": "AWS us-west-2", "wraps": ["api", "db"] }
  ],
  "connections": [
    { "from": "users", "to": "api", "label": "HTTPS", "variant": "emphasis" },
    { "from": "api", "to": "db", "label": "SQL" }
  ],
  "cards": []
}

Render: bun --config=.claude/skills/stacks-technical-diagrams/bunfig.toml --no-env-file .claude/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs render architecture <input>.json <output>.html.

Free placement - pos: [x, y] is the component's top-left; size: [w, h] defaults to [120, 60]. Unlike typed modes there is no lane/stage grid - asymmetric placement is yours to choose. meta.viewBox is optional (auto-fitted).

Grid placement (#8) - when manual coordinates are painful, set semantic cells instead of doing arithmetic:

{
  "layout": { "mode": "grid", "cols": 7, "origin": [40, 100], "gapX": 24, "gapY": 48, "cellW": 120, "cellH": 60 },
  "components": [
    { "id": "agents", "type": "frontend", "label": "Agent Hosts", "row": 1, "col": 1 },
    { "id": "ir", "type": "messagebus", "label": "JSON IR", "row": 1, "col": 2 }
  ]
}

pos still wins when present and overrides one cell. This is not auto-layout. Spacing is fixed cell math.

Inspect layout (#9) - after editing JSON, dump computed boxes without opening HTML:

bun --config=.claude/skills/stacks-technical-diagrams/bunfig.toml --no-env-file .claude/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs inspect architecture my.architecture.json
# or: bun --config=.claude/skills/stacks-technical-diagrams/bunfig.toml --no-env-file .claude/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs validate architecture my.architecture.json --layout-json

Output includes component rects, boundaries, connection point paths, and label positions.

The renderer does the mechanical work that used to be hand-tuned, so you only choose coordinates and meaning:

  • Free coordinates - pos: [x, y] is the component's top-left; size: [w, h] defaults to [120, 60]. Unlike the typed modes there is no lane/stage grid - asymmetric placement is yours to choose. meta.viewBox is optional (auto-fitted to your components + a legend row).
  • Grid placement - optional layout.mode: "grid" with row/col per component (see above). Not dagre; fixed cell spacing only.
  • Boundaries from wraps - list the component ids a region (dashed amber) or security-group (dashed rose) encloses; the renderer computes the box with correct 30/50 padding automatically. Never hand-arithmetic a boundary again.
  • Connections route like edges (variant, fromSide/toSide, route: straight|orthogonal-h|orthogonal-v|auto, via, labelDx/labelDy/labelAt). For a vertical labeled connection, push the label into the gap with labelDy (the validator will tell you if it lands on a box).
  • The renderer auto-emits the two-rect c-mask pattern, draws arrows before boxes (z-order), builds the legend from the component types you used, and fails fast on component overlap, off-canvas components/boundaries, unknown wraps/connection ids, label-vs-component collisions, and non-finite coordinates - the same reliability the other four modes already had.

Hand-placed fallback (no renderer available)

When Bun cannot run, copy assets/template.html and place SVG by hand. Study the worked diagram inside the template for coordinate idioms, follow the design system below, and run the self-review checklist before delivering.

The Cardinal Rule: CSS classes, not inline colors

The theme toggle works by switching CSS custom properties. Hardcoded fill="rgba(...)" or stroke="#22d3ee" will NOT update on theme change. Always use the class system:

<rect x="X" y="Y" width="W" height="H" rx="6" class="c-mask"/>
<rect x="X" y="Y" width="W" height="H" rx="6" class="c-backend" stroke-width="1.5"/>
<text x="CX" y="CY" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API Server</text>
<text x="CX" y="CY+16" class="t-muted" font-size="9" text-anchor="middle">FastAPI :8000</text>

Design system

Component fills c-frontend (clients/UI), c-backend (services/APIs), c-database (stores/caches), c-cloud (managed infra), c-security (auth/secrets), c-messagebus (Kafka/queues), c-external (3rd parties); text accents t-<same> plus neutrals t-primary / t-muted / t-dim. Arrows a-default, a-emphasis (hot path), a-security (dashed), a-dashed (async) - always set stroke-width and pair marker-end="url(#arrowhead[-variant])" with the matching class. Boundaries: c-security-group (dashed rose), c-region (dashed amber), c-lane (swimlane).

Typography inherits JetBrains Mono from the SVG root. Sizes: 11-12px component names, 9px sublabels, 8px annotations, 7px tiny labels.

Hard layout rules

  • Two-rect pattern everywhere: opaque c-mask rect first, styled c-<type> rect on top - semi-transparent fills otherwise let arrows bleed through.
  • Arrows before components in document order (SVG paints in order; arrows must sit behind boxes).
  • Vertical stacking: ≥40px gap between components; inline connectors (message buses, 20px tall) live inside the gap, never overlapping boxes.
  • Boundary padding: boundary y = inner y − 30, boundary height = inner height + 50, label baseline 18px below the boundary top.
  • Legend placement: outside ALL boundary boxes, ≥20px below the lowest one; grow the viewBox if needed.

Self-review checklist (run before delivering)

  1. grep -E 'fill="(#|rgb)|stroke="(#|rgb)' out.html inside the SVG returns nothing except the template's own defs (Cardinal Rule).
  2. Every c-<type> rect has an identical-geometry c-mask rect immediately before it.
  3. All <line>/<path> arrows appear before all component rects in document order.
  4. Compute max(y + height) over all SVG elements: viewBox height must exceed it by ≥20px; same for x/width.
  5. Legend y is below every boundary's y + height.
  6. The .toolbar, <script> blocks, and :root / [data-theme] CSS are untouched - they ARE the theme toggle and export menu.

Output

A single self-contained .html: embedded CSS with local system font fallbacks, inline SVG, and embedded theme and export JavaScript. It renders directly in any modern browser without network access. Raster exports render natively at up to 4× the viewBox, with large diagrams stepping down to stay within canvas limits. SVG downloads are dual-theme, self-contained, and follow the host's prefers-color-scheme with an optional svg[data-theme="..."] override.

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/technical-diagrams-for-stacks-mrx3xwc2/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/technical-diagrams-for-stacks-mrx3xwc2' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/technical-diagrams-for-stacks-mrx3xwc2/download' --output '.skill-downloads/technical-diagrams-for-stacks-mrx3xwc2/SKILL.md.part' && mv '.skill-downloads/technical-diagrams-for-stacks-mrx3xwc2/SKILL.md.part' '.skill-downloads/technical-diagrams-for-stacks-mrx3xwc2/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/technical-diagrams-for-stacks-mrx3xwc2/SKILL.md' && test -s '.skill-downloads/technical-diagrams-for-stacks-mrx3xwc2/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/stacks-technical-diagrams' && cp -R '.skill-downloads/technical-diagrams-for-stacks-mrx3xwc2' '.claude/skills/stacks-technical-diagrams'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/technical-diagrams-for-stacks-mrx3xwc2'

openskills read 'technical-diagrams-for-stacks-mrx3xwc2'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/technical-diagrams-for-stacks-mrx3xwc2/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires