agentleFS
vellum-aivellum-ai/vellum-assistant/.cursor/skills/vellum-migration-checklist/SKILL.md

vellum-migration-checklist

Skill1.4k starsChanged 5 months agoMITView on GitHub

Validate Vellum Assistant database and workspace migrations. Use when adding, editing, reviewing, or testing migrations, release-note migrations, persisted schemas, workspace file formats, or data backfills.

Trending

Quiet since October.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 5 mentionsSep 2026: 6 mentionsOct 2026: 2 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the vellum-ai/vellum-assistant repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about vellum-ai/vellum-assistant

The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 14

Talked about on GitHub and Bluesky (14 times).

On GitHub · 13

8 more on GitHub

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use a migration for shipped interfaces and persisted data:

    line 10
  2. Distinctive:

    Do not delete migration files.

    line 16
  3. Very specific:

    Add a new file under assistant/src/persistence/migrations/.

    line 22
  4. Distinctive:

    Update schema modules if the runtime schema changed.

    line 25
  5. Very specific:

    Add or update a focused db-*migration*.test.ts test.

    line 26
  6. Distinctive:

    Check for ordering drift and never reorder existing migrations.

    line 28
  7. Very specific:

    Add a new numbered file under assistant/src/workspace/migrations/.

    line 34
  8. Distinctive:

    Never reuse or reorder existing migration IDs.

    line 39
  9. Distinctive:

    Run the focused migration test first.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Vellum Migration Checklist

When A Migration Is Required

Use a migration for shipped interfaces and persisted data:

  • DB schema changes, indexes, backfills, or persisted row shape changes.
  • Workspace file renames, moves, format changes, or namespace changes.
  • Stored config or data that existing installs must keep reading.

Do not delete migration files. Migrations are append-only, even when their logic becomes obsolete.

DB Migrations

For DB migrations:

  1. Add a new file under assistant/src/persistence/migrations/.
  2. Make it idempotent and safe to retry after interruption.
  3. Register it in the migrationSteps array in assistant/src/persistence/steps.ts.
  4. Update schema modules if the runtime schema changed.
  5. Add or update a focused db-*migration*.test.ts test.

Check for ordering drift and never reorder existing migrations.

Workspace Migrations

For workspace migrations:

  1. Add a new numbered file under assistant/src/workspace/migrations/.
  2. Append it to WORKSPACE_MIGRATIONS in assistant/src/workspace/migrations/registry.ts.
  3. Make the migration idempotent.
  4. Add or update a focused workspace-migration-*.test.ts test.

Never reuse or reorder existing migration IDs.

Release Notes Migrations

There is currently no release-note surfacing mechanism. The update-bulletin feature (workspace migrations appending to a workspace bulletin file, processed by a background conversation at daemon startup) was removed. Do not add new 0XX-release-notes-* workspace migrations — the historical set is frozen by workspace-release-notes-feature-flag-guard.test.ts. If a release needs user-facing notes, design an explicit on-demand surfacing mechanism first.

Verification

Run the focused migration test first. Add package typecheck when migration exports, schema types, or registry wiring changed:

cd assistant && bun test src/__tests__/workspace-migration-example.test.ts
cd assistant && bun test src/__tests__/db-example-migrations.test.ts
cd assistant && bunx tsc --noEmit

Replace example paths with the actual test files related to the change.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.