Skip to content

Add DESIGN:OS Code2Flow - #33

Open
jangtrinh wants to merge 1 commit into
ejboy:mainfrom
jangtrinh:add-design-os-code2flow
Open

jangtrinh wants to merge 1 commit into
ejboy:mainfrom
jangtrinh:add-design-os-code2flow

Conversation

@jangtrinh

Copy link
Copy Markdown

Tool

Name and URL: DESIGN:OS Code2Flow, https://github.com/jangtrinh/design-os-code2flow

Added to AI-Assisted Development, in alphabetical order (after AI Badger). Repository created 2026-09-04, so it is past the 30-day minimum age.

Efficiency story

  1. Problem: when a coding agent adds or changes screens, the developer has to check by hand that the new routes are reachable and that each screen has loading, error and auth handling. Flow diagrams kept in a design tool drift from the code, so they do not help.
  2. Baseline: click through every screen in a running app after each agent change, or read the route files one by one.
  3. Improvement: one local command parses the route files and navigation calls (Next.js, React Router, TanStack Router, Expo Router, SwiftUI, Flutter, Jetpack Compose) into a Mermaid user-flow graph, and runs 11 static checks that flag dead-end or orphan screens, missing loading or error states and unguarded auth routes. The JSON + Markdown report has an exit code, so it can gate a PR review.
  4. Evidence: static AST analysis only, no app build or browser run needed; zero network calls and zero telemetry (see PRIVACY.md). The README lists the heuristics, the output formats and the limits.

It works as a skill for Claude Code, Codex, Gemini CLI and Antigravity, and as a plain CLI. The developer stays in control: it only reads the code and writes a report.

Affiliation

Yes, I am the author. It is free; the licence is PolyForm Shield 1.0.0 (source-available, not OSI open source), so please weigh it against your open-source preference as you see fit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant