proving-changes
БесплатноБез исполняемых скриптовНе проверенProves that a fix or feature works end to end and breaks nothing: reproduces the failure on the unchanged code, reruns the same scenario with the change on…
от kv0906★ 53 звезды на GitHubОб этом скилле
Proving changes
Proof is evidence that convinces a reviewer who will not read the code that the change does what was claimed and breaks nothing. The reviewer decides whether to ship from the proof alone, so build it for a skeptic: every claim needs an observation that would have come out differently if the claim were false.
Unit tests, type checks, and lint support proof but do not make it. A test that mocks the boundary where the bug lives passes whether or not the bug is fixed. Report them as checks, and never describe a change as verified or tested end to end on their strength alone.
Proof takes as long as it takes. Spend the time to run the real scenario instead of reasoning about why it would pass.
Workflow
1. List the claims and the cases
Write down what must be true for the change to be correct, then the case that shows each claim. Include:
- The reported scenario, with the reporter's exact data and conditions: the same message, repository shape, platform, browser, text size, account state, or version.
- Every surface the change reaches, such as web, mobile, desktop app, interactive CLI, headless CLI, API, and SDK. Show each state the user can see, including loading, failure, and recovery.
- A control case: a nearby situation whose behavior must not change. It proves the change is targeted, for example that a menu item still appears when it should, rather than being deleted.
- Adjacent features that share the changed code and could regress.
- The questions the reviewer will ask next. Answer them in the proof instead of waiting for
them:
- Does it break anything else?
- What is the performance cost, before and after?
- Are resources such as watchers, sockets, sessions, and processes cleaned up?
- Does it work on every platform the claim names?
- Does it still work after a restart, a reload, or a reconnect?
When a request names only one of these, such as "show me it works", still cover the others that the change puts at risk.
2. Reproduce on the unchanged code
Run the failing scenario on the code without the change and capture the failure. Use one script or procedure that you will rerun unchanged for the after run. Stash the change, check out the base commit, or build the old version.
Confirm which code each run executed:
- Restart servers, workers, and clients after switching code. Long-running processes keep serving the old code.
- Check a version string, build hash, log line, or file checksum that differs between the two builds.
- For a refactor or a new test harness, plant a deliberate behavior change and confirm the proof detects it. A harness that cannot detect a planted change proves nothing.
If the failure does not reproduce, an after run proves nothing. Change the environment until it reproduces, for example the same platform, the same timing, or production-shaped data. If it still does not reproduce, say so and lower the claim.
Feature work has no failure to reproduce. Capture the starting state instead, so the after state has something to be compared with.
3. Exercise the real path
Drive the change the way a user reaches it. Ranked from strongest to weakest:
- The deployed product, or a staging copy, used through its real interface
- The full local stack: real UI, server, background workers, clients, and the real external services or their staging or sandbox versions
- One real component with its true neighbors, for example the real CLI against a real server
- Integration tests through a public interface
- Unit tests and mocks
Use the strongest level the environment allows, and name the level in the report. Calling an internal API, rendering an isolated component story, or injecting a mocked client skips code the user hits. If you must take such a shortcut, name what it skipped.
For packaged software, test the artifact that ships: the built container, bundle, binary, or installed package. A file missing from the package breaks production while every source-tree test passes.
4. Apply the change and rerun the same scenario
Rerun the identical procedure on the changed code. Change nothing else between the runs: not the data, not the timing, not the injected delays, not the viewport. When a bug is too fast to see, slow it down the same way in both runs and show that the slowdown took effect in each.
Run the whole matrix from step 1, not only the reported case.
5. Collect independent evidence
Gather more than one kind of evidence per claim, so that each kind covers the others' blind spots:
- Visual: screenshots of each state, a recording when motion or timing matters, side-by-side before and after images, and frame strips for fast transitions.
- State: DOM and accessibility facts, database rows, files and git state on disk, API responses, and process lists.
- Logs: timestamped server, client, and worker lines that show the code path taken, correlated across components.
- **Numbe
Установить proving-changes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл proving-changes?
Proves that a fix or feature works end to end and breaks nothing: reproduces the failure on the unchanged code, reruns the same scenario with the change on the real stack, covers a matrix of cases and controls, and reports before and after evidence such as recordings, screenshots, logs, database state, and numbers. Use when the user asks for proof ("irrefutable proof", "prove it", "show me it works"), asks to test a change end to end, asks for before and after numbers or a demo video, or asks whether a change breaks anything.
Как установить скилл proving-changes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл proving-changes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic