Zum Inhalt springen
Skillpedia
Tests8.2k · #12543

verify-changes

Was er macht

Diese Fähigkeit lässt deine KI ihre eigenen Änderungen testen, indem sie diese ausführt, bevor sie sagt, dass sie funktionieren. Sie ist für alle gedacht, die echten Nachweis wollen, dass neuer oder geänderter Code funktioniert.

Wann du ihn nutzt

  • ✓Wenn deine KI gerade Code geschrieben oder geändert hat und du einen Nachweis willst, dass er funktioniert.
  • ✓Wenn du bestätigen musst, dass eine Fehlerkorrektur den Fehler wirklich beendet.
  • ✓Wenn eine Build- oder Konfigurationsänderung durch tatsächliches Ausführen geprüft werden muss.

Link zum Skill

https://github.com/vudovn/ag-kit/blob/main/.agents/skills/verify-changes/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/verify-changes/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Nimm die Änderung vor, führe sie dann aus und zeig mir die Ausgabe, damit ich weiß, dass sie wirklich funktioniert.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Die Fähigkeit wählt die Prüfmethode passend zur Art der Änderung, etwa das Reproduzieren eines Fehlers oder das Ausführen des Builds. Die KI führt sie aus und meldet die Belege.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Was bedeutet Prüfung durch Ausführung?

Es heißt, den Code laufen zu lassen und zu melden, was passiert ist, statt nur den Code zu lesen und anzunehmen, dass er funktioniert.

Wie prüft sie ein Refactoring?

Sie führt die bestehenden Tests aus, um zu bestätigen, dass nichts kaputtgegangen ist.

Funktioniert sie bei Änderungen an der Benutzeroberfläche?

Ja. Die Fähigkeit schlägt vor, die Komponente zu rendern, um die visuelle Ausgabe zu bestätigen.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
8.2k
Platz im Ranking
#12543
Lizenz
MIT
Aktualisiert
18.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills