Source profileQuality 92/100

event4u-app/agent-config/src/skills/migration-architect/SKILL.md

migration-architect

Use 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.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

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 p…

Best for

  • 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

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/migration-architect"
Safe inspection promptEditorial

Inspect the Agent Skill "migration-architect" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/migration-architect/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Procedure

    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.

    Trigger — what condition starts it.Actions — DDL, code deploy, feature flag, traffic shift.Reversibility — can we abort here, and how?
  2. 02

    When to use

    A schema change spans more than one deploy.

    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
  3. 03

    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.

    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.
  4. 04

    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.

    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.
  5. 05

    3. Pick a rollout shape

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

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

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/migration-architect/SKILL.md
Commit
0adf49a8ae84b0ff6e2de8759eea43257e020eff
License
MIT
Collected
2026-07-28
Default branch
main
View the original SKILL.md

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.

Alternatives

Compare before choosing