content/skills/visual-media-design/fireworks-tech-graph/SKILL.md
Generate polished technical diagrams as SVG, and export PNG when local export tooling is available. Use when the user wants an architecture diagram, flowchart, data flow, sequence diagram, agent or memory diagram, comparison matrix, timeline, or concept map rendered as a visual artifact instead of Mermaid or a hand-drawn whiteboard. Trigger on requests like 画图、帮我画、生成图、 做个图、架构图、流程图、时序图、可视化一下, or English requests such as draw diagram, architecture diagram, visualize this system, generate a flowchart, or create a technical SVG. Prefer this skill when the user wants publishable SVG/PNG output, style selection, or AI/agent-system diagram conventions.
npx skillsauth add bahayonghang/my-claude-code-settings fireworks-tech-graphInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a production-quality technical diagram from $ARGUMENTS.
If the prompt is too vague to identify nodes and edges, ask for the missing structure before drawing.
Follow this order:
$SKILL_DIR/references/style-1-flat-icon.mdstyle-*.md file only when the user explicitly requests a different look$SKILL_DIR/references/icons.md.Always return:
If only SVG was produced, say so explicitly.
viewBox: 0 0 960 600; use 0 0 960 800 for taller stacks.store(), retrieve(), forget(), and consolidate().Use consistent semantics across diagrams:
| Concept | Shape | |---------|-------| | User / Human | circle or actor | | LLM / Model | double-border rounded rectangle | | Agent / Orchestrator | hexagon or emphasized controller box | | Short-term Memory | rounded rectangle with dashed border | | Long-term Memory | cylinder | | Vector Store | cylinder with inner rings | | Graph DB | clustered circular form or labeled store | | Tool / Function | utility box or gear-marked rectangle | | API / Gateway | hexagon | | Queue / Stream | horizontal pipe | | File / Document | folded-corner rectangle | | Browser / UI | browser frame | | Decision | diamond | | Process / Step | rounded rectangle | | External Service | cloud-like or dashed-border external node | | Data / Artifact | parallelogram |
Use color and stroke to encode meaning:
| Flow Type | Suggested Meaning | |-----------|-------------------| | Blue solid | primary request or data flow | | Orange solid | control or trigger flow | | Green solid | memory read | | Green dashed | memory write | | Gray dashed | async or event-driven flow | | Purple solid | transform, embedding, or loopback |
When a diagram uses 2 or more arrow meanings, add a legend.
60px between node edges where possible.viewBox="0 0 960 600" unless the diagram needs a taller or wider canvas.<style> and system fonts only.@import font loading.<defs>.12-14px labels and 16-18px titles..svg file..png is an enhancement when local export tooling exists.rsvg-convert is available, use it for PNG export.command -v rsvg-convertGet-Command rsvg-convertC:\Users\name\Desktop\diagram.svg, preserve it exactly.rsvg-convert is commonly provided by librsvg.rsvg-convert is commonly provided by librsvg2-bin or equivalent packages.| # | Name | Best For | |---|------|----------| | 1 | Flat Icon (default) | blogs, docs, slides | | 2 | Dark Terminal | README, dev articles, dark presentations | | 3 | Blueprint | architecture and engineering documentation | | 4 | Notion Clean | internal docs, wikis, calm system diagrams | | 5 | Glassmorphism | keynotes or more polished visual storytelling |
Load the matching file from $SKILL_DIR/references/ when a style is selected.
Internalize these recurring structures:
development
Turn vague or complex Codex tasks into strong `/goal` commands with outcome, verification, constraints, boundaries, iteration policy, completion evidence, and pause/block conditions. Use when the user asks for Codex goal instructions, Goal 指令, 目标指令, `/goal` prompts, 中文 Goal 模板, plan-to-goal interviews, success criteria, verification commands, or bounded agent work definitions.
tools
Write, debug, and validate ast-grep structural code search rules. Use this skill when the user needs syntax-aware code search, AST pattern matching, structural refactor discovery, language-construct queries, or searches that plain text tools like rg can miss, such as finding functions with particular descendants, calls inside specific contexts, missing error handling, React hook shapes, decorators, or other Tree-sitter-backed code structures.
development
Use when the user asks to ground an ambitious proposal, avoid over-grand designs, make a bold direction executable, pressure-test feasibility, prevent "too much vision and too little landing", or turn a strategy/refactor/product idea into the smallest verifiable first move with stop rules. Trigger for requests such as 落地, 先落地, 别太飘, 收一收, 可执行, 可验证, 止损, and for follow-ups after geju-style big-picture thinking. Do not trigger for ordinary code review or implementation unless the user explicitly asks to ground or shrink the plan first.
development
Use when the user explicitly asks to think bigger, open up the design space, challenge conservative design, avoid over-indexing on backward compatibility, escape local-detail fixation, or make a bold high-level product or architecture direction call. Use for strategic reframing, not for ordinary code review, PRD writing, implementation planning, or adversarial risk review.