# Repository Briefing: yizhiyanhua-ai/fireworks-tech-graph
> Source: https://repoforai.com/repo/yizhiyanhua-ai/fireworks-tech-graph (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/yizhiyanhua-ai/fireworks-tech-graph
- **Official Docs / Website**: https://yizhiyanhua-ai.github.io/fireworks-tech-graph/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A (87/100 · Maintenance 35/35 · Adoption 18/25 · Releases 14/20 · License 20/20)
- **Latest Release**: v1.2.0 (2026-07-17) — https://github.com/yizhiyanhua-ai/fireworks-tech-graph/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, CLI, Local AI
- **Momentum**: 12,122 ★ total (+7 24h / +41 7d) · 945 forks
- **Topics**: `agent-workflows`, `ai`, `claude-code`, `developer-tools`, `diagrams`, `svg`
- **When to Use**: Best for: Teams turning architecture reviews, deployment maps, event flows, or agent workflows into validated SVGs, presentation PNGs, and offline handoffs. Skip if: You need a verified MCP endpoint, already get everything you need from a lightweight text-diagram workflow, or want to edit layouts directly on a canvas.

## Overview
```text
### Architecture & Core Mechanics
Fireworks Tech Graph separates agent interpretation from rendering. The shared Codex and Claude Code skill turns a prompt into a diagram contract and versioned JSON intermediate representation (IR). Legacy JSON is normalized to schema v1, and duplicate IDs, dangling references, malformed waypoints, and non-finite geometry are rejected before rendering. A style specification and deterministic orthogonal route planner then drive SVG generation, using explicit ports and waypoints to constrain placement and routing.

The Python `scripts/fireworks.py` entrypoint covers rendering and validation workflows; the npm manifest exposes a `fireworks-tech-graph` binary with Node.js ≥22.12.0. Styles and semantic profiles are separate design inputs: the published style-switch examples preserve node IDs, connector endpoints, and semantic profiles while changing presentation. Despite the MCP catalog label, no MCP server entrypoint, transport, or tool registration is identified. Treat the skill and CLI as the established integration surfaces.

### Key Capabilities & Differentiators
The system has 12 styles: 11 generator-backed profiles and one AI-authored style, Dark Luxury. Four engineering profiles add validation beyond appearance: C4 review keeps a single abstraction level; Cloud Fabric checks deployment ownership; Event Transit constrains event-rail topology; and Ops Pulse requires the four golden signals per service. The toolkit also covers class, sequence, deployment, and other UML views, plus patterns such as RAG, Mem0, tool calls, and multi-agent workflows.

The shared composition target is zero crossings or bridge jumps and at most two bends per edge. The router can represent a verified bridge for an unavoidable crossing, but that result is outside the stricter composition target. SVG checks cover XML and marker integrity, edge overlaps, reserved regions, and label clearance. Strict text mode rejects visible truncation before writing output. The bounded agent loop can inspect the exported PNG and make up to two targeted revisions by default; when the host cannot read images, visual review is explicitly skipped.

### Trade-offs & Limitations
Compared with Mermaid or PlantUML, the case for adopting Fireworks is stronger when a team needs domain validation and controlled visual delivery, not merely diagrams stored as text. The schema and semantic contracts make malformed input and some modeling mistakes diagnosable before export. They also add authoring work: dense graphs may need to be split or rearranged to meet the crossing, bend, and clearance budgets. Explicit fills and text colors may need adjustment when switching between light and dark themes, and Dark Luxury is not generator-backed.

The browser path adds a way to get Chromium rendering fidelity, at the cost of more runtime dependencies. Keep GIF tooling out of static-only jobs unless motion is a deliverable. Structural validation is also not a substitute for visual review: if an agent cannot inspect the PNG, a passed SVG check does not certify readability or hierarchy. For unattended production, treat the structured validation result and the visual-review status as separate checks.

### Hardware & Deployment Guide
Install the complete nested `skills/fireworks-tech-graph` bundle, not just the root `SKILL.md`: the skill needs its scripts, schemas, fixtures, and templates alongside the instructions. The npm entrypoint requires Node.js ≥22.12.0; the bundled render scripts run with Python 3. For PNG export, use CairoSVG or `rsvg-convert`. Run `version` to confirm that the intended skill copy is active and `doctor` to distinguish base SVG and HTML support from optional PNG and GIF dependencies.

GIF export additionally needs FFmpeg/FFprobe, Chrome or Chromium, and `puppeteer` or `puppeteer-core`. Release v1.1.0 established the engineering-grade workflow across all 12 styles; v1.2.0 adds focused export from generated semantic SVG to one probed GIF. The published full-size examples are 960 px wide at 20 fps, with 115 frames over 5.75 seconds; those are showcase settings, not throughput figures. Rendering runs locally and the exported HTML can be opened offline, but prompt processing still depends on the host agent.
```

## Key Capabilities
```text
- Input contract: Schema v1 normalizes legacy JSON and rejects duplicate IDs, dangling references, malformed waypoints, and non-finite geometry before rendering.
- Domain validation: C4 review, cloud deployment, event topology, and reliability views enforce distinct semantic rules before rendering.
- Composition: The official quality target is zero crossings or bridge jumps and at most two bends per edge, with separate spacing and label-clearance checks.
- Text fit: `text_policy: strict` rejects visible truncation before writing output, and the diagnostic report preserves the original label.
- Review loop: SVG validation precedes PNG inspection, with at most two targeted visual revisions by default and an explicit skip when image reading is unavailable.
- Delivery: A single offline HTML file offers pan and zoom, theme switching, and SVG, PNG, JPEG, and WebP exports up to 4×.
```

## Quick Start / Clone
```bash
npx -y skills@1.5.17 add \
  yizhiyanhua-ai/fireworks-tech-graph/skills/fireworks-tech-graph \
  --agent codex claude-code -g -y --copy
```
