一键导入
graph-design
Design, audit, and redraw inline SVG architecture and flow diagrams using source verification and a consistent orthogonal-routing visual language.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Design, audit, and redraw inline SVG architecture and flow diagrams using source verification and a consistent orthogonal-routing visual language.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
ARCHIVED — project work items are tracked in GitHub Issues and GitHub Projects. Use the github-issues skill when installed, or use gh directly.
Diagnose and fix piclaw extension issues (imports, DB init errors, watcher perms), update skel, and restart safely.
Search the web via SearXNG (or DuckDuckGo fallback) and optionally fetch result pages as raw Markdown content.
Search via SearXNG (or DuckDuckGo fallback), fetch top results, and return sentence-level summaries plus optional converted page content.
Fetch a user's recent tweets (tweets, replies, retweets) using Playwright + Nitter fallbacks and produce compact JSON/Markdown summaries.
Write and review concise technical documentation using a plain-English voice guide and anti-trope filter. Use for READMEs, design notes, runbooks, API documentation, release notes, and pull-request text.
| name | graph-design |
| description | Design, audit, and redraw inline SVG architecture and flow diagrams using source verification and a consistent orthogonal-routing visual language. |
| distribution | public |
Use this skill to create, fix, or audit inline SVG diagrams in source-authored documentation.
It covers Markdown, READMEs, docs pages, workitems, and other files that embed architecture or flow diagrams.
Applies to:
Default to orthogonal arrows. When an orthogonal arrow turns, the corner must be rounded.
Do not use hard-corner elbow polylines as the default style. Do not use diagonals unless the diagram genuinely benefits from them.
If the flow is horizontal/vertical, draw it horizontally/vertically. If the path bends, make it a softened right-angle turn with a consistent radius.
Do not invent architecture.
When the diagram represents a real system:
Things that should be source-verified before drawing:
Prefer a small number of boxes with a clear story.
Most good diagrams show only:
Avoid turning every diagram into a subsystem map.
The diagram should reinforce the nearby text:
If the diagram implies something the text does not support, either:
Use the document or site’s established SVG theme if one already exists.
When authoring or normalizing an inline SVG diagram, prefer:
If the source does not already have a house style, these classes work well:
.box.box-accent.box-green.box-warm.box-purple.label.subTypical meanings:
box-accent: primary subject / main app / orchestratorbox-green: positive output / running target / success sinkbox-warm: input / config / storage / secondary artifactbox-purple: helper state / model / library / internal subsystembox: neutral nodeConsistency matters more than rigid semantics.
Use rounded rectangles for nodes.
rx="8" is a strong defaultrx="6" is also finePrefer one of these structures:
Avoid zig-zag storytelling unless the system really needs it.
Use:
.label for the main component name.sub for explanation, protocol, scope, or implementation detailSVG does not wrap text well.
Instead:
<text> lines.subPrefer concrete nouns like:
State fileLocal cacheJSON exportPTY sessionReader appDNS queryAvoid vague labels like:
processorenginesystembackend magicIf the diagram is about movement, requests, transforms, or state updates, arrows are not optional.
Common required flows:
Start and end arrows on node edges, not empty space.
Prefer:
Default to horizontal and vertical routing.
Use:
<line> for direct horizontal/vertical links<path> when the route needs a turnAvoid diagonals unless they clearly improve the story.
This is a hard rule for normal architecture and flow diagrams.
Do not use hard-corner elbow polylines as the default style. Do not leave right-angle corners visually sharp.
Preferred approaches:
Q or arc segments at the turnGuidelines:
Do not default to freeform curves.
In most documentation diagrams:
A common convention is:
But consistency beats over-encoding.
If the system is truly request/response, draw both directions.
Examples:
Do not collapse bidirectional behavior into one ambiguous arrow.
Use for exporters, converters, wrappers, or generators.
Pattern:
Use for apps that maintain a cache, state model, or session state.
Pattern:
Use when a tool emits multiple artifacts or execution targets.
Pattern:
Use for relays, gateways, resolvers, and proxies.
Pattern:
Large SVG rewrites often break:
For bulk edits:
Automation can help normalize spacing, but it often:
Manual review is required.
Avoid inventing:
If the old diagram is wrong, redraw from source.
When reviewing an existing diagram, check:
After editing:
If the workspace also includes visual-generation guidance, follow it alongside this skill:
visual-artifact-generator for rendering workflow and output format choicesvisual-design for palette, typography, spacing, and diagram polish