db-migrate
Skill9 starsChanged 5 months agoMITView on GitHub
Generate a migration from the Drizzle schema, summarize it, and apply only after confirmation
12 other projects use a version of this.
Adopted by
Most recently taken up by
- suxrobGM/jobpilottheir own version, first seen Oct 3, 2026
- mgiovani/cc-arsenaltheir own version, first seen Sep 25, 2026
- pgnzbl-ux/crucibletheir own version, first seen Aug 27, 2026
- hiromps/claude-skillstheir own version, first seen Aug 4, 2026
- Pradnyeshp/Claude-Skillstheir own version, first seen Jul 6, 2026
- amajorai/skillstheir own version, first seen May 29, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- alexeykrol/claude-code-starter★ 194same name
- suxrobGM/jobpilot★ 81same name
- getsentry/abacus★ 77same name
- mgiovani/cc-arsenal★ 8same name
- mean-weasel/bullhorn★ 4same name
- pgnzbl-ux/crucible★ 4same name
- amajorai/skills★ 3same name
- vndee/engineering-skills★ 3same name
- Pradnyeshp/Claude-Skills★ 2same name
- bibektimilsina00/runmycrew★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
Run npm run db:generate to produce the migration from the current Drizzle schema.
- Distinctive: line 13
STOP and ask for explicit confirmation.
- Very specific: line 14
Only after the user confirms, run npm run db:migrate.
- Very specific: line 18
Do NOT hand-edit generated SQL, apps/api/src/db/schema.ts, or existing migration files.
- Distinctive: line 21
Do NOT apply a migration or drop data without the explicit confirmation in step 4 — schema changes are one-way doors.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate and apply a database migration
- Run
npm run db:generateto produce the migration from the current Drizzle schema. - Print a short human-readable summary of what changed: tables added/dropped/renamed, columns, indexes, constraints — before showing raw SQL.
- Show the generated SQL.
- STOP and ask for explicit confirmation.
- Only after the user confirms, run
npm run db:migrate.
Policy:
- Do NOT hand-edit generated SQL,
apps/api/src/db/schema.ts, or existing migration files. Schema changes flow fromauth.ts/ Drizzle schema → regenerate. - Do NOT apply a migration or drop data without the explicit confirmation in step 4 — schema changes are one-way doors.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

