Skip to content
Back to skills

Migration Rollback

ASecurity

Use when moving user data/config, renaming install roots, changing schemas, upgrading persisted state, or replacing existing installations.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agents

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add ShugokiFable/Ultimate-AI-Starter-Bundle --skill migration-rollback --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Migration Rollback?

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

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

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: migration-rollback
description: Use when moving user data/config, renaming install roots, changing schemas, upgrading persisted state, or replacing existing installations.
---

# Migration Rollback

## Core rule
A **migration** is incomplete without a tested **rollback** or a proven forward-repair path.

## Contract
Before mutation, detect exact source version/state and create a recoverable **backup** of user-owned data. Make migration idempotent and record its applied version. Verify the new state before deleting or abandoning the old state.

Test: clean old state → migrate → verify; rerun migration; interrupted/partial migration; already-new state; unsupported-old state; rollback after a post-migration failure.

Never infer that a folder can be deleted because a copy command returned success. Compare critical counts/hashes/schema and keep the old state until verification completes.

For irreversible schema migrations, provide a tested export/restore path and clearly block downgrade when safe rollback is impossible.

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.

Comments

Loading comments…