migration-judged-apply SKILL.md skillA
migration-judged-apply from cromford-ai/cromford is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cromford-ai/cromford/migration-judged-apply@git:20261013.1268b26Pins git:20261013.1268b26 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cromford-ai/cromford
- Path
skills/migration-judged-apply/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261013.1268b26, committed Oct 13, 2026
- Size
- 9,543 bytes
- Repository stars
- 29
- License
- Apache-2.0
Apply a merged migration SQL file to a product app's production database through its own /api/internal/migrations/apply endpoint — deploy gate first, classifier verdict respected, verified against the app's own ledger, one ALERT and stop on failure. Use when a migration is pending, an apply was refused or flagged, or someone asks to "apply the migration" / "why is this migration stuck".
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
# migration-judged-apply The fleet never holds a database credential. Every schema change is applied by the app itself, from the SQL already baked into its **deployed bundle**, triggered by a filename over an internal-token-gated endpoint. This skill is the procedure for driving that by hand, and for judging the cases the automation deliberately parks. Spec: `docs/MIGRATION_ENDPOINT_SPEC.html`. Automation that already does this: `bin/migration-autopilot.sh` (allowlisted files, post-deploy) and `bin/apply-migrations.sh` (cron `*/15`, pending-file sweep). **Check whether the autopilot already owns the file before doing anything by hand** — see step 0. ## Iron laws (these bind you, not just the scripts) 1. **Never apply before the deploy that carries the code serves.** A file only becomes addressable once it is in the running bundle, so the schema can never land ahead of the code that reads it. Verify the serving sha *contains* the merge commit — do not infer it from "the PR merged a while ago" (TK-64: finance tables sat unapplied for days while deployed code threw on every load). 2. **Additive only.** `ADD COLUMN IF NOT EXISTS`, new tables, new named …
Read the whole file at its exact version.
How to install
mdr add cromford-ai/cromford/migration-judged-apply@sha256:e003a43ef888ed86The line at the top of this page pins the label git:20261013.1268b26, 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.
[](https://markdownregistry.com/a/art_jfb6woyrdxcawg2f)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 13, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9543 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
cromford-ai/cromford · 29 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jfb6woyrdxcawg2f GET https://markdownregistry.com/api/v1/resolve?ref=cromford-ai/cromford/migration-judged-apply GET https://markdownregistry.com/api/v1/blob/e003a43ef888ed8690409d788abf2c1a81219ccf7a882e7822b9605935d96ada
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.