arc
llms.txt13 starsChanged 12 days agoMITView on GitHub
Arc is a visual editor for building architecture diagrams that stay in code. Dense reference: docs/llm.txt · Contributor guide: CLAUDE.md src/types/diagram.ts — sizes are xs | s | m | l (not large/normal/small) arc on @hudsonkit/arc — arc check, arc diff, arc render, arc bench, arc schema (bun run build:cli for the published bin). arc-mcp on @hudsonkit/arc-mcp — bun run mcp locally, bun run build:mcp for the published bin. Tools include validate/diff/layout plus ASCII, SVG, component/iframe/HTML, and optional Chrome-backed PNG…
Files
# Arc (LLM Guide)
Arc is a visual editor for building architecture diagrams that stay in code.
Dense reference: docs/llm.txt · Contributor guide: CLAUDE.md
## Quickstart
```bash
bun install && bun run dev # → http://localhost:5188/editor
```
## Packages
| Need | Package |
|------|---------|
| Render 2D diagram | `@hudsonkit/arc` or `@hudsonkit/arc-viewer` |
| Mermaid sequences | `@hudsonkit/arc-viewer` |
| Isometric | `@hudsonkit/arc-iso` |
| Full studio | This repo |
## Diagram schema (canonical)
`src/types/diagram.ts` — sizes are `xs` | `s` | `m` | `l` (not large/normal/small)
```json
{
"layout": { "width": 700, "height": 300 },
"nodes": { "api": { "x": 100, "y": 100, "size": "m" } },
"nodeData": { "api": { "name": "API", "kind": "backend" } },
"connectors": [{ "from": "a", "to": "b", "fromAnchor": "right", "toAnchor": "left", "style": "http" }],
"connectorStyles": { "http": { "color": "amber", "strokeWidth": 2, "label": "HTTP" } }
}
```
## Agent docs
- docs/llm.txt — full briefing
- docs/agent/*.agent.md — packages, actions, MCP, verification
- skills/arc-diagrams/SKILL.md — diagram generation
- CLAUDE.md — editor contributor guide
## CLI + MCP
`arc` on `@hudsonkit/arc` — `arc check`, `arc diff`, `arc render`, `arc bench`, `arc schema` (`bun run build:cli` for the published bin).
`arc-mcp` on `@hudsonkit/arc-mcp` — `bun run mcp` locally, `bun run build:mcp` for the published bin.
Tools include validate/diff/layout plus ASCII, SVG, component/iframe/HTML, and optional Chrome-backed PNG rendering.
See docs/agent/mcp.agent.md.
In this repository5 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docsSkill
- arc-diagramsSkill
- arc-hostSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

