agentsclimarketplace

Db migration

Skill syniol/llm-software-project/.agent/skills/db-migration

Instructions for modifying the database schema and generating migrations.From its SKILL.md

Install
npx -y skills add syniol/llm-software-project --skill db-migration

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 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.

SKILL.md

0.8 KB, 155 tokens by cl100k_base, as published. Nobody here has run it

Database Migration Skill

When the user asks you to update the database schema, follow this procedure exactly:

  1. Modify the Schema File: Open schema.prisma (or the equivalent ORM file) and add the new models or columns.
  2. Generate the Migration: Run npx prisma migrate dev --name <descriptive_name> --create-only. Do not apply the migration automatically.
  3. Review Migration Script: Read the generated SQL file to ensure it doesn't accidentally drop existing columns containing data.
  4. Test Run: Run npx prisma migrate dev to apply locally.
  5. Update Types: Ensure any frontend/backend type definitions that rely on this schema are regenerated (npx prisma generate).

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.