db-migrate
Skill81 starsChanged 2 months agoMITView on GitHub
Create and apply a Prisma migration safely against the remote (tunneled) PostgreSQL. Use for schema changes - "create a migration", "apply migrations", "add a column/table".
12 other projects use a version of this.
Adopted by
Most recently taken up by
- 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
- lfrodrigues/packt-claude-code-course-auththeir own version, first seen Jul 15, 2026
- Pradnyeshp/Claude-Skillstheir own version, first seen Jul 6, 2026
- amajorai/skillstheir own version, first seen May 29, 2026
Used with
Projects with it also use e2e, ship and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkille2e
Run E2E tests for Sentry JavaScript SDK test applications
Also in 3 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 5 projects that use this
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
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
- getsentry/abacus★ 77same name
- lfrodrigues/packt-claude-code-course-auth★ 9same 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.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-api-routeSkill
- commitSkill
- knip-cleanupSkill
- pr-reviewSkill
- releaseSkill
- restart-terminalSkill
- tanstack-form-compositionSkill
- teaser-videoSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Read the generated SQL and confirm it matches intent.
- Very specific: line 19
Never run db:reset without explicit user confirmation - it wipes the remote database.
“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
DB migrate
The database is remote; DATABASE_URL points at the SSH tunnel's local port (5433). All
commands are bun --cwd=apps/api run ….
- Confirm the tunnel is up (
bunx prisma migrate statusfromapps/api). If it isn't, ask the user to runbun run db:tunnelin a separate terminal - don't start it yourself. - Edit the schema - split by domain under
apps/api/prisma/schema/*.prisma. db:migrate- creates the migration SQL only (--create-only), never applies.- Read the generated SQL and confirm it matches intent. Prisma turns renames into drop + add -
hand-edit to
ALTERwhen data must survive. db:migrate:apply, thendb:generate.
Never run db:reset without explicit user confirmation - it wipes the remote database.
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.

