Pular para o conteúdo
Skillpedia
Testes8,2 mil · #12543

verify-changes

O que ela faz

Esta skill faz sua IA testar as próprias alterações, executando-as antes de dizer que funcionam. É para quem quer provas reais de que o código novo ou alterado funciona.

Quando usar

  • ✓Quando sua IA acabou de escrever ou modificar código e você quer uma prova de que funciona.
  • ✓Quando você precisa confirmar que uma correção de bug realmente interrompe o problema.
  • ✓Quando uma alteração de build ou de configuração precisa ser verificada executando-a de fato.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/verify-changes/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Faça a alteração, depois execute-a e me mostre a saída para eu saber que realmente funciona.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill escolhe o método de verificação conforme o tipo de alteração, como reproduzir um bug ou executar o build. A IA executa e apresenta a evidência.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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
Perguntas frequentes

O que significa verificar por execução?

Significa executar o código e relatar o que aconteceu, e não apenas ler o código e presumir que funciona.

Como ela verifica uma refatoração?

Ela executa os testes existentes para confirmar que nada foi quebrado.

Funciona para alterações de interface?

Sim. A skill sugere renderizar o componente para confirmar a saída visual.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
8,2 mil
Posição no ranking
#12543
Licença
MIT
Atualizada em
18/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas