Aller au contenu
Skillpedia
Images et icônes12k · #11491

fireworks-tech-graph

Ce qu’il fait

Elle crée des schémas techniques SVG précis, les exporte en PNG ou en HTML hors ligne, et transforme les schémas compatibles en GIF animés. Elle s'adresse aux ingénieurs et rédacteurs qui ont besoin de schémas clairs.

Quand l’utiliser

  • ✓Quand vous voulez qu'un schéma d'architecture, de flux de travail ou cloud soit dessiné pour un document.
  • ✓Quand vous avez besoin d'un schéma UML ou d'agent exporté sous forme de fichier image.
  • ✓Quand vous voulez un schéma technique dans une page HTML autonome qui fonctionne hors ligne.

Lien du skill

https://github.com/yizhiyanhua-ai/fireworks-tech-graph/blob/main/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/yizhiyanhua-ai/fireworks-tech-graph/blob/main/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

“Pouvez-vous dessiner un schéma d'architecture montrant mon application web, ma base de données et ma file de messages, en PNG ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA choisit un style de schéma, écrit le SVG avec vos libellés et vos liaisons, le vérifie, puis l'exporte dans le format demandé.

Contenu technique (SKILL.md original)

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

Fireworks Tech Graph

One portable Agent Skill for Codex and Claude Code. SVG is the canonical artifact; PNG, offline HTML and supported GIF motion are output routes. Preserve requested labels, topology and meaning; a successful command is not a visual quality verdict.

Locate and select

Resolve the directory containing this file as SKILL_ROOT. Use ${CLAUDE_SKILL_DIR} in Claude Code or the absolute directory in Codex's loaded skill metadata. Do not assume cwd or a previous shell variable persists.

Use the installed version for the task. Run version for source/version questions and doctor when diagnosing a missing renderer, font or dependency; do not make installation, updates or a complete test suite prerequisites for every diagram.

SKILL_ROOT="${CLAUDE_SKILL_DIR:-/absolute/path/from-codex-skill-metadata}"
python3 "$SKILL_ROOT/scripts/fireworks.py" version
  • Honor the user's diagram type, content and style; choose sensible reversible details from the brief. Ask only for a material missing engineering fact or a choice the user explicitly reserved. A request to draw includes local rendering.
  • Styles 1–7 and 9–12 have JSON generators. Style 8 (Dark Luxury) remains AI-authored SVG: use its style reference, then the same validation/export gates.
  • Default to Style 1 Flat Icon when no user/workspace preference applies. Load the actual matching file from the style matrix. Read other styles only for a requested comparison.
  • Styles 9–12 default to C4, cloud, event and observability semantic contracts. Validate facts before layout; do not invent responsibilities, protocols or metrics.
  • Adapt an existing valid SVG directly when appropriate. JSON generation is not required for every edit. Use diagram/layout guidance and icons only for the relevant type or symbols.

Generate and check

Reuse the user's current brief and artifact; an extra planning document is optional. For JSON work, select text_policy: "strict" when all labels must be visible exactly. The compatible report default preserves full labels in SVG metadata and reports any visible truncation. Resolve that warning before claiming complete exact text. For polished work apply the composition contract.

SKILL_ROOT="${CLAUDE_SKILL_DIR:-/absolute/path/from-codex-skill-metadata}"
python3 "$SKILL_ROOT/scripts/fireworks.py" validate architecture input.json
python3 "$SKILL_ROOT/scripts/fireworks.py" render architecture input.json diagram.svg --report layout.json
python3 "$SKILL_ROOT/scripts/fireworks.py" check diagram.svg
python3 "$SKILL_ROOT/scripts/fireworks.py" export-png diagram.svg diagram.png --width 1920

check validates SVG identity, marker references, generic collisions, semantic geometry and composition. Inspect the report's typography and palette scope; heuristic text widths do not replace inspecting the actual rendered font. Use visual quality guidance for readability and style-specific refinements. Keep one semantic connector per business edge.

Additional outputs

  • PNG: prefer export-png, which reads root canvas dimensions, limits output size, writes atomically and reads the PNG dimensions back. Alternate renderer details are in PNG export.
  • HTML: fireworks.py export-html diagram.svg diagram.html. One sanitized offline file provides pan/zoom, source copy and static image downloads.
  • GIF: “Generate a GIF”, “Animate this diagram”, “生成 GIF”, “制作 GIF” and “让这张图动起来” select the existing semantic SVG's motion route. Styles 1–12 are enabled for the documented scene contracts; arbitrary same-style topologies are not promised. Load motion effects and run fireworks.py animate diagram.svg diagram.gif. Default is 960px, 20fps, 5.75s with the +2s-settled-flow preset and a .motion.json report. Historical user-approved fields describe maintainer-reviewed presets, not authorization from the current user to publish, spend or send data.

Verify the requested outcome

Inspect the final PNG at intended reading size when image viewing is available: check text completeness, contrast, font substitution, hierarchy, spacing, clipping, arrow direction, crossings and labels. Preserve style palette and material while fixing defects. Reu

Questions fréquentes

Crée-t-elle des photos ou des graphiques statistiques ?

Non. Elle sert aux schémas techniques, pas aux photos, aux images matricielles ni aux graphiques statistiques.

Quels formats de sortie peut-elle produire ?

Le SVG est le fichier principal. Elle peut aussi exporter en PNG, en HTML hors ligne et en GIF animés pour les schémas compatibles.

Fonctionne-t-elle avec Codex et Claude Code ?

Oui. La skill est conçue pour être portable entre ces deux outils.

Détails

Description originale de l’auteur

Create precise SVG technical diagrams, export PNG or offline HTML, and animate supported semantic SVGs to GIF. Use for architecture, UML, agent, cloud or workflow diagrams; not photos, raster art or statistical charts.

repo: yizhiyanhua-ai/fireworks-tech-graph

Popularité

Étoiles GitHub
12k
Position au classement
#11491
Licence
MIT
Mis à jour
21/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Skills similaires