.cursor/skills/db-migration/SKILL.md
Create and apply Prisma migrations; validate schema. Use when changing the database schema, adding models or columns, or running migrations.
npx skillsauth add sedarged/TikTok-AI-Agent db-migrationInstall 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.
Create and apply Prisma migrations for TikTok-AI-Agent.
apps/server/prisma/schema.prisma. Keep relations, @id, @default, etc. consistent.npm run db:migrate:dev (creates and applies in dev), orcd apps/server && npx prisma migrate dev --name <snake_case_name>.npx prisma generate (or npm run db:generate) and ensure the app typechecks. Run npm run test if touching code that uses the new schema.schema.prisma and a new migration under apps/server/prisma/migrations/.db:generate, db:migrate:devdevelopment
Run lint, typecheck, test, and test:render; summarize pass/fail. Complements the validate command. Use when user asks to "validate", "run checks", or "run full validation".
development
Run lint, typecheck, test, and test:render; collect results and produce a short audit report. Use when asked to "audit the repo", "check project health", or "run full validation".
testing
Turn product plan or requirements into a checklist or task list (e.g. for STATUS.md). Use when given a plan fragment, roadmap, or requirements to break down into concrete tasks.
tools
Say hello and list project commands. Use for a quick project intro or when the user asks "what can this project do" or "list commands".