/dev-flows:prototype [<description of the UI> | design [<design link>] | stop | help]from dev-flows
Mock up a UI from a description, as a clickable page in the look of the team's design system, and show it to the person wherever this session can (a hosted page, the team's design tool, or a browser), then iterate on it from their feedback. For exploring a UI, not building production components; it writes in the working tree only when the team keeps its mockups there (pages in `prototype.dir`, a record of each in `prototype.index`), and never commits.
Ships in dev-flows. 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.
This command's instructions are in the dev-flows-base plugin.
Find dev-flows-base. Take the directory from the first of these that gives one:
echo "$DEV_FLOWS_BASE";node -e 'const f=require("fs"),p=require("path");const d=process.env.CLAUDE_CONFIG_DIR||p.join(require("os").homedir(),".claude");const all=Object.entries(JSON.parse(f.readFileSync(p.join(d,"plugins","installed_plugins.json"),"utf8")).plugins).filter(([k])=>k.startsWith("dev-flows-base@")).flatMap(([,v])=>v);const r=x=>{try{return f.realpathSync(x)}catch{return x}};const c=r(process.cwd())+"/";const e=all.find(e=>e.projectPath&&c.startsWith(r(e.projectPath)+"/"))||all.find(e=>e.scope==="user");if(e)console.log(e.installPath)', which prints where Claude Code installed it (for a session where its startup hook didn't run).When none gives one, stop: dev-flows-base isn't installed. Tell the user to run claude plugin install dev-flows-base@agent-flows and start a new session.
Check it's one this plugin can follow. Its flow contract is the one the session start names, else the contract in <that directory>/flows/manifest.json. When it isn't 1, stop: dev-flows is out of date for the installed dev-flows-base. Tell the user to run claude plugin update dev-flows@agent-flows and start a new session.
Follow the flow. Read <that directory>/flows/claude/prototype/flow.md with the Read tool and follow it to the end, as the caller dev-flows (its commands are /dev-flows:<name>), with these arguments: $ARGUMENTS
When echo "$DEV_FLOWS_BASE" printed nothing, write that directory in place of $DEV_FLOWS_BASE in every command the flow gives.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub project-white-rabbit/agent-flows --plugin dev-flows12 skills in this plugin
/cancel/dev-flows:cancelAbandon the current branch's work: close its pull request, delete its remote branch, cancel its issue, and run the repo's teardown. Invoking it authorizes the cleanup. Only for scrapping work without merging, never for landing it./configure/dev-flows:configureSet up or update .agent-flows/config.json, the repo's shared dev configuration: base branch and the integrations it uses for each capability (source control, issue tracker, deployments, error tracking, …)./create-tickets/dev-flows:create-ticketsFile issues from planning notes, a page link, or a sentence, updating issues that already describe the same work. Not for syncing a branch./evaluate/dev-flows:evaluateAssess branch or PR shippability without edits. Use for readiness and risk assessment, not an audit/fix loop./finish/dev-flows:finishLand the current branch's pull request (or its stack): wait for CI on the commit that lands, merge it through the repo's source-control or stacking integration, then close out its issue and errors. Only when the user explicitly asks to land or merge the PR, never for a git merge./preview/dev-flows:previewOpen the page the current work changed in a browser, on this worktree's dev server (starting it when it isn't running): the workspace app's browser, else this session's browser tools, else the system's.