Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

prove-it-works

БесплатноЗапускает вложенные скриптыНе проверен

Before saying a coding task is done, fixed, working or passing, run the project's real tests, build, typecheck and lint, show the real output, and inspect the…

shashwat14mот shashwat14m166 установок в других каталогах

Об этом скилле

Prove It Works

Before you say "done", prove it. This skill runs the project's real checks, shows their real output, and inspects your change for the problems that pass every check but still mean the work is not done.

The rule that matters: never say a check passed unless you ran it in this turn and its output is in front of you. A check that did not run is NOT RUN, never PASS. The script's first line is the verdict; it goes first in your reply, word for word.

Pick the mode

The situation Mode Run
You finished (or think you finished) a coding task, or someone asks whether it works Prove it scripts/prove.py
The person corrected a mistake and it could happen again Never twice scripts/rules.py add
You want to see which written project rules exist and how they are checked List rules scripts/rules.py <repo>

Prove it

  1. Save the task you were given (the request plus any acceptance criteria) to a temporary file outside the repo, then run, with the Bash tool timeout set to 600000 ms (or in the background for longer suites):
python3 <skill-dir>/scripts/prove.py <repo> --task-file <tmp-task-file>
  • The change is worked out for you: on a feature branch, everything since the merge-base with the default branch (commits and uncommitted work); on the default branch, uncommitted work, or the last commit if it is from the last 24 hours. A merge commit or an old commit on a clean tree is "no change to inspect". --base <ref> overrides this.
  • Each command gets --timeout seconds (default 300); all commands together get --budget seconds (default 540), after which the rest are NOT RUN. If the Bash tool would stop the script sooner, the script's children are stopped with it, so raise the Bash timeout instead of lowering these.
  • Without a task file the checks still run, but scope and task items cannot be judged, and the verdict says so.
  1. Lead with the verdict. Your first line quotes the script's first line exactly. Then the checks table (command, result, exit code, time). Never paraphrase a FAIL into something softer, never round NOT RUN up to PASS.
Verdict Means You say
PROVEN: ... A task was given, every check ran and passed, no problems in the change Done, with the proof and your requirements list (step 4)
CHECKS PASS (...) Nothing failed, but something was not covered: no task, no test command, nothing to inspect, or a check that fails only on untouched lines The checks pass, and exactly what the line says was not covered
NOT VERIFIED: ... Checks could not run (dependencies, tools, time budget, unsafe to run) It is not proven; name the command that would let them run, and ask once
NOT DONE: ... A check fails or the change has a problem "Not done yet", then each item
  1. If NOT DONE: fix each failing check and each problem, then run the proof again, until it passes or what is left needs the person.

    • Fix the code, not the check: do not skip, loosen, delete or re-record a test, add .only, add @ts-ignore / # type: ignore / eslint-disable, catch and ignore the error, special-case the test input, stub out the code under test, lower a coverage threshold, add || true, or switch off a CI job. The script flags all of these.
    • NOT RUN: do not install anything without asking. Give the person the exact command from the reason column, or ask whether you may run it. If the Stop hook reported it, ask once, then stop.
    • A problem the task really asked for (a dependency the person requested) is not a defect: quote the task sentence that asks for it, in one line, and move on.
  2. Do your own review pass with references/review-checklist.md, even when the verdict is PROVEN. The scripts match names and patterns; they cannot tell whether the change does what the task meant.

    • Write the requirements as a numbered list (every behaviour, name, file, flag, default, limit, error case, output format, every "also" and "and"). Next to each, the file:line in the diff that delivers it, or MISSING. Docs, comments, usage strings and your own summary are not evidence. Any MISSING row means not done, whatever the first line says.
    • Read every changed test: is each assertion still exact, does it run the real code, did the test count grow?
    • Open each Check these item and decide: real problem, intended (say why), or not applicable.
    • Check the rules Claude must check by reading that apply to the change.
  3. Report with the wording in the checklist's last section: verdict first, then what is not done or not covered, then the evidence.

Never twice

When the person corrects a mistake that a pattern, a path or a command could catch next time, offer to add a rule, then run:

python3 <skill-dir>/scripts/rules.py add --repo <repo> --kind grep --pattern '<regex>' --why '<the mistake, in one line>' [--glob 'src/**']
py
Полный SKILL.md на ClawHub

Установить prove-it-works в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл prove-it-works?

Before saying a coding task is done, fixed, working or passing, run the project's real tests, build, typecheck and lint, show the real output, and inspect the change for the quiet ways "done" is not done (skipped or weakened tests, test commands that cannot fail, swallowed errors, hardcoded results, files outside the task, broken project rules, debug leftovers, secrets, dependency and migration mistakes). Use it at the end of every coding task, before committing or opening a PR, and whenever someone asks "did you test it?", "is it really done?" or "prove it". Also use it when the person corrects a mistake ("don't do that again") to turn the correction into a rule checked on every later proof.

Как установить скилл prove-it-works?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл prove-it-works запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить prove-it-works с