fireworks-tech-graph
БесплатноБез исполняемых скриптовНе проверенCreate precise SVG technical diagrams, export PNG or offline HTML, and animate supported semantic SVGs to GIF. Import and export Draw.io and Excalidraw, embed…
от yizhiyanhua-ai★ 12 111 звёзд на 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.
If render fails before producing an SVG, inspect its JSON diagnostic and the
failure report written by --report. Routing diagnostics name the edge, endpoints,
ports and candidate blockers, including container headers. See
layout diagnostics.
Editable diagrams and architecture changes
- For a native editable deliverable, produce or reuse Fireworks JSON, then run
render architecture graph.json diagram.drawioor use.excalidraw. Useconvertto keep the source layout and apply the target format's supported label, style, and connector mapping. For Excalidraw, use--require-qualitywhen export must fail on a label-layout warning. - For an existing Draw.io or Excalidraw file, import it with
convertor pass it directly torender. Report import warnings. Select a Draw.io page explicitly when a file has multiple pages. - For a screenshot, use
convertfor a pixel-preserving PNG, SVG, Draw.io or Excalidraw reference. If editable shapes are requested, draft a Fireworks JSON graph from visible evidence. Flag ambiguous labels and connectors, compare the draft against the screenshot, then validate, render and review the editable output. - For a PR update, start from the maintained Fireworks JSON. Inspect the pinned
base/head Git diff and only propose supported changes. Reuse stable IDs; attach
exact source references to changed shapes and connectors. Use
updatewith a review report and highlight any evidence still needing review. The command verifies reference locations; it cannot infer that a source line proves a particular architectural relationship.
See interop and PR updates for commands and scope.
Additional outputs
- PNG: p
Установить fireworks-tech-graph в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл fireworks-tech-graph?
Create precise SVG technical diagrams, export PNG or offline HTML, and animate supported semantic SVGs to GIF. Import and export Draw.io and Excalidraw, embed screenshot references, and update diagrams from reviewed Git diffs. Use for architecture, UML, agent, cloud or workflow diagrams; not photos, raster art or statistical charts.
Как установить скилл fireworks-tech-graph?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fireworks-tech-graph запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub