Verify Magic Collector backend and frontend functionality with health checks and smoke tests.

Install

mkdir -p .claude/skills/verify-vieiragabrielalexandre && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19070" && unzip -o skill.zip -d .claude/skills/verify-vieiragabrielalexandre && rm skill.zip

Installs to .claude/skills/verify-vieiragabrielalexandre

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Verifica se uma mudança no Magic Collector funciona corretamente. Use quando precisar confirmar que uma feature funciona, testar uma correção, validar integração com Scryfall, ou checar regressões após mudanças.
211 charsno explicit “when” trigger
Beginner

Key capabilities

  • Confirm backend health using a `health` endpoint
  • Review backend logs for recent activity
  • Test specific API routes for cards, decks, and battles
  • Verify integration with Scryfall for card details
  • Perform manual smoke tests on the frontend UI

How it works

This skill verifies changes in the Magic Collector application by performing a health check, reviewing logs, testing API routes, validating Scryfall integration, and conducting manual smoke tests on the frontend.

Inputs & outputs

You give it
User request to verify changes in Magic Collector
You get back
Health check status, API response data, Scryfall integration status, and frontend UI validation

When to use verify

  • Verifying backend health
  • Testing card API integration
  • Smoke testing collection UI

About this skill

Visão geral

Verificação é sempre: health check → logs → teste da rota/funcionalidade alterada → smoke test nos fluxos vizinhos.

Passo 1 — Confirmar que o backend está saudável

curl -s http://localhost:8080/health
docker compose logs backend --tail=20

Se não responder, rebuild primeiro: docker compose up --build -d backend.

Passo 2 — Testar a rota ou funcionalidade alterada

Cartas

# Listar (confirma paginação, busca, ordenação)
curl -s "http://localhost:8080/cards?page=1&sort=name&order=asc" | python3 -m json.tool | head -50

# Criar uma carta de teste
curl -s -X POST http://localhost:8080/cards \
  -H "Content-Type: application/json" \
  -d '{"name":"Lightning Bolt","set_code":"m11","collection_number":"149","language":"EN","quantity":1}' \
  | python3 -m json.tool

# Detalhar (inclui dados Scryfall — confirma integração externa)
curl -s http://localhost:8080/cards/{id} | python3 -m json.tool

Decks

curl -s http://localhost:8080/decks | python3 -m json.tool

Batalhas

curl -s http://localhost:8080/battles | python3 -m json.tool

Passo 3 — Testar integração Scryfall (se tocou mtgapi)

cd backend && go run ./cmd/testmtg/main.go

Passo 4 — Smoke test manual no frontend

Abrir http://localhost:5173 e verificar:

Aba Coleção:

  • Cadastrar carta com set_code + número → modal deve mostrar imagem e dados do Scryfall
  • Buscar por nome/cor/tipo
  • Editar e salvar uma carta
  • Remover uma carta

Aba Decks:

  • Criar deck → atribuir cartas → verificar contagem
  • Ícone do set carrega ao gerenciar deck

Aba Batalhas:

  • Registrar resultado → aparece na lista

Passo 5 — Checklist de regressão

  • Health endpoint retorna 200
  • Nenhum erro vermelho no console do browser
  • Listagem de cartas carrega com paginação
  • Modal de detalhes abre com dados Scryfall
  • Funcionalidade modificada funciona no caminho feliz
  • Funcionalidades vizinhas não quebraram

When not to use it

  • When the backend is not running or responsive
  • When the `mtgapi` integration is not relevant to the changes

Limitations

  • Backend must be running for health checks and API tests
  • Manual smoke test on frontend requires user interaction
  • Scryfall integration test is only relevant if `mtgapi` was touched

How it compares

This workflow provides a structured verification process for the Magic Collector, including specific API tests and Scryfall integration checks, unlike a generic testing approach that might not cover these domain-specific aspects.

Compared to similar skills

verify side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
verify (this skill)02moReviewBeginner
test-with-postgres12moReviewIntermediate
woocommerce-backend-dev72moNo flagsIntermediate
e2e01moCautionIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry