migration-plan
/migration-plan
Układa bezpieczny plan migracji bazy danych, API, formatu danych lub infrastruktury, z etapami, walidacją i wycofaniem, wykraczający poza pojedynczy changeset schematu.
- Autor
- omexit ↗
- Repozytorium
- claude-skills-pack ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 15.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 15.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Układa bezpieczny plan migracji bazy danych, API, formatu danych lub infrastruktury, z etapami, walidacją i wycofaniem, wykraczający poza pojedynczy changeset schematu.
Oryginalny opis (EN)
Use when the user needs a plan to migrate a database, API, data format, or infrastructure safely, with staging, validation, and rollback, rather than a single schema changeset.
Jak działa
- Inputs (ask only if missing)
- Decision rules
- Anti-patterns to flag
- Quality bar
- Workflow context
- Output
- Output contract
Podgląd SKILL.md
---
name: migration-plan
description: "Use when the user needs a plan to migrate a database, API, data format, or infrastructure safely, with staging, validation, and rollback, rather than a single schema changeset."
---
# Migration plan
Plans a move from state A to state B across several deploys or systems: stages, validation,
rollback, and the point of no return. It writes a plan, not changesets; each database step is then
written with `db-migration`.
## Inputs (ask only if missing)
- What moves: schema, API version, data format, store, or infrastructure.
- Current and target state.
- Data volume, traffic pattern, and downtime tolerance.
- Every reader and writer of the affected data or API.
## Decision rules
1. **Old and new coexist.** Code must work with both shapes during rollout so deploys can roll back.
A synchronized big-bang cutover needs an explicit reason and an agreed maintenance window.
2. **Expand, migrate, contract**, in separate releases: add the new path alongside the old, move
data and consumers, then remove the old path only after validation holds.
3. **Validate before, during, and after**: pre-checks on source data, live metrics while running,
and completeness and correctness checks (counts, checksums, zero-row predicates) after.
4. **Batches with checkpoints**: large moves resume from the last committed checkpoint, can be paused,
and are throttled against measured load and replication lag.
5. **Rehearse on realistic volume** (anonymized production-scale data) before production.
6. **Name the point of no return.** Every stage before it has a tested rollback. Contract steps,
drops, and data rewrites are destructive: they need explicit confirmation and a restore story
(verified backup restore, retained source column or table, or forward-fix script). A no-op
rollback is not a restore story.
7. **Switch reads and writes with the repo's existing release controls**; no new flag system.
## Anti-patterns to flag
- Big-bang cutover with no rollback path, or contracting in the same release as expanding.
- Validation missing or run on a small sample only; no monitoring while it runs.
- Historical data left in the old format while only new writes change.
## Quality bar
- Every stage has a trigger, a rollback or restore path, and a validation check.
- Batch size, checkpointing, and throttling come from measurements.
- Every consumer of the old shape is listed with its migration step.
- Success criteria are measurable; who is told what, and when, is stated, including on rollback.
## Workflow context
- Follows `design-doc` or `adr`; feeds `ticket-breakdown`, `test-plan`, `runbook`.
- `db-migration` writes each database step as a concrete changeset; `data-design` owns the target model.
## Output
Fill `assets/migration-plan.md`.
## Output contract
```yaml
produces:
- type: "migration-plan"
format: "markdown"
path: "claudedocs/<feature>-migration-plan.md"
sections: [strategy, steps, rollback, validation, timeline]
handoff: "Write claudedocs/handoff-migration-plan-<timestamp>.yaml - suggest: ticket-breakdown, test-plan, runbook"
```
Pliki w paczce (2)
- SKILL.md 3 KB
- assets/migration-plan.md 3 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · omexit/claude-skills-pack | 100 | MIT |
| devpilotX/ai-skill-ai | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki cf4c2c9d07fa (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100migration-architect
Planuje migracje bez przestoju, waliduje zgodność i generuje strategie wycofania dla migracji systemów, baz danych i infrastruktury o wysokim ryzyku. - 95database-migration
Tworzy migrację bazy danych ze zmianami schematu i wycofaniem, gdy trzeba dodać tabelę albo zmodyfikować schemat. - 90migration-planning
Planuje migrację bazy, API, frameworka, środowiska lub infrastruktury przed zmianą zachowania produkcji, z kolejnością wdrożenia. - 100changeset
Tworzy changeset dla zmian w gałęzi i pisze noty wydania dla zmienionych pakietów. - 95database
Pomaga w projektowaniu schematu, planowaniu migracji i optymalizacji zapytań oraz strategii indeksów w bazie danych. - 90create-migration
Tworzy nowy plik migracji bazy MySQL OWID dla zmiany schematu bazy danych.