# html-flowchart-anthropic

html-flowchart-anthropic builds flowcharts, decision trees and pipelines as standalone .html files in plain HTML/CSS, styled after Anthropic's diagrams.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 158 repo stars
- Author: yzlnew
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/yzlnew/infra-skills/tree/HEAD/anthropic-theme-flowchart/SKILL.md
- Updated: 2026-07-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/html-flowchart-anthropic

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/anthropic-theme-flowchart/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/anthropic-theme-flowchart/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/anthropic-theme-flowchart/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/anthropic-theme-flowchart/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install yzlnew/infra-skills anthropic-theme-flowchart
```

2. **Manually: put the files in place**
- File: `.github/skills/anthropic-theme-flowchart/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add yzlnew/infra-skills --skill html-flowchart-anthropic -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/yzlnew/infra-skills --path anthropic-theme-flowchart
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/anthropic-theme-flowchart/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/yzlnew/infra-skills/tree/HEAD/anthropic-theme-flowchart/SKILL.md

## When to use it
- 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
- 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.

## Similar
- [flowchart-creator](https://affpapa.org/en/nevibecode/skills/flowchart-creator.md) — skill · 756 installs
- [html-diagram](https://affpapa.org/en/nevibecode/skills/html-diagram.md) — skill · 4600 installs
- [process-flowchart-designer](https://affpapa.org/en/nevibecode/skills/process-flowchart-designer.md) — skill · 183 installs
- [html-visual](https://affpapa.org/en/nevibecode/skills/html-visual.md) — skill · 510 installs
- [blueprinter](https://affpapa.org/en/nevibecode/skills/blueprinter.md) — skill · 979 installs
- [tldraw-skill](https://affpapa.org/en/nevibecode/skills/tldraw-skill.md) — skill · 3800 installs

From the same set: [yzlnew/infra-skills](https://affpapa.org/en/nevibecode/by/yzlnew/infra-skills.md) — 8 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
