.agents/skills/db-seed/SKILL.md
Seed the WealthWise MongoDB database with categories or demo data. Triggers when asked to "seed the database", "add demo data", "populate categories", or "set up test data". Does NOT trigger implicitly during general development tasks.
npx skillsauth add hoangsonww/WealthWise-Finance-Tracker db-seedInstall 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.
Seed the WealthWise database using the project's built-in seed scripts.
| Argument | Command | Seeds |
|----------|---------|-------|
| (none) or categories | npm run db:seed | System transaction categories from categories.seed.ts |
| demo | npm run db:seed -- demo | Full demo dataset: user, transactions, budgets, goals from demo.seed.ts |
| all | Run both in sequence | Categories first, then demo |
.env exists in apps/api/ — check with test -f apps/api/.env. Never read its contents.NODE_ENV=production is set — seeding in production is destructive.apps/api/src/seeds/demo.seed.tsNever run db:seed -- demo without confirming the target environment is not production.
If any doubt exists, ask before proceeding.
development
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.