.agents/skills/health-check/SKILL.md
Check the health of the running WealthWise API, web app, and MongoDB services. Triggers when asked to "check if the app is running", "verify the API is up", "is the server healthy", or "show service status".
npx skillsauth add hoangsonww/WealthWise-Finance-Tracker health-checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Check the health of the running WealthWise services.
curl -sf http://localhost:4000/api/health
Expected: HTTP 200 with { "status": "ok" }.
curl -sf -o /dev/null -w "%{http_code}" http://localhost:3000/
Expected: HTTP 200.
# Try Docker first
docker compose ps 2>/dev/null
# If Docker is not available, try Podman
podman ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" 2>/dev/null
The API health endpoint reflects DB connectivity. HTTP 503 from the health endpoint typically means MongoDB is unreachable.
Service Status Notes
─────────────────────────────────────────
API (port 4000) ✓ up | ✗ unreachable
Web (port 3000) ✓ up | ✗ unreachable
MongoDB ✓ connected | ✗ disconnected (via API health)
Docker/Podman ✓ running X/N containers | ✗ daemon not running
If a service is down:
docker compose ps or podman psdocker compose logs --tail=30 <service> or podman logs --tail=30 <container>$docker-updevelopment
Run the WealthWise test suite with coverage reporting and summarize the results. Triggers when asked to "run tests with coverage", "check test coverage", "show coverage report", or "how many tests pass". Can be scoped to api, web, or types.
testing
Run the full WealthWise pre-PR checklist and report a pass/fail for each gate. Triggers when asked to "run pre-PR checks", "check if this is ready to merge", "validate before opening a PR", or "run the full check". Does NOT trigger implicitly.
development
Scaffold a complete new Next.js dashboard page for the WealthWise web app. Triggers when asked to "add a page", "create a dashboard screen", "build a UI for <feature>", or scaffold any new frontend feature end-to-end. Does not trigger for API-only or backend tasks.
development
Scaffold a new Mongoose model and its CRUD service for the WealthWise API. Triggers when asked to "create a model", "add a Mongoose schema", or add the data layer for a new entity without a full endpoint. Does NOT scaffold routes, controllers, or frontend code. Use $api-endpoint for the full stack.