From testing
Health endpoint and critical path smoke testing patterns. Use when running quick validation tests, checking health endpoints, verifying critical paths respond correctly, or when user mentions smoke testing, health checks, quick validation, sanity checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/testing:smoke-testingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**CRITICAL: The description field above controls when Claude auto-loads this skill.**
CRITICAL: The description field above controls when Claude auto-loads this skill.
Provides scripts, templates, and patterns for smoke testing - quick validation that critical endpoints and pages are responding correctly before running full test suites.
Smoke tests are the fastest, most basic tests that verify:
They run before unit/integration/E2E tests to catch deployment failures early.
Full smoke test orchestrator:
bash scripts/run-smoke-tests.sh [base-url] [project-path]
Individual checks:
bash scripts/check-health-endpoint.sh [health-url]
bash scripts/verify-critical-paths.sh [base-url] [paths-file]
Smoke test configuration lives in .claude/project.json:
{
"testing": {
"smoke": {
"health_endpoint": "/api/health",
"critical_paths": ["/", "/login", "/dashboard"],
"base_url": "http://localhost:3000",
"timeout_seconds": 10
}
}
}
Or use a standalone config file:
// smoke-test-config.json
{
"base_url": "http://localhost:3000",
"health_endpoint": "/api/health",
"timeout_seconds": 10,
"critical_paths": [
{ "path": "/", "expected_status": 200 },
{ "path": "/login", "expected_status": 200 },
{ "path": "/api/health", "expected_status": 200, "expected_body": "ok" }
]
}
Next.js App Router:
// src/app/api/health/route.ts
export async function GET() {
return Response.json({ status: 'ok', timestamp: new Date().toISOString() })
}
Express:
app.get('/health', (req, res) => {
res.json({ status: 'ok' })
})
FastAPI:
@app.get("/health")
async def health():
return {"status": "ok"}
Go:
http.HandleFunc("/health", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
json.NewEncoder(w).Encode(map[string]string{"status": "ok"})
})
Smoke tests should run:
curl for HTTP requestsjq for JSON parsing (optional)npx claudepluginhub vanman2024/dev-lifecycle-marketplace --plugin testingRuns fast smoke tests validating critical paths like health checks, UI, auth, and APIs post-deployment using curl, Playwright, or Bash scripts.
Executes API smoke tests validating health endpoints, CRUD operations, auth, search, response times, and performance SLAs across staging/production during releases and deployments.
Validate integrated build pipeline and running services with health checks and smoke tests. Use when verifying project builds.