/design-os-skills:code2flow-answer-flow-questionsfrom design-os-skills
Answer questions about a scanned app's user flows from Code2Flow's machine-readable outputs — "how does a user get from A to B", "which screens are unreachable or dead ends", "where does the PRD disagree with the code", "what is behind this arrow" — with file:line evidence and confidence, without opening the canvas. Use after `code2flow run`/`scan` has produced `<repo>/.code2flow/graph.json`.
Ships in design-os-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Source of truth is <repo>/.code2flow/ (regenerate with code2flow scan <repo> when the code changed; code2flow diff <repo> --from <old graph.json> tells you what moved). Never answer from memory of the code when these files exist.
| Question | Command | Read |
|---|---|---|
| How do users get from A to B? | code2flow paths <repo> --from <A> --to <B> [--max 4, cap 8] [--json] | up to 5 shortest paths; each hop = trigger · confidence · file:line. Add --shell when A is only reachable through the sidebar/top nav. |
| What can I reach from A / what reaches B? | graph.json → edges filtered by source/target (scope: "screen"), or paths with --to each candidate | triggers and targets; dynamic:/missing:/not-found targets are not screens |
| Which screens are unreachable or lead nowhere? | code2flow paths <repo> --orphans / --dead-ends, or code2flow lint <repo> --json | rules orphan-screen, dead-end (screens reachable only through shell nav are not orphans) |
| Which links are broken? | code2flow lint <repo> --json | rule broken-link (severity error) — a literal href that resolves to no route |
| Where does the PRD disagree with the code? | code2flow stories validate <repo> | unknown screen = PRD names a screen the code lacks; no detected transition A → B via "X" = PRD asserts a step the code does not implement (or the button text differs from via) |
| Which arrows need a human look? | lint --json rule low-confidence, or graph.json edges with confidence: "low" | pattern says why (link-href-unresolved, form-action-unresolved, …) |
| What did the parser see but not draw? | graph.json → counters (per file) | needs-sample, unresolved-expression, capture-failed, route-example-not-matching-route … |
App Router route ids, not URLs: /products/[slug], /products/[slug]?tab=pricing, /orders?drawer=details, /invite#edit-roles-drawer (local overlay). paths exit 2 lists close matches when an id is wrong.
high = literal href/redirect, medium = one hop away from a literal, low = runtime value).file:line for the hop the person cares about; offer the snippet from graph.json (evidence.snippet) when asked "show me".routeExamples entry, a login session, or a parser gap to report.graph.json, shots-meta.json or run-summary.json; they are regenerated.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jangtrinh/design-os-skills-pack --plugin design-os-skills32 skills in this plugin
/blender-agent-coreCore discipline for ANY Blender/bpy work — contract-first, purpose-first (render-only / print / both), knowledge routing, execute-verify-refine loop with the AGENT_OK/AGENT_FAIL sentinel contract, numeric-first verification, Form gate before delivery media, production gate before delivery. Activate for every task that touches Blender, before any domain skill./blender-image-to-3dReconstruct assets in Blender from reference images using only native Blender geometry, local skills, and project workflows; includes fidelity contracts, staged passes, and visual verification./blender-knowledge-workbenchRetrieve and apply this Blender project's knowledge, engineering research and portable reference methods through a checked local catalog and bounded task workflows. Use when refreshing knowledge, compiling workflow/skill references, choosing sources or assembling a Blender task reading pack; scene execution remains owned by blender-agent-core./code2flow-map-codebaseMap a Next.js App Router repo into a Code2Flow user-flow canvas end to end (init → run → read the summary → report), respecting the fixed localhost port and leaving no server running. Use when a PO or teammate asks "show me the flows / screens / how users move through this app", when a PRD needs checking against code, or before writing user stories for an existing product./code2flow-stories-from-prdTurn a PRD markdown into a Code2Flow Story Manifest (code2flow.stories.json v3, v2 structure plus optional audience captions, presenter notes, cues, Audience Names and locales for the Stage) using the prompt pack produced by `code2flow stories scaffold`, then validate it against the scanned graph and report PRD-vs-code drift. Use when a PO wants user-story lanes or a presentable Stage on the Code2Flow canvas, or when a PRD changed./design-osUse when working with DESIGN:OS CLI — Multi-runtime design operating system and CLI for Claude Code, OpenAI Codex, Gemini CLI, and Google Antigravity.