.agents/skills/test-coverage/SKILL.md
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.
npx skillsauth add hoangsonww/WealthWise-Finance-Tracker test-coverageInstall 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.
Run the WealthWise test suite with coverage and summarize the results.
| Argument | Command |
|----------|---------|
| (none) | npm run test:coverage (all packages) |
| api | npx turbo test:coverage --filter=@wealthwise/api |
| web | npx turbo test:coverage --filter=@wealthwise/web |
| types or shared-types | npx turbo test:coverage --filter=@wealthwise/shared-types |
Note: API tests use mongodb-memory-server with a 30-second startup. Do not reduce the timeout.
Package Tests Pass Fail Stmts Branch Funcs Lines
@wealthwise/api 138 138 0 XX% XX% XX% XX%
@wealthwise/web 41 41 0 XX% XX% XX% XX%
@wealthwise/shared-types 151 151 0 XX% XX% XX% XX%
─────────────────────────────────────────────────────────────────────────────
Total 330 330 0
The expected passing count is 330 tests (138 + 41 + 151). If the total differs, note it.
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.
development
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".