wayfinder
MAmattpocock/skills336k近 7 天新增 4,217 个 star
Plan and create throwaway static HTML and CSS mockups with shared design tokens before feature implementation. Use for /prototype, screen mockups, layout exploration, themes, or deciding a project's look and feel.
Context reuse: Reuse any required file already loaded in project instructions or the current session. Read it again only if absent, changed, or exact current bytes or line references are needed.
First action: Before project inspection, preflight, or any other tool call,
publish running to blueprint/.state/run.json when blueprint/.state/
exists. From the project root, run the first helper that exists,
node .agents/skills/blueprint-doctor/scripts/run-state.mjs or
node .claude/skills/blueprint-doctor/scripts/run-state.mjs, with start --command <skill> --summary "<truthful summary>" --boundary <read-only|reviewed|local-only>. Use update at milestones, with --status blocked --resume <command> for a blocker, and finish --status ready|completed
at the end; --help lists every option and blueprint/workflow.md has the full
activity contract. A missing or failing helper is a warning, not a blocker.
Where this sits in the workflow:
plan -> /overview -> [prototype] -> /feature -> build
(you (project- (lock the (one spec (real
write) overview.md) look) at a time) code)
Prototyping is a pre-build step, not a feature. It's fast, visual, and throwaway.
Its one durable output is the theme: a set of CSS theme variables that port into
the real app's globals.css @theme when you build the first UI feature.
Everything else here gets discarded.
This skill is plan-first. Gather the look and the page list, agree on a plan, and only then write any files. Never generate mockups before the user approves.
Pull the stated look and feel and the screen/route list from
blueprint/context/project-overview.md (its UI/UX section); fall back to the UI/UX section
of blueprint/project-plan.md if the overview isn't generated yet. Use this
as the starting point, so you're refining the user's intent, not asking from
scratch.
Work in plan mode. Ask the user a short set of questions (use the current tool's short user-input prompt for discrete choices when available), seeded with what the plan already says:
Keep it short. The user's answers, plus the plan, are the brief for the mockups.
Present a short plan and stop for approval:
Write nothing until the user approves. Adjust the plan if they push back.
Once approved, write a single shared prototypes/theme.css that defines the theme
as CSS variables, following reference/theme-variables.css: surfaces, text,
accent, any component-specific states, font stacks, and a small scale. Derive the
values from the agreed brief.
This file is the deliverable. Keep it the single source of the theme, so tweaking it restyles every mockup at once.
For each approved screen, write a self-contained prototypes/<screen>.html that
links theme.css and lays out that screen with realistic dummy content and the
states that matter (a typing page mid-type with correct/wrong/pending chars and a
caret; a dashboard with believable stats and history rows; and so on).
theme.css variables, never
hard-coded. That's what keeps the look consistent and portable.Tell the user to open the files in a browser and iterate on the look. Point them
at the concrete next step: run /feature on the first UI feature - it detects
prototypes/, links these mockups as the spec's Design reference, and makes
porting theme.css into the app's @theme its first build step. When the theme
feels right the tokens carry into the real stylesheet; the HTML mockups are
reference and get discarded at that feature's /complete.
Commit prototypes/, do not ignore it. theme.css is the durable output and
until it is ported it lives nowhere else, and the mockups are the build reference
the next feature needs - both must survive a context clear or a switch between
machines. So do not add prototypes/ to .gitignore; it is short-lived in git
(born here, discarded at the first UI feature's /complete), not throwaway that
never lands. This skill locks the look, it does not build the app.
Format the output to match the project's conventions in
blueprint/context/ai-interaction.md: concise, scannable markdown, with lists for
enumerations and tables for matrices rather than dense paragraphs.
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star