db-migrate SKILL.md skillA

db-migrate from suxrobgm/jobpilot is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add suxrobgm/jobpilot/db-migrate@git:20261027.ba96fa1

Pins git:20261027.ba96fa1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
suxrobgm/jobpilot
Path
.claude/skills/db-migrate/SKILL.md
Versions recorded
4
Latest version
git:20261027.ba96fa1, committed Oct 27, 2026
First version recorded
Jul 21, 2026
Size
2,133 bytes
Repository stars
104
License
MIT

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

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# DB migrate

The tunneled database (`bun run db:tunnel`, `localhost:5433`) is **production**. `prisma migrate
dev` can demand a reset there, which wipes it, so never run it. All commands
are `bun --cwd=apps/api run …`.

1. Edit the schema - split by domain under `apps/api/prisma/schema/*.prisma`.
2. Restore a throwaway copy: `pg_dump` prod through the tunnel, restore it into a local
   PostgreSQL on another port (e.g. 5434), and point `DATABASE_URL` at it for every step below
   until step 6. A local PostgreSQL and the tunnel both default to 5433 - check `docker ps` first.
3. `db:diff` prints the SQL from the database to the schema (read-only). Save it as
   `apps/api/prisma/migrations/<yyyymmddhhmmss>_<name>/migration.sql` and edit it: Prisma turns
   renames into drop + add - hand-edit to `ALTER ... RENAME` when data must survive. Data fixes
   that need TS logic go in a one-off `apps/api/scripts/<name>.ts` with a `--dry-run` report.
   `migrate deploy` applies every pending migration at once, so a script can't run between two of
   them. When the migration needs the script's output, run the script first against the old
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add suxrobgm/jobpilot/db-migrate@sha256:fd953321ecb36c92

The line at the top of this page pins the label git:20261027.ba96fa1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ggktwobpz35fdksa.svg)](https://markdownregistry.com/a/art_ggktwobpz35fdksa)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jul 21, 2026 and Oct 27, 2026, about one every 33 days.

versioncommittedcommitsizeaudit
git:20261027.ba96fa1 latest2026-10-27 ba96fa1 2,133 BA view · diff
git:20261027.cd2d4c72026-10-27 cd2d4c7 2,031 BA view · diff
git:20261027.c4e74362026-10-27 c4e7436 1,659 BA view · diff
git:20260721.0ac65f62026-07-21 0ac65f6 979 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2133 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

suxrobgm/jobpilot · 104 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ggktwobpz35fdksa
GET https://markdownregistry.com/api/v1/resolve?ref=suxrobgm/jobpilot/db-migrate
GET https://markdownregistry.com/api/v1/blob/fd953321ecb36c92496b66fcb761251f4d5bc0f82b0f1c43abb42cfb974e2471

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from suxrobgm/jobpilot

add-api-route SKILL.md skill
suxrobgm/jobpilot · .claude/skills/add-api-route/SKILL.md · Add a new JobPilot API route or module the standard way - contracts schema, controller, service, response schema…
git:20261027.ad4e2de · audit A · 104 stars
commit SKILL.md skill
suxrobgm/jobpilot · .claude/skills/commit/SKILL.md · Write a git commit with a one-sentence Conventional Commits subject and no narrative body. Use whenever the user asks…
v1.1 · audit A · 104 stars
knip-cleanup SKILL.md skill
suxrobgm/jobpilot · .claude/skills/knip-cleanup/SKILL.md · Add knip to a TypeScript project and use it to remove dead exports, collapse pass-through barrels, and narrow every…
v1.0 · audit A · 104 stars
pr-review SKILL.md skill
suxrobgm/jobpilot · .claude/skills/pr-review/SKILL.md · Review a JobPilot pull request on its own branch, resolve merge conflicts with main, remove over-engineering…
v1.0 · audit A · 104 stars
release SKILL.md skill
suxrobgm/jobpilot · .claude/skills/release/SKILL.md · Bump the unified JobPilot version (host + plugin), update the changelog, commit, and tag a new release
git:20260709.42c3cf5 · audit A · 104 stars
restart-terminal SKILL.md skill
suxrobgm/jobpilot · .claude/skills/restart-terminal/SKILL.md · Rebuild the .NET terminal host, restart it, and wait for /healthz. Use after any C# change under apps/terminal, or when…
git:20260929.bc4b814 · audit A · 104 stars
tanstack-form-composition SKILL.md skill
suxrobgm/jobpilot · .claude/skills/tanstack-form-composition/SKILL.md · Migrate a React @tanstack/react-form codebase from the prop-drilled `useForm` + erased-form-type pattern to the…
git:20260701.d3b2a78 · audit A · 104 stars
teaser-video SKILL.md skill
suxrobgm/jobpilot · .claude/skills/teaser-video/SKILL.md · Film, edit, and deliver a launch-quality teaser of any web app - real footage captured at 2x with Playwright + CDP (and…
v1.1 · audit A · 104 stars
verify SKILL.md skill
suxrobgm/jobpilot · .claude/skills/verify/SKILL.md · Run the full JobPilot CI gate locally - Biome, knip, API + web typechecks, API and contracts tests, and the terminal…
git:20260929.bc4b814 · audit A · 104 stars
AGENTS.md AGENTS.md file
suxrobgm/jobpilot · AGENTS.md
git:20260721.0ac65f6 · audit A · 104 stars
CLAUDE.md CLAUDE.md file
suxrobgm/jobpilot · CLAUDE.md
git:20261027.a6c3cf2 · audit A · 104 stars
AGENTS.md@apps/web AGENTS.md file
suxrobgm/jobpilot · apps/web/AGENTS.md
git:20260906.227a1d2 · audit A · 104 stars

Every file in suxrobgm/jobpilot

Other files named db-migrate

db-migrate SKILL.md skill
mgiovani/cc-arsenal · skills/db-migrate/SKILL.md · Creates, checks the status of, and validates database migrations by auto-detecting the project's migration framework…
v2.0.0 · audit A · 8 stars

Browse by kind, by grade A, or by owner.