html-flowchart-anthropic — Claude Code skill: HTML/CSS flowcharts
html-flowchart-anthropic builds flowcharts, decision trees and pipelines as standalone .html files in plain HTML/CSS, styled after Anthropic's diagrams.
no license ★ 158 updated 2026-07-09
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a claude-codeWhat html-flowchart-anthropic does
Each flowchart comes out as one standalone .html file. Markup and CSS carry the whole drawing, so there is no diagram library and no tool-specific export format: open the file in a browser and the chart is there. The look is fixed up front — warm neutral surfaces, pastel fills chosen by node role, transparent dashed frames around groups, small corner radii, labels in an SF Pro-style system stack.
Work starts by trimming the process to 4-8 nodes, then a layout gets picked: two lanes when some steps run in the background, a single column when the order is strict or the page must read on a phone. Diagrams live in TypeScript specs under src/diagrams/, src/build.ts generates the HTML, and design tokens sit in references/design-language.md with layout rules in references/html-flowchart.md.
Precision comes from anchors. Treat every node as a rectangle with north, south, west and east points, then draw the arrows in inline SVG from those exact points instead of floating them over the picture. Lanes split across separate SVGs need the CSS grid column widths matched to the viewBox values — otherwise scaling drifts and arrows stop meeting their nodes.
What it helps with
- draw a 4-8 step process as one browser-ready HTML page
- restyle an existing diagram with pastel role colors
- split a flow into active and background lanes
- route arrows from exact node anchors instead of eyeballed positions
- collapse a wide diagram into a single column for phones
Example prompts for the agent
- Draw this deploy pipeline as a pure HTML/CSS flowchart, six nodes, two lanes.
- Restyle this diagram in Anthropic style: pastel node fills, dashed group frames, orthogonal arrows.
- Turn this process into a decision tree in one column so it reads on a phone.
How to install html-flowchart-anthropic
1Skills CLI (Vercel)
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a claude-code2Manually: put the files in place
~/.claude/skills/anthropic-theme-flowchart/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/anthropic-theme-flowchart/
1Skills CLI (Vercel)
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a codex2Manually: put the files in place
.agents/skills/anthropic-theme-flowchart/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a cursor2Manually: put the files in place
.cursor/skills/anthropic-theme-flowchart/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install yzlnew/infra-skills anthropic-theme-flowchart2Manually: put the files in place
.github/skills/anthropic-theme-flowchart/SKILL.md1Skills CLI (Vercel)
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a gemini-cli2Platform CLI
gemini skills install https://github.com/yzlnew/infra-skills --path anthropic-theme-flowchartManually: put the files in place
.devin/skills/anthropic-theme-flowchart/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about html-flowchart-anthropic
How do I install html-flowchart-anthropic in Claude Code?
Run npx skills add yzlnew/infra-skills --skill anthropic-theme-flowchart -a claude-code; the skill lands at ~/.claude/skills/anthropic-theme-flowchart/SKILL.md.
What does html-flowchart-anthropic do?
It produces flowcharts, decision trees and pipelines as self-contained .html files in plain HTML/CSS, with warm backgrounds, pastel nodes and orthogonal connectors.
Should I edit connector coordinates in the generated HTML?
No. Edit the TypeScript specs and rebuild through src/build.ts; the skill asks you not to hand-maintain connector coordinates in assets/*.html.