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.zipInstalls 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.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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| verify (this skill) | 0 | 2mo | Review | Beginner |
| test-with-postgres | 1 | 2mo | Review | Intermediate |
| woocommerce-backend-dev | 7 | 2mo | No flags | Intermediate |
| e2e | 0 | 1mo | Caution | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
test-with-postgres
storj
Run unit tests that require PostgreSQL. Use this skill when the user wants to run tests with PostgreSQL database backend. Automatically handles checking for and configuring a PostgreSQL Docker container.
woocommerce-backend-dev
woocommerce
Add or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code. **MUST be invoked before writing any PHP unit tests.**
e2e
wp-media
Run E2E smoke tests (basic) or full acceptance + regression suite (extended).
smart-contract-engineer
jw3b-dev
Expert in Solidity, Foundry, EVM security. Specializes in gas optimization, upgradeable patterns, and fuzz testing.
test-api-serializer
engremran07
Serializer tests: to_representation, to_internal_value, validation. Use when: testing DRF serializer output, input validation, custom field logic.
integration-testing
EmanuelAngel
>