fireworks-tech-graph
Qué hace
Crea diagramas técnicos precisos en SVG, los exporta como PNG o como HTML sin conexión y convierte los diagramas compatibles en GIF animados. Está pensada para ingenieros y redactores que necesitan diagramas claros.
Cuándo usarla
- ✓Cuando quieres un diagrama de arquitectura, de flujo de trabajo o de nube para un documento.
- ✓Cuando necesitas un diagrama UML o de agente exportado como archivo de imagen.
- ✓Cuando quieres un diagrama técnico en una página HTML independiente que funcione sin conexión.
Link de la skill
https://github.com/yizhiyanhua-ai/fireworks-tech-graph/blob/main/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Por favor, dibuja un diagrama de arquitectura que muestre mi aplicación web, mi base de datos y mi cola de mensajes, en PNG.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA elige un estilo de diagrama, escribe el SVG con tus etiquetas y conexiones, lo revisa y lo exporta en el formato que necesitas.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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-flowpreset and a.motion.jsonreport. Historicaluser-approvedfields 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
Preguntas frecuentes
¿Hace fotos o gráficos estadísticos?
No. Es para diagramas técnicos, no para fotos, imágenes de mapa de bits ni gráficos estadísticos.
¿Qué formatos de salida puede generar?
El archivo principal es SVG, y también puede exportar PNG, HTML sin conexión y GIF animados compatibles.
¿Funciona tanto en Codex como en Claude Code?
Sí. La skill está escrita para funcionar en ambas herramientas.
Detalles
Descripción original del autor
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.
Popularidad
- Estrellas en GitHub
- 12 mil
- Posición en el ranking
- #11491
- Licencia
- MIT
- Actualizada
- 21/10/2026
Comentarios
- …
Skills parecidas
gifgrep
394 milPermite que tu agente busque GIF en bibliotecas, vea una vista previa de los resultados, descargue un GIF y extraiga un fotograma fijo o una hoja de contacto de fotogramas.
meme-maker
394 milPermite que tu agente elija una plantilla de meme, añada tus propios textos y cree el meme como imagen SVG o PNG.
ios-icon-gen
280 milPermite a tu agente generar iconos para apps de iOS. Usa símbolos de Apple u otras fuentes para crear los archivos correctos.