verify-changes
What it does
This skill makes your AI test its own changes by running them before saying they work. It is for anyone who wants real evidence that new or changed code functions.
When to use it
- βWhen your AI has just written or modified code and you want proof it works.
- βWhen you need to confirm that a bug fix really stops the bug.
- βWhen a build or configuration change must be checked by actually running it.
Skill link
https://github.com/vudovn/ag-kit/blob/main/.agents/skills/verify-changes/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βMake the change, then run it and show me the output so I know it actually works.β
5 new skills a week. 1 minute to read.
How it works
The skill matches the verification method to the type of change, such as reproducing a bug or running the build. The AI runs it and reports the evidence.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Verify Changes β Prove Code Works
"Code that exists" β "Code that works." This skill ensures changes are verified through execution.
Core Principle
β Verification by inspection: "I can see the function exists, it should work"
β Verification by assumption: "The types check out, so it's correct"
β
Verification by execution: "I ran it, here's the output, it works because [evidence]"
Verification Protocol
Step 1: Identify What Changed
- Which files were modified?
- What behavior should be different now?
- What was the original bug/requirement?
Step 2: Determine Verification Method
| Change Type | Verification Method |
|---|---|
| Bug fix | Reproduce the original bug scenario β confirm it no longer occurs |
| New feature | Run the feature β confirm expected output |
| Refactor | Run existing tests β confirm nothing broke |
| API change | Call the endpoint β confirm response shape |
| UI change | Render the component β confirm visual output |
| Config change | Load the config β confirm values applied |
| Build/infra | Run build command β confirm success |
Step 3: Execute Verification
# For Node.js projects
npm run build # Does it compile?
npm run test # Do tests pass?
npm run dev # Does it start?
# For specific files
node -e "require('./path/to/module'); console.log('β
Loads correctly')"
# For API endpoints
curl http://localhost:3000/api/endpoint
# For scripts
python script.py --test
Step 4: Report Evidence
## Verification Report
### What was changed
- [File list and summary]
### How it was verified
- [Exact commands run]
### Evidence
- Build: β
Compiled without errors
- Tests: β
42/42 passing
- Runtime: β
Server starts, endpoint returns expected JSON
- Edge case: β
Empty input handled correctly
### Not yet verified
- [Anything that couldn't be tested automatically]
Verification Checklist by Project Type
Web Application
-
npm run buildβ compiles without errors -
npm run lintβ no linting errors -
npm run testβ all tests pass - Dev server starts successfully
- Changed pages render correctly
- No console errors in browser
API / Backend
- Server starts without errors
- Changed endpoints respond correctly
- Error cases return appropriate status codes
- Database queries execute successfully
CLI / Script
- Script runs without errors
- Expected output matches actual output
- Error handling works (bad input test)
- Help/usage text is correct
Anti-Patterns
| Anti-Pattern | Why It's Bad | Fix |
|---|---|---|
| "It should work" | No evidence | Run it and show output |
| Only checking happy path | Bugs hide in edge cases | Test error paths too |
| Verifying only compilation | Compiles β correct | Test runtime behavior |
| Skipping verification for "trivial" changes | Trivial changes cause real bugs | Verify everything |
Integration with Other Skills
| After Using | Verify With |
|---|---|
frontend-design β UI changes |
Render in browser, check console |
backend-specialist β API changes |
curl endpoints, check responses |
database-design β Schema changes |
Run migrations, query data |
testing-patterns β New tests |
Run test suite, check coverage |
FAQ
What does verification by execution mean?
It means running the code and reporting what happened, not just reading the code and assuming it works.
How does it check a refactor?
It runs the existing tests to confirm nothing was broken.
Does it work for user interface changes?
Yes. The skill suggests rendering the component to confirm the visual output.
Details
Original description by the author
Prove code works by running it, not just checking it exists. Verification through execution rather than inspection. Use after writing or modifying code to ensure it actually functions correctly.
repo: vudovn/ag-kit
Popularity
- GitHub stars
- 8.2k
- Ranking position
- #12543
- License
- MIT
- Updated
- 10/18/2026
Comments
- β¦
More skills from this repository
batch-operations
8.2kHelps your agent make the same change across many files at once, such as renaming a function or replacing an old import everywhere.
brainstorming
8.2kTeaches your agent to ask clarifying questions before building anything new or complex, so it understands your goal first.
code-review-checklist
8.2kGives your agent a checklist for reviewing code for correctness, security, performance, testing and documentation, including AI-specific risks.
code-review-graph
8.2kHelps your agent review code in large projects using a structural map, so it reads only the files affected by a change.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.