Skip to content
cccskills
FreePublished on GitHub

migration-architect

When shaping a non-trivial migration — rollout phases, dual-write windows, cutover sequencing, deprecation cycles — hands off to the framework-specific migration skill for DDL once locked.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

migration-architect

Shape the rollout strategy for a migration before any DDL or code is written. Plans phases, dual-write windows, cutover sequencing, deprecation cycles, and cross-service coordination. Hands off to laravel-migration (or the framework-native equivalent) for tactical DDL once the plan is locked.

When to use

  • A schema change spans more than one deploy.
  • A change requires a dual-write or backfill window.
  • The migration touches multiple services, queues, or consumers whose order of update matters.
  • A column / table / API is being deprecated and the cycle needs shape (announce → soft-fail → hard-fail → remove).

Do NOT use when:

  • The change is a single additive migration safe in one deploy → route to laravel-migration (or framework-native equivalent).
  • The decision is whether to migrate at all → route to decision-record first.
  • The concern is data correctness during the migration → route to data-flow-mapper and feed findings back here.

Procedure

1. Anchor on the goal

Write one sentence: "State X must become state Y across systems Z without breaking consumers W." If you cannot, the migration is not ripe — stop.

2. Identify the participating systems

List every service, queue, batch job, third-party consumer, and client that reads or writes the affected schema. A system you forget is a cutover surprise.

3. Pick a rollout shape

ShapeWhen to pick
Expand → migrate → contractSchema additive first, code switches reads, then drop old shape
Dual-write + backfillBoth shapes written for a window; backfill closes the gap
Strangler figNew path runs alongside old; traffic ramps over time
Big-bang cutoverRare; only when downtime is acceptable AND coordination cost is trivial

State why the shape fits — not just which one was picked.

4. Sequence the phases

For each phase, list:

  • Trigger — what condition starts it.
  • Actions — DDL, code deploy, feature flag, traffic shift.
  • Reversibility — can we abort here, and how?
  • Exit gate — what proves we can move to the next phase (metric, sign-off, soak time).

A phase without an exit gate is a wish; reject.

5. Plan the deprecation cycle

For anything being removed:

  • Announce window — comms cadence, who is told.
  • Soft-fail window — log + warn, do not break.
  • Hard-fail window — return errors.
  • Removal — DDL drop, code delete.

Each window has a duration and a metric that justifies moving on.

Output format

Migration Architect
Goal:     <one sentence>
Systems:  <list>
Shape:    expand-migrate-contract | dual-write | strangler | big-bang
Reason:   <why this shape>

Phases:
  1. <name>  Trigger: <cond>  Exit: <gate>  Reversible: yes | costly | no
       Actions: ...
  2. ...

Deprecation cycle (if any):
  Announce <duration>  →  soft-fail <duration>  →  hard-fail <duration>  →  remove

Next: /laravel-migration (or framework-native equivalent) for the DDL of phase 1

Gotcha

  • The riskiest phase is the one with no rollback. Surface it explicitly even if the user did not ask.
  • Soak times in hours when interest is in days are a smell. Match the soak to the actual blast radius.

Do NOT

  • Do NOT write DDL — that is the framework-specific migration skill's job (→ laravel-migration for Laravel).
  • Do NOT collapse phases to "ship it" because the user is impatient; surface the risk and let the user decide.
  • Do NOT skip the deprecation cycle because nobody is using the old shape "for sure" — verify before skipping.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 20, 2026

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 20, 2026

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 20, 2026

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 20, 2026

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 20, 2026

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 20, 2026

See all skills by event4u-app

Report a problem with this skill