migrate
Skill15 starsChanged 8 months agoMITView on GitHub
You MUST use this skill before starting any cross-module migration, upgrade, or technology conversion. Use when multiple files or modules must change in a coordinated sequence — framework upgrades, language conversions, schema migrations, or major API version changes. Stronger signals: "migrate", "upgrade", "convert", "port", "move from X to Y", "upgrade to version N", "switch from X to Y", "schema migration". Use sextant:modify-feature instead when only a single module's behavior is changing without coordinated multi-step rollout.
39 other projects use a version of this.
Adopted by
Most recently taken up by
- amervyng/ClaudeCodetheir own version, first seen Oct 5, 2026
- DawnEver/claude-code-configtheir own version, first seen Oct 4, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- atomicinnovation/acceleratortheir own version, first seen Sep 22, 2026
- antoniowolkk/junior-agenttheir own version, first seen Sep 22, 2026
Used with
Projects with it also use a11y, incident and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CorentinGCSkilla11y
Accessibilité web — rôles ARIA, navigation clavier, contraste, labels, focus management, semantic HTML. Appliqué automatiquement lors de la création de composants UI.
Also in 3 projects that use this
pvnarpSkillincident
Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.
Also in 3 projects that use this
diego-tobalinaSkilllogging
Logging best practices for Java (SLF4J/Logback) and Node.js (Winston/Pino). Use for structured logging, log levels, and avoiding sensitive data exposure.
Also in 3 projects that use this
AnthropicSkilltech-debt
Identify, categorize, and prioritize technical debt. Trigger with "tech debt", "technical debt audit", "what should we refactor", "code health", or when the user asks about code quality, refactoring priorities, or maintenance backlog.
Also in 3 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 3 projects that use this
HashiCorpSkillchangelog
Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.
Also in 6 projects that use this
Other versions39 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 39
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- codewithmukesh/dotnet-claude-kit★ 750same name
- dsifry/metaswarm★ 419same name
- guhcostan/claude-mega-brain★ 126same name
- AsiaOstrich/universal-dev-standards★ 76same name
- lightpointventures/claude-code-starter★ 36same name
- atomicinnovation/accelerator★ 34same name
- launchdarkly/ai-tooling★ 25same name
- Hassaan146/claude-skills★ 18same name
- ignromanov/llm-obsidian-wiki★ 17same name
29 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- add-featureSkill
- debugSkill
- fix-bugSkill
- modify-featureSkill
- planSkill
- sextantSkill
- refine-requirementsSkill
- review-codeSkill
- securitySkill
- shipSkill
- tool-gitnexusSkill
- write-testsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 13 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 32 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 90
Do not proceed with this step until the user selects "Yes".
- Distinctive: line 111
After completing the Migration Sequence, before executing any module change, use the confirmation gate with:
- Distinctive: line 118
Do not begin Step 4 until the user selects "Yes".
- Distinctive: line 120
If user selects "No": ask *"What should change — the order, scope, or approach?"*, update the Migration Sequence, and use the confirmation …
- Distinctive: line 129
Run the associated tests for this module (and its direct callers)
- Very specific: line 131
If tests fail: stop. Do not continue to the next module.
- Distinctive: line 146
After all modules pass validation, remove migration scaffolding in a separate commit:
- Distinctive: line 148
Delete compatibility shims and adapters
- Distinctive: line 149
Remove old type aliases and version-compatibility branches
- Very specific: line 150
Remove @deprecated annotations added for this migration
- Distinctive: line 151
Remove feature flags introduced to gate the migration
- Distinctive: line 170
Do not migrate multiple modules in a single step without validating each — this removes rollback granularity
- Distinctive: line 171
Do not delete the old API or shim before all consumers have been migrated and tested
- Distinctive: line 172
Do not make behavioral changes alongside migration changes — migration commits must be pure migrations (structure changes only, behavior …
- Very specific: line 178
If .sextant/state.json exists in the project root and the current task matches a sprint task:
- Distinctive: line 184
Do not write the file without explicit user confirmation.
“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
!../principles/SKILL_BODY.md
!../tool-gitnexus/SKILL_BODY.md
Migration Workflow
Core Principle
Migrations are multi-module, stateful, and partially irreversible. The core strategy is migrate in dependency order, validate at every checkpoint, and keep rollback options open until all modules are confirmed working.
Distinct from sextant:modify-feature: Modify-feature changes one module's behavior. Migration coordinates changes across many modules in a defined sequence, with compatibility shims and a rollback plan at each phase boundary.
Complete Execution Workflow
Progress tracking: At the start of each step, output an updated progress block so the user knows where the migration stands.
Migration Progress ✓ Step 1: Scope Scan — <N files identified, Tier N impact> ✓ Step 2: Compatibility — <N hard-cutover steps flagged> → Step 3: Migration Plan — in progress ○ Step 4: Per-Module Migration + Validation ○ Step 5: CleanupReplace
○with→for the current step, and✓once complete.
Step 1: Migration Scope Scan
Enumerate all affected files and produce a migration inventory:
- List every file that references the old API, type, pattern, or version
- Score the total impact using the Impact Radius Scorecard (§3.2)
- Identify dependency relationships between affected files
─── Migration Inventory ─────────────────────────────
Migration: <from X> → <to Y>
Impact radius score: N → <Tier>
File | Change Type | Dependency Order
───────────────────────|─────────────────────────|──────────────────────
<file A> | <API call → new API> | leaf (migrate first)
<file B> | <type annotation> | depends on A
<file C> | <core module> | migrate last
─────────────────────────────────────────────────────🔗 When GitNexus is available, use impact MCP tool to enumerate all dependents automatically.
Step 2: Compatibility Assessment
For each breaking change in the migration:
- Is there a compatibility shim available (e.g., an adapter, polyfill, or compatibility layer)?
- What is the backward compatibility window — can the old and new API coexist during migration?
- Is there runtime coercion risk — can old data be silently misinterpreted by the new code?
─── Compatibility Assessment ────────────────────────
Breaking change: <description>
Shim available: Yes (<name / approach>) / No
Old/new coexistence: Yes (window: <duration / version range>) / No
Runtime coercion risk: Yes (describe) / No
Rollback approach: <how to revert this step if it fails>
─────────────────────────────────────────────────────If no shim is available and old/new cannot coexist: flag as a hard-cutover migration step. Use the confirmation gate with:
- question: The Compatibility Assessment block for this step, plus:
"This is a hard-cutover step — old and new cannot coexist. Rollback after this point requires manual intervention. Authorize execution?" - options:
"Yes, I authorize this hard-cutover step""No — let's find a compatibility shim or defer this step"
Do not proceed with this step until the user selects "Yes".
Step 3: Migration Order Planning
Ordering rule (per §6.2 dependency direction): migrate leaf modules first, core modules last.
─── Migration Sequence ──────────────────────────────
Phase 1 (no dependents): <leaf files — safe to migrate first>
Phase 2 (depend on Phase 1 only): <next tier>
...
Phase N (core): <modules with the most dependents — migrate last>
Rollback boundary after each phase: if Phase N+1 fails, revert only Phase N.
─────────────────────────────────────────────────────Each phase should be a separate commit — this preserves rollback granularity and makes the migration history bisectable.
Confirmation Gate (between Step 3 and Step 4)
After completing the Migration Sequence, before executing any module change, use the confirmation gate with:
- question: The full Migration Sequence block above, plus a summary of any hard-cutover steps identified in Step 2
- options:
"Yes, begin execution in this order""No — let's revise the sequence or scope"
Do not begin Step 4 until the user selects "Yes".
If user selects "No": ask "What should change — the order, scope, or approach?", update the Migration Sequence, and use the confirmation gate again.
Step 4: Per-Module Migration + Validation
For each module, in the order established in Step 3:
- Apply the migration to this module only
- Run the associated tests for this module (and its direct callers)
- If tests pass: continue to the next module
- If tests fail: stop. Do not continue to the next module. Diagnose the failure — link
sextant:debugif the root cause is not immediately clear.
─── Per-Module Migration Log ────────────────────────
Module: <file / module name>
Change applied: <description>
Tests run: <test file(s) or test command>
Result: ✅ Pass — proceed to next module / ❌ Fail — stopped (diagnosis below)
─────────────────────────────────────────────────────Forbidden: Migrating multiple modules between test runs. Each module migration must be validated before the next begins.
Step 5: Legacy Code Cleanup
After all modules pass validation, remove migration scaffolding in a separate commit:
- Delete compatibility shims and adapters
- Remove old type aliases and version-compatibility branches
- Remove
@deprecatedannotations added for this migration - Remove feature flags introduced to gate the migration
─── Cleanup Checklist ───────────────────────────────
[ ] Compatibility shims removed
[ ] Old type aliases / version branches deleted
[ ] @deprecated annotations cleared
[ ] Migration feature flags removed
[ ] Tests updated to remove compatibility-mode paths
[ ] Documentation updated (README, CHANGELOG, migration guide)
─────────────────────────────────────────────────────Why a separate commit? Cleanup changes are low-risk and mechanical. Keeping them separate from functional migration changes makes both easier to review and easier to bisect if a regression appears later.
Forbidden Actions
- Do not migrate multiple modules in a single step without validating each — this removes rollback granularity
- Do not delete the old API or shim before all consumers have been migrated and tested
- Do not make behavioral changes alongside migration changes — migration commits must be pure migrations (structure changes only, behavior preserved)
Sprint State Integration
If .sextant/state.json exists in the project root and the current task matches a sprint task:
- On start: offer to update the task's
statusfrompending→in_progress. Ask: "Update sprint state to mark Task N as in_progress?" - On completion (acceptance condition met): offer to update
statustodone. Ask: "Update sprint state to mark Task N as done?" - On blocker (test failure, missing dependency, unresolvable ambiguity that halts progress): surface the issue, then ask: "Mark Task N as blocked and record the reason in flags?" If confirmed, set
status: "blocked"and append{"task": N, "reason": "<one-sentence blocker description>"}to the top-levelflagsarray. Do not proceed to the next task while a task is blocked.
Do not write the file without explicit user confirmation. If the user declines, continue without state updates.
Reply Format
Migration Summary:
| # | Item | Detail |
| [1] | Scope | <N files; impact radius N → Tier; N phases planned> |
| [2] | Compatibility | <shims available / hard-cutover steps flagged (N require authorization)> |
| [3] | Sequence | <phase-by-phase plan with rollback boundaries> |
| [4] | Current status | <Phase N of M: ✅ complete / ❌ stopped at <module> (diagnosis: <root cause>)> |
| [5] | Needs your input | <hard-cutover steps requiring explicit authorization; test failures to diagnose> |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

