Archify Diagrams
tt-a1i/archify
Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.
Draw architecture, flow and structural diagrams in the Anthropic/Claude visual language as SVG, then render and save them as PNG.
$ npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rookie-ricardo/erduo-skills anthropic-style-diagram --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rookie-ricardo/erduo-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/anthropic-style-diagram .claude/skills/anthropic-style-diagram && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "anthropic-style-diagram" agent skill from https://github.com/rookie-ricardo/erduo-skills/tree/main/skills/anthropic-style-diagram into .claude/skills/anthropic-style-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-style-diagram", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rookie-ricardo/erduo-skills/tree/main/skills/anthropic-style-diagramType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rookie-ricardo/erduo-skills anthropic-style-diagram --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rookie-ricardo/erduo-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/anthropic-style-diagram .agents/skills/anthropic-style-diagram && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "anthropic-style-diagram" agent skill from https://github.com/rookie-ricardo/erduo-skills/tree/main/skills/anthropic-style-diagram into .agents/skills/anthropic-style-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-style-diagram", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rookie-ricardo/erduo-skills anthropic-style-diagram --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rookie-ricardo/erduo-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/anthropic-style-diagram .cursor/skills/anthropic-style-diagram && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "anthropic-style-diagram" agent skill from https://github.com/rookie-ricardo/erduo-skills/tree/main/skills/anthropic-style-diagram into .cursor/skills/anthropic-style-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-style-diagram", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rookie-ricardo/erduo-skills.git --path skills/anthropic-style-diagram--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rookie-ricardo/erduo-skills anthropic-style-diagram --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rookie-ricardo/erduo-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/anthropic-style-diagram .gemini/skills/anthropic-style-diagram && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "anthropic-style-diagram" agent skill from https://github.com/rookie-ricardo/erduo-skills/tree/main/skills/anthropic-style-diagram into .gemini/skills/anthropic-style-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-style-diagram", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rookie-ricardo/erduo-skills anthropic-style-diagramInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rookie-ricardo/erduo-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/anthropic-style-diagram .github/skills/anthropic-style-diagram && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "anthropic-style-diagram" agent skill from https://github.com/rookie-ricardo/erduo-skills/tree/main/skills/anthropic-style-diagram into .github/skills/anthropic-style-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-style-diagram", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rookie-ricardo/erduo-skills anthropic-style-diagram --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rookie-ricardo/erduo-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/anthropic-style-diagram .opencode/skills/anthropic-style-diagram && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "anthropic-style-diagram" agent skill from https://github.com/rookie-ricardo/erduo-skills/tree/main/skills/anthropic-style-diagram into .opencode/skills/anthropic-style-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-style-diagram", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
anthropic-style-diagramDraw architecture, flow and structural diagrams in the Anthropic/Claude visual language as SVG, then render and save them as PNG.
Anthropic Style Diagram is an agent skill from rookie-ricardo/erduo-skills. Draw architecture, flow and structural diagrams in the Anthropic/Claude visual language as SVG, then render and save them as PNG. Trigger ONLY when the user names that visual language — 'Anthropic 风格架构图', 'Claude 风格流程图', 'Anthropic style diagram', 'Claude style flowchart', 'Anthropic 配色的图' — or asks for another diagram in the same style after this skill has already produced one in the conversation. Also use to re-render or export an SVG that already uses this skill's class system (th/ts/box/arr/c-blue…). Do NOT…
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts, reference files and assets (for example `package.json`, `references/design-system.md` and `references/diagram-types.md`).
It sits in Development, covering Diagrams. It works with Mermaid. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1fb6ec5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
nodenpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Anthropic Style Diagram loads about 3k tokens when it runs, and up to ~8.9k if it reads all its reference files. Until then it costs about 174 tokens; SKILL.md has 1,636 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from rookie-ricardo/erduo-skills at commit 1fb6ec5, republished under its MIT licence (© rookie-ricardo). 1,636 words, ~2,988 tokens.
.claude/skills/anthropic-style-diagram/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Author a semantic SVG, let the browser do the rest. scripts/render.mjs supplies the
design system, resolves the theme, audits the layout, crops the viewBox to the real ink
bounds, bakes every computed style into literal attributes, and writes the PNG.
You draw geometry and meaning. The script owns colour, theme, viewBox and export.
Never hardcode a hex value, never write a <style> block, never compute the final
viewBox height by hand.
/tmp), not the delivery path.
Follow the authoring contract below; references/example-structural.svg and
references/example-cycle.svg are the canonical shapes to imitate.node scripts/render.mjs <working.svg> -o <target.png>.Read the rendered image, not your source. The source is what you meant; the image is what the reader gets, and only one of those can be wrong.
node scripts/render.mjs diagram.svg -o ~/Downloads/architecture.png| Option | Default | Notes |
|---|---|---|
-o, --out <path> | ./<name>.png | Parent directories are created |
--theme <t> | light | light, dark, or both (writes <name>-dark.png too) |
--scale <n> | 2 | Pixel density. 3–4 for print or large social images |
--bg <v> | auto | Theme paper colour; or transparent, or any #rrggbb |
--padding <n> | 32 | Margin around content after cropping |
--no-fit | — | Keep the authored viewBox instead of cropping to ink bounds |
--svg | — | Also write a portable flattened .svg (no CSS, opens anywhere) |
--check | — | Audit only, write nothing; exits non-zero when problems exist |
--json | — | Machine-readable report |
The audit catches the three mechanical failure modes: text spilling out of its shape, nodes overlapping, and connectors slicing through unrelated nodes. Round nodes are measured as ellipses rather than as their bounding box, so ring layouts are checked as strictly as grids. A clean run prints only the output paths. It says nothing about whether the diagram is well composed or even correct — see "Composition" below, and never treat a clean audit as approval.
First run needs Playwright. It is picked up from the skill, the project, or the global
npm root; if missing, npm install in this directory.
<svg viewBox="0 0 680 H" role="img">
<title>Short name</title>
<desc>One sentence describing what the diagram shows.</desc>
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M2 1L8 5L2 9" fill="none" stroke="context-stroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</marker>
</defs>
...
</svg>role="img" with <title> and <desc> as the first two children. Always.<script>, no onclick, no sendPrompt, no <a href>, no gradients, no
filters, no drop shadows, no emoji, no rotated text, no <!-- comments -->.<defs> holds the arrow marker and nothing else (plus a <clipPath> or one
<linearGradient> in illustrative diagrams).| Class | Applies to | Effect |
|---|---|---|
th | <text> | 14px medium — node titles |
t | <text> | 14px regular — primary labels |
ts | <text> | 12px regular — subtitles, callouts |
box | <g> or shape | Neutral surface fill with a hairline border |
node | <g> | Marks a node group; pair with box or a c-* ramp |
arr | <line>/<path> | Connector stroke; add marker-end="url(#arrow)" |
leader | <path> | Thin dashed callout/feedback line |
c-purple c-teal c-coral c-pink c-gray c-blue c-green c-amber c-red | <g> or shape | Colour ramp — fill, border and text tones, both themes |
Put c-* on the group that directly holds the shape and text. It uses direct-child
selectors: an extra nested <g> breaks the fill.
Every <text> needs t, ts or th — an unclassed one renders as raw black.
Every node carries a ramp by default. Nodes of the same kind share one; a diagram where the boxes are all neutral and only the containers are tinted looks drained and flat — that is the single most common way these diagrams go ugly.
class="box" is neutral on purpose, and it has exactly one job: homogeneous sub-parts
inside one coloured container, where the container already carries the category and
tinting the children would invent distinctions that do not exist. Do not generalise that
pattern to a whole diagram.
One ramp per category, not per row — colour must never track sequence. A six-category
diagram legitimately uses six ramps; a three-step flow uses one or two. c-gray for
neutral, structural or external nodes. Prefer purple, teal, coral and pink for generic
categories; reserve blue, green, amber and red for genuinely informational, successful,
warning or error concepts.
The four judgements the audit will never make for you. Get them right here, then confirm them against the rendered image with the review checklist above:
leader path around the outside, or lay the
stages in a ring when the cycle has no natural entry point; references/diagram-types.md
carries the polar geometry for that.marker-start and marker-end), not underneath it.max(title_chars × 8, subtitle_chars × 7) + 24.
At 14px a character is ~8px; at 12px ~7px. CJK glyphs are ~14px. Formulas,
subscripts and symbols run 30–50% wider — pad generously.x = rect_x + w/2, y = the centre of its own line, with
text-anchor="middle" dominant-baseline="central".<text> never wraps. Each line is its own <text> or a <tspan> with an explicit
x and dy. If a subtitle needs wrapping it is too long.M x1 y1 L x1 ymid L x2 ymid L x2 y2 with fill="none". Feedback loops
route around the outside as a leader path; never draw the cycle as a ring.Subtitles are ≤5 words. Detail belongs in your prose reply, not inside the box.
Sentence case everywhere — never Title Case, never ALL CAPS. Only two sizes exist:
14px and 12px. Avoid floating labels: every <text> sits inside a box or is a leader
callout.
Route on the verb, not the noun: "transformer architecture" is structural, "how does
attention work" is illustrative. references/diagram-types.md has the full playbook
and copy-ready snippets; references/design-system.md has the ramp table and the
detailed spacing and typography rules.
Database schemas and ERDs are not this skill's job — emit mermaid erDiagram instead.
© rookie-ricardo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts, references, assets) in skills/anthropic-style-diagram of rookie-ricardo/erduo-skills.
Open the folder on GitHubat commit 1fb6ec5
Anthropic Style Diagram next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Anthropic Style Diagram this skillrookie-ricardo/erduo-skills | 935 | — | ~3k | Automated safety check: Pass | MIT | |
| Archify Diagramstt-a1i/archify | 82k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Diagram Designcathrynlavery/diagram-design | 49k | 1 repos | ~7.6k | Automated safety check: Pass | MIT | |
| Draw.io Diagram StudioAgents365-ai/drawio-skill | 10k | — | ~2.4k | Automated safety check: Notes | MIT | |
| Pretty Mermaid Rendererimxv/Pretty-mermaid-skills | 1.5k | — | ~2k | Automated safety check: Pass | MIT | |
| Archify Diagram BuilderUnclecheng-li/AI_Animation | 1.5k | 2 repos | ~4.1k | Automated safety check: Pass | MIT |
tt-a1i/archify
Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
Agents365-ai/drawio-skill
Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.
imxv/Pretty-mermaid-skills
Writes and renders Mermaid diagrams as themed SVG, PNG or terminal ASCII and Unicode art with a bundled Node.js CLI that needs no browser.
Unclecheng-li/AI_Animation
Builds validated architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone interactive HTML from a small JSON spec, with optional motion and image export.
WH-2099/mermaid-skill
Generate Mermaid diagrams from user requirements. An agent skill from WH-2099/mermaid-skill.
rookie-ricardo/erduo-skills
Curate a Chinese reading digest from a fixed bundle of RSS and Atom feeds, with a strong preference for AI agent thinking, frontier AI commentary, deep interviews, and non-boring high-signal essays.
rookie-ricardo/erduo-skills
Convert a web URL into cleaned Markdown with deterministic routing.
rookie-ricardo/erduo-skills
Remove the visible Gemini AI watermark from images using reverse alpha blending.
rookie-ricardo/erduo-skills
高质量文章翻译技能,采用"分析→初译→审校→终稿"四步精翻工作流。仅支持中文↔英文、中文↔日文翻译。当用户明确提出"翻译"、"translate"、"精翻"、"翻訳"、"翻译文章"、"translate to Chinese/English/Japanese"、"改成中文"、"改成英文"、"改成日文"、"翻成中文"、"翻成日文"、"翻成英文"、"英译中"、"中译英"、"中译日"、"日译中"、"日…
rookie-ricardo/erduo-skills
将语音转录文本(访谈、演讲、播客、会议)精修为可读性更高的文章段落。当用户提到"字幕精修"、"transcript polish"、"润色字幕"、"把视频字幕整理成文章"、"访谈文字整理"、处理访谈记录、转录文本优化、语音转文字整理、或者需要将大段对话/演讲文本整理成可读文章时触发。适用于单人演说或多人对谈的转录文本整理,要求保留原句原词、拒绝高度概括。即使用户只是说"帮我整理一下这段文字"并附…
rookie-ricardo/erduo-skills
基于预设 URL 列表抓取内容,筛选高质量技术信息并生成每日 Markdown 报告. An agent skill from rookie-ricardo/erduo-skills.
Works with
Categories
Draw architecture, flow and structural diagrams in the Anthropic/Claude visual language as SVG, then render and save them as PNG. Anthropic Style Diagram is an agent skill from rookie-ricardo/erduo-skills. Draw architecture, flow and structural diagrams in the Anthropic/Claude visual language as SVG, then render and save them as PNG.
Anthropic Style Diagram fits situations like: LY when the user names that visual language — Anthropic 风格架构图; anthropic style diagram; Claude style flowchart; anthropic 配色的图 —.
Run `npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a claude-code`. Or copy the skill folder (skills/anthropic-style-diagram in rookie-ricardo/erduo-skills) into .claude/skills/anthropic-style-diagram in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a codex`. Or copy the skill folder (skills/anthropic-style-diagram in rookie-ricardo/erduo-skills) into .agents/skills/anthropic-style-diagram in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rookie-ricardo/erduo-skills --skill anthropic-style-diagram -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/anthropic-style-diagram, .gemini/skills/anthropic-style-diagram, .github/skills/anthropic-style-diagram and .opencode/skills/anthropic-style-diagram in your project.
Going by SKILL.md and its folder, Anthropic Style Diagram needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and npm). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Anthropic Style Diagram is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Anthropic Style Diagram: Archify Diagrams (tt-a1i/archify, 82k stars), Diagram Design (cathrynlavery/diagram-design, 49k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars) and Pretty Mermaid Renderer (imxv/Pretty-mermaid-skills, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rookie-ricardo (a GitHub user) maintains it in rookie-ricardo/erduo-skills, which has 935 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on July 25, 2026.
Source: rookie-ricardo/erduo-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.