evolplus/talos/migration-safety
Claude Code and agent skill by evolplus/talos
- community
Checking that the SKILL.md file is still in the repository.
Evaluate database, schema, data, queue, index, or storage migrations before deployment. Use when DevOps must verify migration ordering, dry-run results, backups, expand-contract strategy, lock/runtime impact, data-loss risk, rollback constraints, and operator approvals.
Install
npx vskill@latest install evolplus/talos/migration-safetySKILL.md
The same SKILL.md was published earlier as evolplus/talos/migration-safety.
Migration Safety
When to use
Use this skill whenever a deployment includes schema changes, data migrations, queue/topic changes, search index rebuilds, object-storage rewrites, or irreversible data operations.
Inputs and outputs
- Inputs: migration files, ORM migration plan, architecture data contracts, affected services, target environment, backup policy, expected data volume, and rollback plan.
- Outputs: migration safety verdict, execution order, preflight/dry-run evidence, backup/restore notes, risk classification, and blockers.
Procedure
- Classify the migration. Label as additive, backfill, destructive, contract/removal, reindex, data rewrite, or operational maintenance. Destructive/irreversible work needs explicit approval.
- Check compatibility. Prefer expand-contract: deploy additive schema first, release compatible code, backfill safely, then remove old fields in a later release.
- Estimate runtime impact. Identify locks, table scans, long transactions, index builds, queue replays, and service downtime. Require batching or online migration tools when needed.
- Verify backup and restore. Record backup location/status by name only, restore procedure, owner, and latest restore-test evidence. Do not read backup credentials.
- Run dry-run/preflight. Use local/staging with production-like schema where possible. For production, use native dry-run/explain tooling or a reviewed plan before mutation.
- Coordinate app versioning. Verify old and new app versions tolerate the migration during rolling deploy and rollback.
- Define failure handling. Record pause/resume, retry, rollback, manual repair, and "stop-the-line" thresholds.
- Emit verdict.
safe,safe-with-conditions, orblocked.
Hard rules
- Never run a migration against staging or production without an explicit target and approval.
- Never approve destructive or irreversible migrations without backup/restore evidence and human sign-off.
- Never assume rollback is possible after data deletion, type narrowing, irreversible transforms, or external side effects.
- Never print database URLs, credentials, tokens, dumps, or row-level sensitive data.
- Never couple schema removal with first code deployment unless architecture explicitly proves compatibility.
References
- `../rollback-readiness/SKILL.md` - rollback constraints for migrations.
- `../secrets-config-audit/SKILL.md` - DB credential handling.
- `../../agents/_templates/devops.md` - DevOps role contract.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/migration-safety/SKILL.md
Popularity
- Repository stars
- 8
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/evolplus/talos/migration-safety)