Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jangtrinhv1.0.0LicenseRef-PolyForm-Shield-1.0.0In 1 marketplace
Maps a Next.js, React Router or static HTML codebase into a screen-and-transition graph you can lint for dead ends and broken links. Says it runs locally with no telemetry; SwiftUI, Flutter and Jetpack Compose are not adapters in this version.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
user-flow, ux-audit, codebase-mapping, static-analysis, mermaid-diagrams, nextjs-routes, ui-lint, code2flow ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A local CLI that turns a codebase into a user-flow map: screens, transitions, captured frames, and a lint on the graph. The command is code2flow. Package version 0.4.1, from package.json. Node 20 or later (engines in that file). The canvas is served on http://127.0.0.1:4317 (VIEWER_PORT in src/schema/stage-bridge-protocol.ts).
Three adapters are registered in src/parser/ingest.ts today: Next.js App Router, React Router, and static HTML. Eight lint rules live in src/lint/flow-lint.ts: orphan-screen, dead-end, not-captured, broken-link, low-confidence, needs-sample, login-gated, and capture-failed. Twelve commands are dispatched in src/cli/index.ts.
FREE + source-available (PolyForm Shield 1.0.0). It runs locally, with no telemetry. See PRIVACY.md.
Quickstart · What it makes · How it works · Commands · Install · Limits
In Claude Code:
/plugin marketplace add jangtrinh/design-os-code2flow
/plugin install design-os-code2flow@design-os-code2flow
From a clone:
git clone https://github.com/jangtrinh/design-os-code2flow.git
cd design-os-code2flow
npm ci
npm run build
python3 scripts/self_check.py
Point the CLI at a repo it can actually read. After the build, the binary is dist/cli/index.js (the code2flow bin in package.json):
node dist/cli/index.js scan path/to/repo
node dist/cli/index.js lint path/to/repo
node dist/cli/index.js serve path/to/repo
code2flow serve opens the canvas on 127.0.0.1, port 4317.
These are real captures already in this repository, not mocks.
A scan writes .code2flow/graph.json. snapshot captures each screen. export writes a self-contained HTML file. render writes PNG or PDF hand-outs. lint prints the eight rules above and can fail a CI job (--fail-on). stories scaffolds and validates a story manifest against the graph. diff compares two scans.
code2flow scan picks an adapter from src/parser/ingest.ts, reads routes and transitions from the source, and writes the graph. snapshot and run capture frames when you give them a local URL. lint runs lintFlow. serve hosts the viewer on loopback. Nothing is uploaded.
TanStack Router, Expo Router, SwiftUI, Flutter and Jetpack Compose are not registered adapters in this version. Do not expect those codebases to scan until an adapter for them lands in src/parser/ingest.ts.
From src/cli/index.ts:
| Command | What it does |
|---|---|
code2flow scan <repo> | Parse routes, screens and transitions into <repo>/.code2flow/graph.json |
code2flow init <repo> | Add local config and agent guidance (idempotent) |
code2flow run <repo> | Scan, capture, validate, lint and export |
code2flow paths <repo> --from A --to B | Shortest source-evidenced paths |
code2flow snapshot <repo> --url <devServer> | Capture every screen |
code2flow login <repo> --url <devServer> | Sign in once, reused by snapshot and run |
code2flow serve <repo> | Open the canvas on http://127.0.0.1:4317 |
code2flow export <repo> | Self-contained HTML |
code2flow render <repo> | PNG or PDF hand-outs |
code2flow stories scaffold | validate | Story manifest from a PRD, then a check against the graph |
code2flow lint <repo> | The eight rules in src/lint/flow-lint.ts |
code2flow diff <repo> --from <graph.json|repo> | What changed since an earlier scan |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jangtrinh/design-os-code2flow --plugin design-os-code2flowPlugins from other owners that cover similar ground