create-migration SKILL.md skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
create-migration from tale-project/tale is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tale-project/tale/create-migration@git:20260930.5f8dfeaPins git:20260930.5f8dfea in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tale-project/tale
- Path
.agents/skills/create-migration/SKILL.md- Versions recorded
- 7
- Latest version
- git:20260930.5f8dfea, committed Sep 30, 2026
- First version recorded
- Jul 29, 2026
- Size
- 10,230 bytes
- Repository stars
- 41
- License
- MIT
Use this skill whenever you change the shape of the 0.5 backend database — a new table, a new column, an index, a constraint, a backfill, or a data reshape. It owns the authoring contract (one numbered .sql file under services/platform/backend/db/migrations/ — or a numbered .ts data migration when a backfill must decide with the app's own code — applied at boot in filename order inside one advisory lock), the forward-only doctrine (every migration must be safe to apply to a live deployment…
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
# Backend database migrations (0.5) Every database-shape change ships as a numbered SQL file under `services/platform/backend/db/migrations/` (a backfill that must decide with the app's own code is a numbered `.ts` data migration there — see below). `runBootMigrations` (`backend/db/migrate.ts`) applies them **at every backend boot**, in filename order, each in its own transaction, tracked by filename in `app_migrations` — all inside one session-scoped advisory lock, so N concurrently booting containers (api + worker, or scaled replicas) apply everything exactly once while the others wait. There is no `tale migrate up/down`, no versioned framework, no rollback ledger: a deployed image is at its own schema by construction. `tale migrate` means something else entirely — re-provision built-in defaults into every org (`/api/control/provision`). > The 0.4 Convex versioned-migration framework (`defineDbMigration`, `migrations:runAll`, > `tale migrate status/up/down`, the world corpus) is **retired**. 0.5 is a fresh instance and > carries no data forward from it. ## The authoring contract ``` services/platform/backend/db/migrations/NNNN_snake_case_subject.sql ``` …
Read the whole file at its exact version.
How to install
mdr add tale-project/tale/create-migration@sha256:91cc83ff2f3fa0c1The line at the top of this page pins the label git:20260930.5f8dfea, 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_xdefp2c6trbx7hal)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Jul 29, 2026 and Sep 30, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260930.5f8dfea latest | 2026-09-30 | 5f8dfea | 10,230 B | A | view · diff |
| git:20260928.5eff896 | 2026-09-28 | 5eff896 | 10,014 B | A | view · diff |
| git:20260928.d351611 | 2026-09-28 | d351611 | 9,845 B | A | view · diff |
| git:20260928.2ccfbb7 | 2026-09-28 | 2ccfbb7 | 8,240 B | A | view · diff |
| git:20260830.fd5c009 | 2026-08-30 | fd5c009 | 6,237 B | A | view · diff |
| git:20260729.3d22502 | 2026-07-29 | 3d22502 | 11,985 B | A | view · diff |
| git:20260729.2743ee4 | 2026-07-29 | 2743ee4 | 10,626 B | A | view |
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 (10230 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
tale-project/tale · 41 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_xdefp2c6trbx7hal GET https://markdownregistry.com/api/v1/resolve?ref=tale-project/tale/create-migration GET https://markdownregistry.com/api/v1/blob/91cc83ff2f3fa0c11d09439186179e577e760287659f2137c118ac3400b5e3c1
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 tale-project/tale
Every file in tale-project/tale