fireworks-tech-graph
/fireworks-tech-graph
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.
- Author
- yizhiyanhua-ai ↗
- Repository
- fireworks-tech-graph ↗
- Licence
- MIT
- Last repository change
- 21.10.2026
Assessment and security
- Files in this package
- 45
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 21.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
- Paczka skrócona: część plików jest zbyt duża or wykonywalna. Pełny folder jest w repozytorium.
Scripts: scripts/export-interactive-html.py
What it does and when to use it
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.
Original author description
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.
How it works
- Locate and select
- Generate and check
- Additional outputs
- Verify the requested outcome
SKILL.md preview
---
name: fireworks-tech-graph
description: >-
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.
---
# 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.
```bash
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](references/style-diagram-matrix.md).
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](references/diagram-layout-reference.md)
and [icons](references/icons.md) 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](references/composition-quality-contract.md).
```bash
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](references/visual-quality.md) 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](references/png-export.md).
- **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](references/motion-effects.md) 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. Reuse an unchanged reviewed render; do not keep adding tests or
polish after acceptance passes. If viewing is unavailable, explicitly mark the
visual check skipped and do not claim visual correctness.
After a failed check, use its element IDs and geometry to make a focused repair;
change the approach after two unchanged failures. Widen/split an overfull diagram
instead of hiding required copy or endlessly shrinking type. Do not silently
weaken semantic or composition constraints to obtain a pass.
Complete every requested local output and its applicable checks, then report file
paths, dimensions, visual review and residual limitations. A first SVG does not
complete a requested PNG/GIF/HTML package. Publication or remote delivery requires
its own scope-matching authorization; existing authorization is not requested twice.
Files in this package (45)
- .gitignore 1 KB
- .nojekyll 1 KB
- .npmignore 1 KB
- CHANGELOG.md 7 KB
- CONTRIBUTING.md 2 KB
- LICENSE 1 KB
- README.md 40 KB
- README.zh.md 37 KB
- SECURITY.md 1 KB
- SKILL.md 6 KB
- agentloop-core.svg 6 KB
- index.html 33 KB
- package.json 1 KB
- robots.txt 1 KB
- site.webmanifest 1 KB
- sitemap.xml 1 KB
- assets/icons/cloud/manifest-v1.json 2 KB
- assets/samples/sample-style1-flat.gif 263 KB
- assets/samples/sample-style1-flat.png 209 KB
- assets/samples/sample-style10-cloud-fabric.gif 333 KB
- assets/samples/sample-style10-cloud-fabric.png 266 KB
- assets/samples/sample-style11-event-transit.gif 180 KB
- assets/samples/sample-style11-event-transit.png 221 KB
- assets/samples/sample-style12-ops-pulse.gif 349 KB
- assets/samples/sample-style12-ops-pulse.png 258 KB
- assets/samples/sample-style2-dark.gif 379 KB
- assets/samples/sample-style2-dark.png 266 KB
- assets/samples/sample-style3-blueprint.gif 277 KB
- assets/samples/sample-style3-blueprint.png 231 KB
- assets/samples/sample-style4-notion.gif 206 KB
- assets/samples/sample-style4-notion.png 140 KB
- assets/samples/sample-style5-glass.gif 368 KB
- assets/samples/sample-style5-glass.png 247 KB
- assets/samples/sample-style6-claude.gif 241 KB
- assets/samples/sample-style6-claude.png 198 KB
- assets/samples/sample-style7-openai.gif 161 KB
- assets/samples/sample-style7-openai.png 167 KB
- assets/samples/showcase-gif-manifest.json 4 KB
- examples/README.md 1 KB
- fixtures/agent-memory-types-style4.json 4 KB
- fixtures/api-flow-style7.json 4 KB
- fixtures/c4-review-canvas-style9.json 5 KB
- fixtures/cloud-fabric-style10.json 5 KB
- scripts/export-interactive-html.py 1 KB
- templates/comparison-matrix.svg 1 KB
Omitted from the package: 75 (too large or executable); available in the repository.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · yizhiyanhua-ai/fireworks-tech-graph | 100 | MIT |
| seazhusp/tester-skills | 100 | MIT |
| fengqing008/weishuihuanbao | 100 | MIT |
| citrus-bit/anaxa | 100 | MIT |
| boshi-xixixi/traeskill | 95 | MIT |
| navyran/skills | 90 | MIT |
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 13ba81247849 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90vc:tech-graph
Use when you need publish-grade SVG or PNG technical diagrams for architecture, flow, sequence, UML, state, or comparison visuals, with preview used afterward for review rather than generation. - 90vc:tech-graph
Use when you need publish-grade SVG or PNG technical diagrams for architecture, flow, sequence, UML, state, or comparison visuals, with preview used afterward for review rather than generation. - 100flow-diagram
Use when the user asks to create or revise a flowchart, architecture diagram, sequence diagram, or animated process explanation(流程图、架构图、时序图、流程动画演示). Create executable FlowSVG diagrams with static views or animation; validate or diagnose existing diagrams; export JSON, offline… - 100tracegif
Make and revise line-drawing animations, animated GIFs, offline HTML and PNG frames from images, logos, SVGs or photos. Use for image-to-line animation, configurable GIF export and natural-language revisions of editable TraceGIF projects. - 100nvaf-architecture-diagrams
Create or revise NVAF cloud architecture diagrams and PNG exports in the nvcf/nvaf repository using NVIDIA Cloud Architecture Diagrams Style Guide v1.1. Use for architecture SVGs, component and group layouts, icon selection, paths, and presentation exports; do not use for… - 100diagram-design
Create or redraw evidence-based architecture, workflow, sequence, data-model and other technical diagrams as editable HTML/SVG with optional PNG export. Use for system documentation and visual explanations, including draw.io, Mermaid or Excalidraw imports.