create-migration SKILL.md skillA
create-migration from intrafind/ihub-apps is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add intrafind/ihub-apps/create-migration@git:20260922.bc1396cPins git:20260922.bc1396c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- intrafind/ihub-apps
- Path
.claude/skills/create-migration/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260922.bc1396c, committed Sep 22, 2026
- First version recorded
- Feb 23, 2026
- Size
- 3,447 bytes
- Repository stars
- 26
- License
- a license file GitHub does not identify
Create a new versioned config migration in server/migrations/ following the project's Flyway-style pattern. Use when adding new required/default fields to config files, renaming/restructuring fields, or adding default entries to providers.json, groups.json, tools.json, sources.json, etc.
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
## Rules
- **Never modify** a migration file after it has been applied — checksums are tracked; mismatches halt startup.
- Migrations are **forward-only**. To undo a change, create a new higher-versioned migration.
- Do NOT create migrations for brand-new config files (handled by `performInitialSetup` copying from `server/defaults/`).
- Do NOT create migrations for code-only changes with no config schema impact.
## Steps
1. Find the next version number:
```bash
git fetch origin main && git ls-tree --name-only origin/main:server/migrations | grep '^V' | tail -3
```
Pick the number from the *current* `origin/main`, not your branch — another PR may have taken it since you branched. The `Migration Version Check` PR workflow fails if the number is already used on main (or is below main's highest); if it does, merge main and renumber to the version it reports (`node scripts/check-migration-versions.js --base origin/main` runs the same check locally).
2. Create `server/migrations/V{NNN}__{short_description}.js` (NNN = zero-padded 3 digits, underscores in description):
```js
// server/migrations/V{NNN}__{short_description}.js
export const version = '{NNN}';
…Read the whole file at its exact version.
How to install
mdr add intrafind/ihub-apps/create-migration@sha256:93e9a7a4857ca53bThe line at the top of this page pins the label git:20260922.bc1396c, 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_7htb6vq6d7pnbz2o)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Feb 23, 2026 and Sep 22, 2026, about one every 211 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260922.bc1396c latest | 2026-09-22 | bc1396c | 3,447 B | A | view · diff |
| git:20260223.e8ab6b7 | 2026-02-23 | e8ab6b7 | 2,997 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 (3447 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
intrafind/ihub-apps · 26 stars · license a license file GitHub does not identify · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_7htb6vq6d7pnbz2o GET https://markdownregistry.com/api/v1/resolve?ref=intrafind/ihub-apps/create-migration GET https://markdownregistry.com/api/v1/blob/93e9a7a4857ca53b72b9eea921e9c626195b47525cd129603652a6c0e6f7cfda
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 intrafind/ihub-apps
Every file in intrafind/ihub-apps