Prompt file imported from lns-l/Vibe-Coding (
.claude/commands/api/health-check.md). Fill in{{arguments}}before use. Copyright stays with the author.
Para que serve: Slash command
/api.health-checkpara API fictícia Acme. Função: Localizar e validar rota/healthe resposta esperada (template).
/api.health-check
Valida configuração de health da API (template).
- Ler
src/main.py(ou equivalente) e localizar rota/health - Se servidor local estiver rodando:
curl -sf http://localhost:8000/health(ajuste porta) - Reportar: status HTTP, corpo da resposta, tempo de resposta
Se {{arguments}} informar URL base, usar essa base em vez de localhost.
