create-adr-migrator
Skill3.9k starsChanged 3 days agoMITView on GitHub
Use when planning an ADR-driven migration from adoption tooling through stacked batch implementation and cleanup.
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Create the ADR documenting a decision for the project
- Distinctive: line 43
Add the initial tooling for migrating code to the ADR decision (eslint, stylelint, codemods, skills, etc)
- Very specific: line 45
Add the reporting workflow to migration-status.yml to track migration status of files
- Distinctive: line 52
Before moving on to working in batches, we need to make sure that the migration tooling is working as expected.
- Distinctive: line 59
If provided, apply the feedback to the tooling and repeat the process until the user is satisfied with the migration results
- Distinctive: line 81
If the user has feedback for the migration tooling, update that entry in the stack and rebase and re-apply, as necessary, to make sure all …
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are a facilitator helping the user create necessary migration tooling, skills, sub-agents, etc in order to migrate this project based on a decision from an ADR.
The journey for this migration is:
- Create the ADR documenting a decision for the project
- Author code that will identify files that are not migrated yet and add them
to our
migration-status.ymlworkflow - [Optional] Author code that will automatically transform files to the preferred format of the ADR decision
- Author skills, sub-agents, etc that will help to perform the migration automatically using LLMs
- Break up the work into batches and deliver them as a stack using
gh stack - Once all the files are migrated, clean-up all intermediate files that are only for the migration
- Mark the ADR as adopted and implemented
Step 1. Gather requirements
Your job right now is to identify the following:
- What is the ADR that we are creating a migration plan for?
- How do we migrate code to this new format? 2.1. Can we leverage tools like eslint, stylelint, jscodeshift, etc to programmatically migrate code to the new format? 2.2. If not, can we create a custom skill, script or tool to perform the migration? 2.3. How do we detect if a file has been migrated or not? Can we use the results of earlier tools like eslint to flag violations and report them?
- What size batches do we want to work in? Is it per-component, a generic batch
size of
n, do we want to keep each Pull Request below a certain line limit, etc
Once you're ready, make sure that the ADR is the first entry in the stack.
Step 2. Scaffold the migration tooling
- Add the initial tooling for migrating code to the ADR decision (eslint, stylelint, codemods, skills, etc)
- Add the reporting workflow to
migration-status.ymlto track migration status of files
These additions must be the next entry in the stack.
Step 3. Iterate on the migration tooling
Before moving on to working in batches, we need to make sure that the migration tooling is working as expected. Work with the user in a loop until they are satisfied with the outcomes:
- Migrate the smallest unit necessary for a migration (file, component, etc) using the proposed migration tooling (script, skill, sub-agent, etc)
- Prompt the user for feedback on the migration
- If provided, apply the feedback to the tooling and repeat the process until the user is satisfied with the migration results
Perform this flow for several different migration units (or until the user tells you to stop) to try and catch as many different scenarios as possible before fanning out the migration.
Step 4. Create the migrator
The final step is for you to create the driver for this migration. Using the ADR, tooling, and other artifacts generated above, create a skill and other necessary artifacts for driving this ADR migration to completion.
This work should be done in batch sizes based on the answer above from the user. This migrator should prefer creating sets of batches at a time instead of doing them all at once unless the user requests this. When invoked, it should understand the status of the migration from the workflow and current items in the stack in order to determine the next batch to create. The method for batching should be included in this skill.
Each batch must be an entry in the stack.
If the user has feedback for the migration tooling, update that entry in the stack and rebase and re-apply, as necessary, to make sure all changes apply that guidance.
The migrator should follow a step methodology for organization (e.g. each heading is a step). The goal of the migrator is to complete the journey at the beginning of this skill (although some steps may already be done).
Trending
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about primer/react
- vercel/next.js“Turbopack Sass loader does not resolve imports correctly”GitHub · Jan 1, 2024 · 7 reactions
- mui/mui-design-kits“[figma] Support Figma Code Connect ”GitHub · Jun 28, 2024 · 5 reactions
- filipedeschamps/tabnews.com.br“feat(primer/react): update version”GitHub · Dec 20, 2023 · 2 reactions
- github/docs“Fix theme mismatch”GitHub · May 18, 2023 · 2 reactions
- primer/view_components“Component status page”GitHub · Nov 29, 2021 · 2 reactions
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub (36 times).
On GitHub · 36
- Jan 1, 2024Turbopack Sass loader does not resolve imports correctly — vercel/next.js7 reactions · 11 comments
- Jun 28, 2024[figma] Support Figma Code Connect — mui/mui-design-kits5 reactions · 5 comments
- Dec 20, 2023feat(primer/react): update version — filipedeschamps/tabnews.com.br2 reactions · 10 comments
- May 18, 2023Fix theme mismatch — github/docs2 reactions · 13 comments
- Nov 29, 2021Component status page — primer/view_components2 reactions · 7 comments
31 more on GitHub
- Mar 9, 2026Bump the app group with 8 updates — CRRU-UK/photo-id-app1 reaction · 2 comments
- Feb 12, 2026Add `AGENTS.md` — carbon-design-system/carbon1 reaction · 1 comment
- Feb 2, 2026Bump the app group with 13 updates — CRRU-UK/photo-id-app1 reaction · 2 comments
- Nov 10, 2025deps: bump @primer/react from 37.31.0 to 38.1.0 — npm/documentation1 reaction · 4 comments
- Mar 3, 2025Update release_conductor.yml — primer/.github1 reaction
- Oct 17, 2024Docs: add a11y guidance regarding required fields — primer/design1 reaction · 2 comments
- Oct 15, 2024Fix bug where checkboxes were broken with prefers-reduced-motion — primer/view_components1 reaction · 1 comment
- Aug 30, 2024Atualiza as propriedades do componente `Tooltip` para serem compatíveis com a nova versão (`Tooltip v2`) — filipedeschamps/tabnews.com.br1 reaction · 1 comment
- Mar 28, 2024Tooltip: Update the threshold value to match with the offset — primer/view_components1 reaction · 1 comment
- Feb 28, 2023Show source code in React component examples — primer/design1 reaction
- Dec 13, 2022Add a treatment for consistent appearance of content on focus — primer/design1 reaction · 1 comment
- Nov 9, 2022Using playwright to generate snapshots — primer/view_components1 reaction · 2 comments
- Oct 19, 2022Focus zone calls error in vitest + jsdom — primer/behaviors1 reaction · 2 comments
- Oct 11, 2022Atualiza todas as dependências possíveis — filipedeschamps/tabnews.com.br1 reaction · 2 comments
- Aug 19, 2022Add a CommonJS build to the package — github/combobox-nav1 reaction · 6 comments
- Feb 16, 2022ModuleNotFoundError: Could not find module in path "" relative to "" — codesandbox/codesandbox-client1 reaction · 9 comments
- Oct 29, 2026Create: Timeline in Figma — deboramoratalla-lab/ds-lab0 reactions
- Oct 26, 2026🐛 cheatcode_install registers an MCP server with its repo URL as the command and reports success — trustmybot/plugin0 reactions
- Oct 19, 2026Add named capture modes with mode-keyed baselines (bet) — ravidsrk/frontguard0 reactions
- Oct 15, 2026Rule proposal: Enforce consistency between documented jsDoc default and actual default values — typescript-eslint/typescript-eslint0 reactions · 2 comments
- Sep 26, 2026Refatorações e ajustes finais da Milestone 3 — jeancarlier/clone-tabnews0 reactions
- Jun 24, 2026This project is not maintained anymore 😢 — github/command0 reactions · 1 comment
- Jun 11, 2026WS2 · Regenerate primer-react through the corrected registry-scoped meta-skill (HITL) — vercel-labs/ds-skill-extraction-workshop0 reactions · 3 comments
- Feb 6, 2026Upgrade React to 19, additional major dependency updates (Primer, TanStack, tRPC) — github-community-projects/private-mirrors0 reactions · 3 comments
- Nov 21, 2025User interface — panodata/suraya0 reactions · 4 comments
- Apr 11, 2025✨ 이슈 상세 페이지 UI 개선 — Seono-Na/demo-issue-api-playground0 reactions
- Mar 21, 2025IconButton should include Tooltip by default — benbalter/alt-text-generator-action0 reactions
- Mar 21, 2024Improve SSR by removing Webpack dependency — github-community-projects/org-metrics-dashboard0 reactions
- Jan 11, 2024Other relevant component libraries/frameworks — crate/crate-ui-components0 reactions
- Jan 5, 2024Add a pull request template — deven-org/boiler0 reactions
- Sep 23, 2022Element should not auto-register itself unless a browser context is found — github/markdown-toolbar-element0 reactions · 8 comments
In this repository17 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- agentic-workflowsSkill
- changesetsSkill
- component-testingSkill
- deprecationsSkill
- feature-flagsSkill
- modular-ds-accessibility-contractSkill
- modular-ds-base-componentsSkill
- modular-ds-config-componentsSkill
- modular-ds-presentational-componentsSkill
- modular-ds-spectrum-modelSkill
- modular-ds-utilitiesSkill
- slotsSkill
- storybookSkill
- style-guideSkill
- turborepoSkill
- write-skillSkill
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.

