/product-loops:product-design-loop [your notes, a notes file, or 'make <screen> like <reference>']from product-loops
Changes how existing screens of a prototype look and work, from one set of notes, and runs to the end without asking again. Three ways in - a list of notes or screenshot comments ("rows too tight", "rename this", "this button does nothing", "remove descriptions everywhere"), a redesign of named screens, or copying a screen from a reference (a video, a live web page, screenshots, a design file, another HTML file). Use when the person types /product-design-loop, or sends design notes or screenshots of a prototype they want changed, asks to rework or restyle screens that already exist, or asks to make a screen look or work like a reference. Not for building a new product or new modules from nothing.
Ships in product-loops. 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.
Read when SKILL.md points to them; scripts run unread.
Read ${CLAUDE_SKILL_DIR}/shared/loop-rules.md first, all of it, and follow it.
In this file:
STATE means node "${CLAUDE_SKILL_DIR}/shared/scripts/loop-state.mjs"CHECK means node "${CLAUDE_SKILL_DIR}/scripts/page-check.mjs" (screenshots, page text, clicks; run CHECK help)SERVE means node "${CLAUDE_SKILL_DIR}/scripts/serve.mjs" (a local server for plain HTML)RUN means the run folder that STATE init prints. Files named below without a folder live in RUN.${CLAUDE_SKILL_DIR}/references/ use the same names.Stop fact: every note in requests.md is done and swept, no screen that no note names broke or changed
without a reason (the before and after compare says so), and the prototype's link opens.
The person's own taste comes from their installed skills and the folder's CLAUDE.md, never from this file.
Nothing is published, pushed, committed or sent unless the person asked for it in node 1, in words.
intake: reads every note at once into one numbered request list, asks once, waits for "go".run-prototype: finds and runs the prototype, gives the link, takes "before" screenshots of every screen.copy-reference: copies the reference into the screen it changes. Left when there is no reference.make-changes: makes each change on the list and checks each one.sweep: applies every "everywhere" note to every screen.review: a fresh agent checks the stop fact and looks for serious design faults on the changed screens.handover: writes handover.md and finishes the run.Run STATE init --loop product-design-loop --nodes intake,run-prototype,copy-reference,make-changes,sweep,review,handover,
then follow the intake rules in loop-rules.md.
${CLAUDE_SKILL_DIR}/references/needs.md. It lists every need, its default, and where to look first.CLAUDE.md and the step skills, as needs.md says.requests.md as ${CLAUDE_SKILL_DIR}/references/requests-format.md says: one numbered row per
note. Split a note that asks for two things into two rows. A screenshot note becomes words in its row.Reply with your answers, or just "go" to use the defaults.requests.md and brief.md (the goal, the prototype, every need with its
value, the step skills found, the stop fact), run STATE close-intake, say the one line from loop-rules.md,
and go straight on.A note that arrives after "go" is never a question. Add it as a new row and do it in this run.
STATE start run-prototypedev or start script: nohup npm run dev > RUN/server.log 2>&1 & (so the command returns), then
read RUN/server.log until it shows the local address.SERVE start --dir <its folder> --state RUN/server.json.screens.json (format in CHECK help): every screen a person can reach, from the routes, the nav
and the links in the code. A screen with no address of its own gets an open step. Add the reference as a
screen named reference-<name> when it is a local file or a web page.before/source/. In a git folder, also write git rev-parse HEAD and
git status --short to before/git.txt. Never commit, stash or reset.CHECK capture --screens RUN/screens.json --out RUN/before. Then CHECK click each button or link that a
row renames, moves or restyles but does not ask to make work. Write a broken screen, and each such control
that is dead, in requests.md under "Broken before the run". Not this run's fault, not its job: never fix it.curl -s -o /dev/null -w "%{http_code}" <link> prints 200. Write the link and the code to link.txt.
Tell the person the link in one line.STATE done run-prototype --check "link answers 200, before screenshots taken" --proof RUN/before/summary.jsonWith no reference: STATE left copy-reference --why "no reference was given" and go on.
STATE start copy-reference${CLAUDE_SKILL_DIR}/references/copy-reference.md: get the reference as screenshots and text, list
every part of it in reference-parts.md, build it into the target screen in exact or flow-only mode.
Never edit the reference itself.RUN/reference-check/ (with --only), and mark each row of
reference-parts.md found, with where. Every row must be found, or say left out: <why> with a
STATE decide. A part never listed is a fault. Look at both screenshots side by side.requests.md done.STATE done copy-reference --check "every part of the reference is on the screen" --proof RUN/reference-parts.mdSTATE start make-changes${CLAUDE_SKILL_DIR}/references/make-changes.md: its checks always apply. When a product-design
skill (or the design skill CLAUDE.md names) is installed, also load it with the Skill tool; its taste wins.
When a skill says to propose first or wait, take its recommended option, STATE decide, and list the
rest under Proposals.requests.md that is still todo, in order, as make-changes.md says. After each row, run its
check and write the command and its real output to change-checks.md. Mark the row done, or retry it.
Run STATE decide the moment you make a choice, not in a batch at the end.STATE.CHECK capture --screens RUN/screens.json --out RUN/after, then
CHECK compare --before RUN/before --after RUN/after --explained <screens> --out RUN/compare-changes.md.
<screens> are only the screens where a row's thing really is (its text in before/*.txt, or its code),
never every screen an everywhere row lists. For each UNEXPECTED screen, read what moved. Fix a leak (scope
the rule to the screen the note named). Fix every BROKEN screen. Run the compare again.design-review skill when installed, else
${CLAUDE_SKILL_DIR}/references/design-check.md. Either way, write RUN/design-check.md: one line per
design-check.md rule, with what you ran and what it found. Fix every P1 in the parts this run changed.
A larger change it suggests goes under Proposals in requests.md, not into the build.done or left with a reason, compare-changes.md ends with UNEXPECTED none and
BROKEN none, and design-check.md has a line for every rule and no open P1.STATE done make-changes --check "every row checked, compare clean, design check has no P1" --proof RUN/change-checks.mdSTATE start sweep${CLAUDE_SKILL_DIR}/references/sweep.md: for every row marked everywhere, write the rule in one
line, find every place it fits on every screen and in the code, apply it, and list each place in sweep.md.after/ again and compare, as sweep.md says.swept in requests.md.STATE done sweep --check "every rule found no place left; compare clean, or no file changed" --proof RUN/sweep.mdSTATE start review${CLAUDE_SKILL_DIR}/references/review-prompt.md, with RUN, the link, the prototype's changed files,
CHECK written out in full, and the design rules found in node 1.review.md. If it says FAIL: fix what it names, STATE retry review --why "<what failed>", and start
a new review agent in retry mode: rename review.md to review-<try>.md and fill in the prompt's Retry
part. After 3 retries,
STATE left review --why "<what still fails>".STATE done review --check "fresh agent says PASS" --proof RUN/review.mdFollow the hand-over rules in loop-rules.md. In handover.md also give:
requests.md, so the person knows the run left it as it was.Leave the server running, so the link opens. A row that is still not done goes under "Left for you".
references/copy-reference.md (opens in a new tab)references/design-check.md (opens in a new tab)references/make-changes.md (opens in a new tab)references/needs.md (opens in a new tab)references/requests-format.md (opens in a new tab)references/review-prompt.md (opens in a new tab)references/sweep.md (opens in a new tab)scripts/page-check.mjs (opens in a new tab)scripts/serve.mjs (opens in a new tab)shared/hooks/count-person-replies.mjs (opens in a new tab)shared/hooks/finish-every-node.mjs (opens in a new tab)shared/hooks/no-questions-after-intake.mjs (opens in a new tab)shared/loop-rules.md (opens in a new tab)shared/scripts/loop-state.mjs (opens in a new tab)shared/scripts/run-files.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/product-build-loopBuilds a clickable web prototype of a new product, or adds a feature or module to a prototype that already exists, in one unattended run. It asks every question once at the start, gives a local link before it builds, builds and reviews every module on the list, checks every click in a real browser, makes a link per state for a demo, and hands over. Use when someone types /product-build-loop, or asks to "build a prototype of", "make a clickable demo of", "start a new product", "add a module to my prototype", or "build this end to end". For changes to how existing screens look, or a list of screenshot notes, use a design loop instead./product-deck-loopMakes a deck, one-pager, brochure or simple web page for a meeting with a company, end to end. Researches the company, its industry and the people in the meeting with a source link on every fact, writes a story with one idea per slide, builds it (keeping named slides of a start deck when one is given), checks every claim and word, and makes an HTML deck, an editable 16:9 PowerPoint in real text and shapes, and a PDF. Asks every question once at the start, then runs alone. Use when someone asks for "a deck for my meeting with X", "slides for a first meeting", "an outside-in point of view on a company", "add 3 slides to this deck for X", "a one-pager or brochure for a prospect", or "turn this into an editable PowerPoint".Other plugins' skills for the same job
npx claudepluginhub unify-apps/product-loops --plugin product-loops