migrate
Skill10 starsChanged 7 months agoMITView on GitHub
Plan and execute migrations to Astro or between Astro versions with minimal regressions.
- Reads credentials
63 other projects use a version of this.
Adopted by
Most recently taken up by
- tuist/agent-plugintheir own version, first seen Nov 8, 2026
- dsifry/metaswarmtheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- jwm-axoni/claude-workbenchtheir own version, first seen Nov 8, 2026
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
- DawnEver/claude-code-configtheir own version, first seen Nov 6, 2026
Used with
Projects with it also use incident, sdd 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.
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
MicrosoftSkillinit
Also in 8 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
Other versions63 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 63
- garrytan/gbrain★ 32ksame 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-claude-kit★ 808same name
- dsifry/metaswarm★ 426same name
- pipecat-ai/gradient-bang★ 420same name
- govctl-org/govctl★ 276same name
- AsiaOstrich/universal-dev-standards★ 84same name
53 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 repository5 other files it gives its agents.
- add-integrationSkill
- astro-best-practicesSkill
- content-collectionSkill
- create-componentSkill
- docs-lookupSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when moving a project from another framework to Astro, converting a static site into Astro, or upgrading an existing Astro …
- Very specific: line 10
If astro-best-practices is available, apply it alongside this skill so the migrated result follows good Astro defaults rather than just …
- Distinctive: line 16
Before changing code, identify:
- Distinctive: line 37
Prefer an incremental migration plan when the existing app has meaningful runtime behavior or a large interactive surface.
- Very specific: line 51
Keep framework components only where they still add value.
- Very specific: line 62
When a page was using getStaticPaths-style route generation before, rebuild it explicitly in Astro rather than simulating the old framework …
- Distinctive: line 66
Do not port an entire framework app into Astro unchanged unless that is a deliberate compatibility bridge.
- Very specific: line 70
keep the static shell in .astro
- Very specific: line 91
start with the official upgrade guide and use npx @astrojs/upgrade when it fits the repo
- Distinctive: line 92
update official integrations and adapters together with Astro, not as a separate afterthought
- Distinctive: line 93
verify the local and deployment runtime meet the current Node requirement before debugging code-level issues
- Distinctive: line 106
Use version-specific docs for breaking changes.
“Common” is measured: kept by at least 6 in 10 of the 50 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 to Astro
Use this skill when moving a project from another framework to Astro, converting a static site into Astro, or upgrading an existing Astro codebase.
If astro-best-practices is available, apply it alongside this skill so the migrated result follows good Astro defaults rather than just reproducing the old system mechanically.
Workflow
1. Inventory the current system
Before changing code, identify:
- routing structure
- layout/shared shell patterns
- data sources
- styling strategy
- interactive components
- image handling
- deployment/runtime requirements
This determines whether the target should be static, hybrid, or server-rendered.
2. Choose the migration shape
Common patterns:
- static HTML to Astro pages and layouts
- Next.js or Nuxt to Astro pages plus framework islands
- Gatsby content/data flows to content collections
- Astro major-version upgrades using the official upgrade guide
Prefer an incremental migration plan when the existing app has meaningful runtime behavior or a large interactive surface.
3. Map concepts instead of copying files blindly
Typical mappings:
| Source | Astro target |
| shared app shell | layout |
| route component | page or dynamic route |
| markdown/content pipeline | content collection |
| framework-only widget | island with client directive |
| image helper | astro:assets or the project’s current image strategy |
Keep framework components only where they still add value. Static content should usually become .astro.
4. Rebuild the routing and data flow
For each migrated slice:
- recreate routes in
src/pages/ - move shared wrappers into
src/layouts/ - migrate structured content into
src/content/ - replace framework-specific fetching patterns with Astro frontmatter or content APIs
When a page was using getStaticPaths-style route generation before, rebuild it explicitly in Astro rather than simulating the old framework lifecycle.
5. Handle interactivity as islands
Do not port an entire framework app into Astro unchanged unless that is a deliberate compatibility bridge.
Instead:
- keep the static shell in
.astro - preserve framework components for interactive islands
- choose client directives intentionally
- minimize the hydrated surface
6. Validate behavior and regressions
Check at least:
- route parity
- metadata and head output
- image rendering
- form behavior
- keyboard navigation
- build and preview behavior
- deployment assumptions
Astro Upgrade Guidance
For Astro-to-Astro upgrades:
- start with the official upgrade guide and use
npx @astrojs/upgradewhen it fits the repo - update official integrations and adapters together with Astro, not as a separate afterthought
- verify the local and deployment runtime meet the current Node requirement before debugging code-level issues
- rerun content, routing, and build checks after the upgrade
For Astro 6 specifically, check these breakpoints:
- Node runtime: Astro 6 requires Node 22.12.0 or newer
- content collections: use
src/content.config.*, define aloaderfor every collection, removetype, importzfromastro/zod, useentry.idinstead ofslug, and replaceentry.render()withrender(entry) - legacy collection flags: remove any
legacy.collectionsconfig - file querying: replace
Astro.glob()withimport.meta.glob()orgetCollection()for content collections - view transitions: replace
<ViewTransitions />with<ClientRouter />if it still exists in the project getStaticPaths(): removeAstro.generator, and replaceAstro.sitewithimport.meta.env.SITEif it is used insidegetStaticPaths()- custom schemas: review custom Zod usage against Zod 4 if validation starts failing after the upgrade
Use version-specific docs for breaking changes. Do not assume older migration advice still applies to the current Astro release.
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.

