From node-vue
Creates and applies Drizzle Kit migrations from TypeScript schema files in the monorepo backend/ directory. Use when the user says "run migration", "drizzle migration", "update the database schema", or after implementing new schemas.
How this skill is triggered — by the user, by Claude, or both
Slash command
/node-vue:migrationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate and apply Drizzle Kit migrations from schema files in `backend/src/db/schema/`.
Generate and apply Drizzle Kit migrations from schema files in backend/src/db/schema/.
All operations run from the backend/ directory.
drizzle-kit migrate without reviewing generated SQL firstcd backend firstcd backenddrizzle.config.ts exists — create if absent:
import { defineConfig } from 'drizzle-kit'
export default defineConfig({
schema: './src/db/schema/*',
out: './drizzle',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL!,
},
})
docs/data_model.md for vector columns — if present, add to the migration SQL:
CREATE EXTENSION IF NOT EXISTS vector;npx drizzle-kit generatedrizzle/npx drizzle-kit migratenpx claudepluginhub bfh-krg1/sdd-web-app --plugin node-vueCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.