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.

Install it, pinned
mdr add tale-project/tale/create-migration@git:20260930.5f8dfea

Pins 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

The exact contents, by fingerprint
mdr add tale-project/tale/create-migration@sha256:91cc83ff2f3fa0c1

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xdefp2c6trbx7hal.svg)](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.

versioncommittedcommitsizeaudit
git:20260930.5f8dfea latest2026-09-30 5f8dfea 10,230 BA view · diff
git:20260928.5eff8962026-09-28 5eff896 10,014 BA view · diff
git:20260928.d3516112026-09-28 d351611 9,845 BA view · diff
git:20260928.2ccfbb72026-09-28 2ccfbb7 8,240 BA view · diff
git:20260830.fd5c0092026-08-30 fd5c009 6,237 BA view · diff
git:20260729.3d225022026-07-29 3d22502 11,985 BA view · diff
git:20260729.2743ee42026-07-29 2743ee4 10,626 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 (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

GitHub

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

write-docs SKILL.md skill
tale-project/tale · .agents/skills/write-docs/SKILL.md · Write, reorganize, or review end-user documentation, navigation, examples, and screenshots, including moving, renaming…
git:20260930.7f12462 · audit A · 41 stars
write-translations SKILL.md skill
tale-project/tale · .agents/skills/write-translations/SKILL.md · Author or review localized Tale UI messages, documentation, regional overrides, and glossary terms. Preserve meaning…
git:20261006.68386d3 · audit A · 41 stars
AGENTS.md@.agents/skills/write-translations/locales/de-CH AGENTS.md file
tale-project/tale · .agents/skills/write-translations/locales/de-CH/AGENTS.md
git:20260914.b26ddbc · audit A · 41 stars
AGENTS.md@.agents/skills/write-translations/locales/de AGENTS.md file
tale-project/tale · .agents/skills/write-translations/locales/de/AGENTS.md
git:20260914.b26ddbc · audit A · 41 stars
AGENTS.md@.agents/skills/write-translations/locales/en AGENTS.md file
tale-project/tale · .agents/skills/write-translations/locales/en/AGENTS.md
git:20260914.b26ddbc · audit A · 41 stars
AGENTS.md@.agents/skills/write-translations/locales/fr AGENTS.md file
tale-project/tale · .agents/skills/write-translations/locales/fr/AGENTS.md
git:20260914.b26ddbc · audit A · 41 stars
CLAUDE.md@.claude CLAUDE.md file
tale-project/tale · .claude/CLAUDE.md
git:20260822.ccaf64d · audit A · 41 stars
create-migration SKILL.md skill
tale-project/tale · .claude/skills/create-migration/SKILL.md · Use this skill whenever you change the shape of the 0.5 backend database — a new table, a new column, an index, a…
git:20260930.5f8dfea · audit A · 41 stars
write-docs SKILL.md skill
tale-project/tale · .claude/skills/write-docs/SKILL.md · Write, reorganize, or review end-user documentation, navigation, examples, and screenshots, including moving, renaming…
git:20260930.7f12462 · audit A · 41 stars
write-translations SKILL.md skill
tale-project/tale · .claude/skills/write-translations/SKILL.md · Author or review localized Tale UI messages, documentation, regional overrides, and glossary terms. Preserve meaning…
git:20261006.68386d3 · audit A · 41 stars
AGENTS.md@.claude/skills/write-translations/locales/de-CH AGENTS.md file
tale-project/tale · .claude/skills/write-translations/locales/de-CH/AGENTS.md
git:20260914.b26ddbc · audit A · 41 stars
AGENTS.md@.claude/skills/write-translations/locales/de AGENTS.md file
tale-project/tale · .claude/skills/write-translations/locales/de/AGENTS.md
git:20260914.b26ddbc · audit A · 41 stars

Every file in tale-project/tale

Other files named create-migration

create-migration SKILL.md skill
tale-project/tale · .claude/skills/create-migration/SKILL.md · Use this skill whenever you change the shape of the 0.5 backend database — a new table, a new column, an index, a…
git:20260930.5f8dfea · audit A · 41 stars

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