Skip to content
Back to skills

Add Migration

ASecurity

Use when a plugin needs a new table, column or index in the wisp v2 store, or changes the shape of rows or event bodies.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 23, 2026
ai-agentsdatabase

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add M0xoo/wisp --skill add-migration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Migration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Migration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/m0xoo-add-migration/badge)](https://www.skillsdirectory.com/skills/m0xoo-add-migration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-migration
description: Use when a plugin needs a new table, column or index in the wisp v2 store, or changes the shape of rows or event bodies.
---

# Add a migration

1. Migrations live with their owner plugin (`host/src/migrations.ts`), numbered and forward-only. Never edit
   one that has shipped; add the next one.
2. Tables carry the plugin's prefix (`crew_member`, `chan_thread`). Kernel tables (`change`, `mutation`,
   `meta`, `blob`, `setting`, `plugin`) belong to `@wisp/store`; no plugin writes them directly.
3. STRICT tables, explicit types, `INTEGER PRIMARY KEY` or `TEXT` ids. Don't use `WITHOUT ROWID` for small rows.
4. Changing the shape of an event body bumps its `v`. Add an upcaster that reads the old shape; never
   rewrite history.
5. The store snapshots the database (`VACUUM INTO`) before upgrading. Test the migration on a database
   made by the previous version (`test/fixtures/`).
6. `.agents/bin/monoflow verify --affected`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.