PlugMyPlugin
← Browse

migration-safety

logicleap-labs ★ 1

This Claude Code plugin uses a PreToolUse hook to block destructive SQL operations—DROP TABLE/COLUMN, TRUNCATE, DELETE/UPDATE without WHERE, and irreversible ALTERs—from running in Bash commands or migration files until a migration plan is formally declared via a .migration-plan file or MIGRATION-SAFETY: ALLOW sentinel. It enforces a disciplined four-step method: state target, dry-run, write rollback, then execute.

DevOps Security No API key detected runs shell

Install

> /plugin marketplace add logicleap-labs/claude-plugins/tree/HEAD/plugins/migration-safety
> /plugin install migration-safety

Source: https://github.com/logicleap-labs/claude-plugins/tree/HEAD/plugins/migration-safety

What it's made of

1 command · 1 skill · 1 hook

Commands
1
Agents
0
Skills
1
MCP servers
0
Hooks
1 · PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
python3
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (logicleap-labs).