/proof:designfrom Proof
Creates HTML mockups that serve as testable specs for engineering. Defines design tokens, every screen state, test IDs, and interaction specs before app code is written.
Ships in Proof. 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.
The mockup is the spec that engineering will be checked against. Any element it doesn't name, state it doesn't show, or number it leaves implicit becomes a defect later.
:root. Screens use tokens, not raw values.mockup/ at the repo root (e.g. mockup/app.html):
<meta charset="utf-8"> and <meta name="viewport" content="width=device-width, initial-scale=1"> in the headdata-screen="<id>" container per screen at the device's logical size (default 393×852). When frames sit side by side, give them a fixed width and flex-shrink: 0 so they never squeezedata-screen="checkout--error"data-testid on every element that carries text, an icon, an image or an interaction. Within a screen, suffix repeated items: order-row-1, order-row-2. Engineering mirrors these IDs as testID, accessibilityIdentifier, Key or testTag.mockup/interactions.json, one entry per interactive element:
{"element": "cta-continue", "trigger": "tap", "states": ["default", "pressed", "loading"], "effect": "navigate:/signup", "duration_ms": 120, "easing": "cubic-bezier(0.2, 0, 0, 1)", "delay_ms": 0, "reduced_motion": "no scale"}
Take the numbers from your CSS. Touch screens have no hover, so map hover to pressed.node "${CLAUDE_SKILL_DIR}/scripts/check-design.mjs" mockup/app.html [--viewport 393x852] [--min-target 44]
It fails on any of these:
data-screen framesIt also writes a screenshot of every screen to .proof/design/. It needs Playwright; if it's missing, it prints the install command and exits 3. To have the completion gate enforce it, add to .claude/proof.json:
{"name": "design", "run": "node \"$CLAUDE_PLUGIN_ROOT/skills/design/scripts/check-design.mjs\" mockup/app.html", "when": ["mockup/**"]}
The check passes, you have reviewed every screenshot, and the user has approved the direction. Then commit and tag the mockup (git tag design-v1) so build works against a frozen version.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ifeolulesi/proof --plugin proof6 skills in this plugin
/buildEngineering work of any kind — implementing features, fixing bugs, refactoring, and implementing a design or mockup in an app (web, React Native/Expo, Flutter, native iOS/Android). Use for every code change. Works one unit at a time, proves each one with checks, and sets up the project's completion gate in .claude/proof.json./discoverBrainstorm, scope and spec a product idea or feature before design or code. Use for ideation, problem framing, comparing approaches, prioritising, PRDs and specs, and "what should we build". Ends in a decision plus SPEC.md and features.json in which every requirement says how it will be verified./quickSmall, clear changes done fast but still proven — a copy or styling fix, a contained bug, a config value; three files or fewer. Use when the user asks for a quick fix or the change is obviously small. If it grows past that, the gate switches back to the full build process.Other plugins' skills for the same job