Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ruvnetv0.3.5MITIn 2 marketplaces
Generate numbered SQL migrations with up/down pairs, preview them with dry-run, and check pending ones for foreign key and rollback problems before applying. Tracks migration history in AgentDB.
You run one by typing its /name in Claude Code.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Guardguard
Refuse calls and memory writes that hold a secret or a database URL with a password. On by default.
One of on, off
stringOptionaldefault on
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; writes files.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
database-migrations, schema, rollback, dry-run, sql-migrations, up-down-pairs, migration-validation, agentdb ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
npx claudepluginhub ruvnet/ruflo --plugin ruflo-migrationsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
Schema migration management -- generate, validate, dry-run, and rollback database migrations.
Generates sequentially numbered database migrations with up/down SQL pairs for rollback safety. Includes dry-run mode to preview SQL without executing, validation checks for foreign key consistency, index coverage, and naming conventions, plus full migration history tracking in AgentDB.
claude --plugin-dir plugins/ruflo-migrations
| Agent | Model | Role |
|---|---|---|
migration-engineer | sonnet | Generate sequential migrations, create up/down pairs, dry-run validation, rollback safety checks |
| Skill | Usage | Description |
|---|---|---|
migrate-create | /migrate-create <name> | Create a new sequentially numbered migration with up/down SQL files |
migrate-validate | /migrate-validate | Validate pending migrations for FK consistency, rollback safety, and best practices |
migrate create <name> # Create NNN_name.up.sql and NNN_name.down.sql
migrate up [--dry-run] # Apply pending migrations (or preview SQL)
migrate down [--steps N] # Rollback last N migrations (default: 1)
migrate status # Show applied/pending migration status
migrate validate # Validate pending migrations for safety
migrate history # Show full migration execution history
| Check | Severity | Description |
|---|---|---|
| Foreign key targets exist | Error | Referenced table/column must exist |
| Index coverage | Warning | WHERE/JOIN columns should be indexed |
| Data type compatibility | Error | ALTER COLUMN type must be compatible |
| NOT NULL without default | Error | Adding NOT NULL column requires DEFAULT |
| Down migration completeness | Warning | Every UP needs a corresponding DOWN |
| Destructive operations | Warning | DROP TABLE/COLUMN flagged for review |
| Naming conventions | Info | Tables plural, columns snake_case |
| Idempotency | Warning | Use IF EXISTS / IF NOT EXISTS |
migrations/
001_create_users.up.sql
001_create_users.down.sql
002_add_email_index.up.sql
002_add_email_index.down.sql
@claude-flow/cli v3.6 major+minor.bash plugins/ruflo-migrations/scripts/smoke.sh is the contract.This plugin owns the migrations AgentDB namespace (kebab-case is implicit when the plugin name is the intent — same documented exception as federation). Follows the convention from ruflo-agentdb ADR-0001 §"Namespace convention". Reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.
migrations is accessed via memory_* tools (namespace-routed). Tracks migration metadata, applied/pending status, and validation results.
Routing note: Earlier versions of these skills used
agentdb_hierarchical-*andagentdb_pattern-storewith namespace arguments — those tool families route by tier/ReasoningBank and ignore namespace strings. ADR-0001 fixed the skills to usememory_*for namespaced reads/writes.
bash plugins/ruflo-migrations/scripts/smoke.sh
# Expected: "10 passed, 0 failed"
ruflo-agentdb — namespace convention owner; defines the routing rules ADR-0001 fixes a violation ofruflo-adr -- Document schema change decisions as ADRsruflo-ddd -- Align migration boundaries with aggregate rootsruflo-observability -- Track migration execution duration and failure ratesMIT
Function-hook mod (ADR-445 pattern, hooks/register.ts). It adds, with no network, no process spawning and no model call:
/migrations-mod: local status and scan <text> (secret check, same rules as the guard); /migrations-mod scan <sql> lints SQL for DROP/TRUNCATE/DROP COLUMN/DELETE-without-WHERE (read-only)..claude-flow/migrations-mod/status.json ({version:1, updatedMs, guard, checked, blocked, ...}), written at session start and when counters change.Per-prompt context is deliberately not added: this plugin has nothing worth attaching to every prompt.
| Option | Default | Effect |
|---|---|---|
guard | on | refuse the calls above |
Test: claude plugin validate plugins/ruflo-migrations, claude plugin test plugins/ruflo-migrations, bash plugins/ruflo-migrations/scripts/smoke.sh.