Db migration
Skill syniol/llm-software-project/.agent/skills/db-migration
AI Ready Software Template for Enterprise Multi-Model AI Context Architecture
npx -y skills add syniol/llm-software-project --skill db-migrationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 17 days oldThe repository was created 17 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Instructions for modifying the database schema and generating migrations.
SKILL.md
0.8 KB, as published. Nobody here has run it
Database Migration Skill
When the user asks you to update the database schema, follow this procedure exactly:
- Modify the Schema File: Open
schema.prisma(or the equivalent ORM file) and add the new models or columns. - Generate the Migration: Run
npx prisma migrate dev --name <descriptive_name> --create-only. Do not apply the migration automatically. - Review Migration Script: Read the generated SQL file to ensure it doesn't accidentally drop existing columns containing data.
- Test Run: Run
npx prisma migrate devto apply locally. - Update Types: Ensure any frontend/backend type definitions that rely on this schema are regenerated (
npx prisma generate).