buchananwill/ue-claude-scaffold/expand-contract-migration
Claude Code and agent skill by buchananwill/ue-claude-scaffold
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Zero-downtime database migration protocol. Framework-agnostic process for safely evolving schemas in production.
Install
npx vskill@latest install buchananwill/ue-claude-scaffold/expand-contract-migrationSKILL.md
The same SKILL.md was published earlier as buchananwill/ue-claude-scaffold/expand-contract-migration.
Expand-Contract Migration Protocol
Zero-downtime schema evolution for production databases.
When to Activate
- Renaming, removing, or restructuring columns/tables in a live system
- Any schema change where the old and new shapes must coexist during deployment
The Three Phases
Rules
- Every change is a migration file -- never alter production databases manually
- Migrations are forward-only in production -- rollbacks use new forward migrations
- Schema and data migrations are separate -- never mix DDL and DML in one migration
- Migrations are immutable once deployed -- never edit a migration that has run in production
- Test against production-sized data -- a migration that works on 100 rows may lock on 10M
Timeline Example
Anti-Patterns
| Anti-Pattern | Why It Fails | Better Approach | |
|---|---|---|---|
| Manual SQL in production | No audit trail, unrepeatable | Always use migration files | |
| Editing deployed migrations | Causes drift between environments | Create new migration instead | |
| Schema + data in one migration | Hard to rollback, long transactions | Separate migrations | |
| Dropping column before removing code | Application errors on missing column | Remove code first, drop column next deploy |
Security
- Security scanPassed, 95 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/expand-contract-migration/SKILL.md
Popularity
- 7-day trend score
- 5
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/buchananwill/ue-claude-scaffold/expand-contract-migration)