migrate
Skill2 starsChanged 9 months agoMITView on GitHub
Migrate files or a directory from one framework, library, or pattern to another. Preserves behavior while updating syntax, imports, and idioms. Use when the user says "migrate from X to Y", "convert this to use X", "upgrade from React class components to hooks", or "port this to FastAPI".
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 7 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
MicrosoftSkillscaffold
Also in 3 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 repository239 other files it gives its agents.
- claude-code-docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- claude-code-docs/llms.txtllms.txt
- agent-native-architectureSkill
- claude-apiSkill
- embedding-strategiesSkill
- fal-ai-mediaSkill
- gemini-imagegenSkill
- hybrid-search-implementationSkill
- langchain-architectureSkill
- llm-evaluationSkill
- ml-pipeline-workflowSkill
- prompt-engineering-patternsSkill
- rag-implementationSkill
- similarity-search-patternsSkill
- vector-index-tuningSkill
- api-design-principlesSkill
- api-designSkill
- architecture-patternsSkill
- cqrs-implementationSkill
- event-store-designSkill
- fastapi-templatesSkill
- microservices-patternsSkill
- openapi-spec-generationSkill
- projection-patternsSkill
- saga-orchestrationSkill
- api-conventionsSkill
- andrew-kane-gem-writerSkill
- angular-migrationSkill
- auth-implementation-patternsSkill
- backend-patternsSkill
- bazel-build-optimizationSkill
- coding-standardsSkill
- database-migrationSkill
- debugging-strategiesSkill
- dependency-upgradeSkill
- dhh-rails-styleSkill
- dotnet-backend-patternsSkill
- dspy-rubySkill
- error-handling-patternsSkill
- monorepo-managementSkill
- nodejs-backend-patternsSkill
- nx-workspace-patternsSkill
- react-modernizationSkill
- temporal-python-testingSkill
- turborepo-cachingSkill
- workflow-orchestration-patternsSkill
- defi-protocol-templatesSkill
- nft-standardsSkill
- solidity-securitySkill
- web3-testingSkill
- backtesting-frameworksSkill
- billing-automationSkill
- competitive-landscapeSkill
- data-storytellingSkill
- employment-contract-templatesSkill
- investor-materialsSkill
- investor-outreachSkill
- kpi-dashboard-designSkill
- market-sizing-analysisSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 12 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 32 edited versions we read keep these.
12
Distinctive
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
- Very specific: line 16
If $ARGUMENTS[0] is a directory, list all files to migrate: find $ARGUMENTS[0] -type f
- Distinctive: line 17
If $ARGUMENTS[0] is a single file, focus on it
- Distinctive: line 18
If only one argument is given, infer the source from the file content and ask for clarification on the target
- Distinctive: line 21
Read the files to identify: the framework/pattern currently in use, idioms, conventions, and structure
- Distinctive: line 28
Run the existing test suite to capture a baseline:
- Distinctive: line 30
If there are no tests, warn the user before proceeding.
- Distinctive: line 33
Update imports and package names
- Distinctive: line 39
Update configuration files as needed:
- Distinctive: line 44
Run the full test suite
- Distinctive: line 45
All baseline tests must still pass
- Distinctive: line 59
If the source pattern is not recognized: describe what was found and ask for guidance
- Distinctive: line 60
If a construct has no direct equivalent in the target: flag it, propose the closest alternative, and ask before applying
- Distinctive: line 61
If tests fail after migration: revert the failing file, report the issue, and continue with other files
“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
Migrate $ARGUMENTS[0] from its current pattern to $ARGUMENTS[1]:
- Understand the scope:
- If $ARGUMENTS[0] is a directory, list all files to migrate:
find $ARGUMENTS[0] -type f - If $ARGUMENTS[0] is a single file, focus on it
- If only one argument is given, infer the source from the file content and ask for clarification on the target
- If $ARGUMENTS[0] is a directory, list all files to migrate:
- Understand the source:
- Read the files to identify: the framework/pattern currently in use, idioms, conventions, and structure
- Note any project-specific customizations that need to be preserved
- Understand the target ($ARGUMENTS[1]):
- Identify the equivalent constructs in the target framework/pattern
- Build a mapping: source concept -> target concept (e.g.,
componentDidMount->useEffect, FlaskBlueprint-> FastAPIAPIRouter)
- Run the existing test suite to capture a baseline:
- Record all passing tests. The migration must not break them.
- If there are no tests, warn the user before proceeding.
- Migrate files one at a time:
- Update imports and package names
- Convert syntax and idioms to target equivalents
- Preserve all logic - do not change behavior during migration
- Preserve comments that explain intent
- For each file, run available tests before moving to the next
- Update configuration files as needed:
package.json,pyproject.toml,go.mod, etc.- Framework config files, build configs, CI configs
- Final verification:
- Run the full test suite
- All baseline tests must still pass
- Report:
- List every file changed
- Summarize the key transformations applied
- Note any items that required manual decisions or could not be automatically migrated
Requirements
- $ARGUMENTS[0]: path to the file(s) or directory to migrate
- $ARGUMENTS[1]: target framework or pattern (e.g., "React hooks", "FastAPI", "async/await", "Pydantic v2")
Error Handling
- If the source pattern is not recognized: describe what was found and ask for guidance
- If a construct has no direct equivalent in the target: flag it, propose the closest alternative, and ask before applying
- If tests fail after migration: revert the failing file, report the issue, and continue with other files
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.

