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".
71 other projects use a version of this.
Adopted by
Most recently taken up by
- alexderz/agentic-toolboxtheir own version, first seen Nov 29, 2026
- Yeseh/skillettheir own version, first seen Nov 29, 2026
- mphaxise/gstack-port-for-codextheir own version, first seen Nov 29, 2026
- guhcostan/claude-mega-braintheir own version, first seen Nov 29, 2026
- langchain-ai/open-swetheir own version, first seen Nov 29, 2026
- codewithmukesh/dotnet-agent-kittheir own version, first seen Nov 29, 2026
Used with
Projects with it also use incident, sdd and 9 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.
JkudjoSkillincident
Production incident response — structured triage, hypothesis tree, safe remediation, incident record
Also in 4 projects that use this
liatrio-labsSkillsdd
Execute the Liatrio Spec-Driven Development (SDD) workflow when explicitly invoked by the user. NOTE: this skill is NOT intended to be dynamically loaded or automatically triggered; it should only ever be explicitly called by the user.
Also in 4 projects that use this
BerryKuipersSkillscaffold
Detect project stack, apply architecture patterns, wire quality gates, and scaffold features. Use when bootstrapping a project, adding a vertical slice, wiring CI/CD, adding Docker compose, or setting up quality gates.
Also in 4 projects that use this
agenticnotetakingSkillupgrade
Apply plugin knowledge base updates to an existing generated system. Consults the Ars Contexta research graph for methodology improvements, proposes skill upgrades with research justification. Never auto-implements. Triggers on "/upgrade", "upgrade skills", "check for improvements", "update methodology".
Also in 3 projects that use this
genomewalkerSkillcheckpoint
Save a checkpoint of task status, decisions, active files, and next steps
Also in 5 projects that use this
MicrosoftSkillinit
Also in 7 projects that use this
Other versions71 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 71
- garrytan/gbrain★ 34ksame name
- langchain-ai/open-swe★ 11ksame name
- tuist/tuist★ 5.9ksame name
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- codewithmukesh/dotnet-agent-kit★ 853same name
- codewithmukesh/dotnet-claude-kit★ 853same name
- dsifry/metaswarm★ 443same name
- pipecat-ai/gradient-bang★ 420same name
61 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 57 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 57 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.

