agentleFS
DKekenDKeken/codex-skills-alternative/skills/design-prototype/SKILL.md

design-prototype

Skill15 starsChanged 6 months agoMITView on GitHub

Assemble a clickable, runnable prototype from screens/components — wiring navigation, state, and interactions so a team can actually click through it. Use when the user says "make it clickable", "build a prototype", "wire up the flow", "interactive prototype", "make the screens navigate", or has static screens that need to come alive. Part of the Product Design set. Verifies interactions with a browser tool.

  • Installs packages

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No screens exist yet → build them first (design-image-to-code / design-url-to-code).

    line 16
  2. Distinctive:

    Keep it runnable with one command.

    line 31
  3. Distinctive:

    No dead ends or broken links.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design — Prototype

Turn static screens into a working clickable flow that demonstrates the experience end to end. A prototype's job is to let someone experience the flow and give feedback — not to be production-hardened. Stubs are fine and expected; broken navigation is not.

When to use

  • You have screens/components (from image-to-code, url-to-code, or ideate) and need them connected.
  • "Make it clickable", "wire the flow", "let me click through it".
  • Validating a UX flow with stakeholders before real backend work.

When NOT to use

  • No screens exist yet → build them first (design-image-to-code / design-url-to-code).
  • You need production code with real data/auth — that's an engineering task, not a prototype.
  • Just checking a built prototype against the design → design-qa.

Inputs

  • The screens/components to connect.
  • The flow to demonstrate: happy path + key states.
  • ./design/context.md for the JTBD (the flow should make that easy).

Workflow

  1. Map the flow graph: screens are nodes, actions are edges (click → navigate, submit → state change). Write it down before wiring.
  2. Wire routing/navigation between screens.
  3. Add interaction states: hover, active, disabled, loading, empty, error, success. Cover at least the happy path + one error state (the most-skipped, most-important state).
  4. Stub data so it's clickable without a backend; clearly mark where real data plugs in.
  5. Verify: drive the whole happy path in a browser-automation tool — click every step, confirm nothing dead-ends. Fix what breaks.
  6. Keep it runnable with one command.

Worked example

Flow (JTBD: create first project in <2 min): Welcome → Choose template → Name it → Dashboard.

flow graph:
 Welcome --[Get started]--> Template --[select]--> Name --[Create]--> Dashboard
 Name --[empty submit]--> Name(error: "Name required")
 Template --[back]--> Welcome
states wired: hover on cards, loading on Create (300ms stub), error on empty name,
 success → Dashboard with the new project card
stubs: templates = 3 fixtures; "Create" writes to in-memory store (TODO: real API)
verify (browser): clicked Welcome→Template→Name→Create→Dashboard ✓;
 empty-name error shows ✓; back nav works ✓; no dead ends
run: `npm install && npm run dev` → :5173

Quality bar / Definition of done

  • Full happy path is clickable end to end.
  • At least one error/empty state is present and reachable.
  • No dead ends or broken links.
  • Runs locally; build + typecheck clean.
  • A browser walkthrough of the happy path passes.

Common pitfalls

  • Happy-path only — skipping error/empty/loading states; those are where real feedback comes from.
  • Dead ends — a button that goes nowhere kills the demo. Walk every path.
  • Over-engineering — wiring a real backend/auth for a prototype. Stub it, mark the TODO.
  • Style drift — re-styling screens during wiring so they no longer match the locked direction.
  • No verification — assuming it works without clicking through it.

Handoff

Working prototype → design-qa (conformance check vs the design + requirements) → design-share (publish for review). Don't share before QA on anything stakeholder-facing.

Tooling

Needs a browser-automation tool to verify the flow by clicking through it. Without one, wire carefully and manually note that the walkthrough is unverified.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.