/proof:buildfrom Proof
Guides Claude through implementing features, fixing bugs, and refactoring code. Runs project checks (type-check, lint, test) after each change and before commits, caching passes and blocking on failures.
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.
git log --oneline -15..claude/proof.json lists the commands that prove this project works.
${CLAUDE_SKILL_DIR}/references/test-tools.md, and tell the user in one line. Don't swap out a runner the project already uses.when is flagged, and needs the user's OK.node "${CLAUDE_PLUGIN_ROOT}/scripts/gate.mjs" --run.
when globs match run. Where a check has a fast variant, that runs instead.git commit, every relevant check runs in full, and a failure blocks the commit.{
"checks": [
{ "name": "types", "run": "npx tsc --noEmit", "when": ["src/", "app/", "tsconfig.json"] },
{ "name": "lint", "run": "npm run --silent lint",
"fast": "npx --no-install eslint --cache --cache-location node_modules/.cache/eslint/ {files}",
"files": ["src/**/*.{ts,tsx,js,jsx}", "app/**/*.{ts,tsx,js,jsx}"],
"fullWhen": ["eslint.config.js", "package.json"], "when": ["src/", "app/", "eslint.config.js"] },
{ "name": "test", "run": "npx --no-install jest --ci",
"fast": "npx --no-install jest --ci --passWithNoTests --findRelatedTests {files}",
"files": ["src/**/*.{ts,tsx,js,jsx}", "app/**/*.{ts,tsx,js,jsx}"],
"fullWhen": ["jest.config.js", "babel.config.js", "package.json", "jest/"],
"when": ["src/", "app/", "jest/", "jest.config.js", "package.json"], "timeout": 600 }
],
"maxRounds": 5
}
The fields:
run: the full command. It runs from the repo root and runs before every commit.when: optional globs. The check runs only if a file this session changed matches one.fast: optional cheaper command for after each reply. {files} becomes the changed files that match files, as quoted absolute paths.fullWhen: changes that force the full command even after a reply, such as config files.cache: false: for checks that depend on things outside the code, like a running server.timeout: seconds, default 300.maxMemoryMB / maxProcessMemoryMB: memory ceilings for a run's processes together and for any one process. They default to half and a quarter of RAM, and can be set at the top level or per check. A check that breaches one is stopped and reported as a leak or loop.testRunTimeout: seconds allowed for test runs you start yourself, default 900. Those runs are wrapped in the same guard automatically.concurrency: how many checks run at once, default 4.maxRounds: how many times the gate sends you back before handing the decision to the user.flutter test on the changed test/ filespytest -q on the changed test filesgo test on the changed packagespasses: false unless the user said otherwise. If it's more than about an hour of focused work, split it and say so.--max-failures=1 (Playwright), --bail (Jest, Vitest), -x (pytest). It only has to show the test fails for the right reason; a whole failing spec waits out every assertion's timeout.${CLAUDE_SKILL_DIR}/references/test-tools.md to the user once.until grep … or wait with pgrep: a line that never comes, or another session's run that matches, holds you until the limit. proof stops wait loops after 5 minutes.${CLAUDE_SKILL_DIR}/references/test-tools.md say which to suggest when none is set up). "Tests pass" is not the end.passes: true in features.json only with evidence naming the command that passed.project_id and its own ports in supabase/config.toml. Leave out services the tests don't use with supabase start -x <services> (supabase start --help lists them), and check docker stats for what each stack really takes.Never implement every screen in one go. Read ${CLAUDE_SKILL_DIR}/references/fidelity.md and follow it:
Install the kit it uses from the repo root: node "${CLAUDE_SKILL_DIR}/fidelity-kit/install.mjs" --app-url <the app's dev URL>.
fidelity/ folder, run node "${CLAUDE_SKILL_DIR}/fidelity-kit/install.mjs" --upgrade. It updates the kit and keeps the app URL. When the mockup and inventories are unchanged, it also commits the kit and moves the contract tag.fast forms for slow checks (test runners, linters) as shown above, using the project's real tools. Tell the user in one line.NEEDS-INPUT: and your question..claude/proof.json to make a failure go away./clear.rm -rf. Scratch work goes in a fresh mktemp -d.fidelity-kit/extract-inventory.mjs (opens in a new tab)fidelity-kit/install.mjs (opens in a new tab)fidelity-kit/run-screens.sh (opens in a new tab)fidelity-kit/verify-screen.mjs (opens in a new tab)fidelity-kit/verify-screen.sh (opens in a new tab)references/fidelity.md (opens in a new tab)references/test-tools.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-change, feature-implementation, bug-fix, refactoring, proof-gate
npx claudepluginhub ifeolulesi/proof --plugin proof6 skills in this plugin
/designProduct and UI design — flows, wireframes, HTML mockups, design systems and tokens, UX copy, micro-interactions. Use when creating or changing a design or mockup, before app code. Produces a mockup engineering can be verified against, with tokens, every screen and state, final copy, test IDs and an interaction spec./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