/model-citizen:design-loopfrom Model Citizen
Runs a build-screenshot-critique-fix loop to improve visual quality of UIs, pages, dashboards, game scenes or 3D assets against rubrics with accessibility, design-token, runtime and licensing gates.
Ships in Model Citizen. 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.
A closed loop that raises visual quality by measurement rather than taste. The agent that built the thing cannot grade it, so an independent judge with a clean context scores each round against a locked target until it clears the bar or stalls.
Derived from dream-loop (MIT) — see ATTRIBUTION.md.
Two standing rules that apply even outside the loop. Visual work is verified by a capture the agent reads before anything is shown to the user; a claim about how something looks without a capture behind it is unverified. And the look is designed in cheap loops — a mock, a sketch, a throwaway render — before it is engineered into the real pipeline. The loop mechanics are its contribution. The rubrics, hard gates, escalation and asset policy here are ours and differ deliberately; do not reintroduce its asset-sourcing chapter.
This skill refines something that already renders. It needs a running artifact to screenshot. It does not decide what screens exist, what the flows are, or how anything behaves.
| If the ask is | Use |
|---|---|
| What screens exist, what the flows are, how it behaves | your planning framework's UX specification workflow |
| A mockup, wireframe or screen design from scratch | design — canvas, no running artifact needed |
| Styling a published Artifact page | artifact-design |
| Make the thing that exists look far better | this skill |
A UX spec produces the brief. This produces the finish. If a surface has been specified but not built, build it first — there is nothing to capture until then.
| Mode | Surface | Rubric |
|---|---|---|
| ui | Web app, iOS/Mac app, landing page, standalone HTML doc, dashboard | references/rubric-ui.md |
| scene | 3D scene, game view, rendered asset, Blender output | references/rubric-scene.md |
Read only the rubric for your mode. If the request spans both, run two loops with separate targets — never average one rubric across both.
Prerequisites: a locked target and a working capture command. Get both before round 1.
.design-loop/target.<ext> and do not regenerate it mid-loop.strong class, hand
steps 3 to 5 and 7 to the designer agent, which declares that class; give it the workspace,
the target, the capture command and the last verdict. It never judges; step 6 stays yours..design-loop/round-<n>.png.design-judge agent with the image paths, the surface type and the
target path and evidence for non-visual hard gates, per
references/judge.md. Never judge your own work inline.Each rubric defines gates that are pass/fail, not scored. A failing gate blocks exit at any score. Accessibility, design-token adherence, runtime budget and asset licensing are gates precisely because a loop optimizing for "looks good" will trade them away otherwise.
Never lower a gate to exit the loop. Report it unmet instead.
Follow the standing autonomous-loop rule: interrupt only for blocking findings, for product, UX, security or schema calls outside the brief, or for anything destructive. Everything else goes on a running Decisions needed list while the loop keeps moving.
Ambiguous design calls are not interrupts. Implement the sensible default, keep going, and headline it at the end for confirm or override.
When you do stop, report: current score with per-axis breakdown, gate status, what you changed, what is still open, and the specific question you need answered.
Sourcing is governed entirely by the chosen licensing stance, plus any path-scoped
asset rule the project carries. Invoke the licensing-review skill before incorporating anything new.
Three things this loop must never do, regardless of how much they would improve the score:
If no compliant asset clears the bar, adapt a compliant base or author original geometry. Say so plainly rather than quietly substituting something weaker.
Keep everything in .design-loop/ at the repo root:
.design-loop/
target.png locked reference, written once
round-1.png capture per round
verdict-1.md judge output per round
notes.md decisions needed, assumptions, gate status
Add .design-loop/ to ~/.config/git/ignore once so it stays out of every repo.
If given one, record the clock after the target is locked and check it between rounds. Do not trade visual quality for the deadline — hitting the limit with real, beautiful progress beats landing complete and ugly. Report what you would do with another round.
If no budget is given, run to an exit criterion and warn up front that this consumes real tokens: each round is a build pass, a capture and a judge subagent.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jakeselby/model-citizen --plugin model-citizen15 skills in this plugin
/api-verificationProve a search, filter or API answer is real before relying on it, and budget web search across a fan-out. Use when querying an unfamiliar API, a filter returns suspiciously clean results, a per-item error may have been swallowed, or briefing research agents./architecture-viewerOpen or update an architecture diagram with the selected builtin or custom viewer, preserving a neutral session handoff. Use when asked to inspect architecture interactively or continue an existing diagram session./code-quality-instrumentsMeasure whether a test suite is any good, not only that it passes — branch coverage, mutation score, complexity-times-coverage risk, duplication. Use when adding or reviewing tests on a change that matters, a suite passes but a bug still shipped, coverage is high and confidence is not, or before promising a module is well tested.Other plugins' skills for the same job