skills/migrate-app/SKILL.md
--- name: migrate-app description: Generic "migrate an existing project" dispatcher. Asks the source stack and the target shape via AskUserQuestion, then hands off to the framework-specific migration skill (`/ro:migrate-to-tanstack`, `/ro:migrate-to-astro`). Use when the user wants to migrate, port, move, or convert an existing web app but isn't sure which target stack fits. Sister to `/ro:new-app` — same dispatcher pattern, the migration leaves of `[[stack-decision-map]]`. Calls neither skill u
npx skillsauth add RonanCodes/ronan-skills skills/migrate-appInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Walks the migration question — what's the source, what's the target — and dispatches to the right /ro:migrate-to-<framework> skill. Doesn't port anything itself.
If you already know the target, call the leaf skill directly:
/ro:migrate-to-tanstack — porting to server-leaning TanStack Start + D1 + Workers/ro:migrate-to-astro — porting to static-leaning Astro 5 on Workers (with the live-DNS cutover sequence)This skill is the "I'm not sure which target fits" entry point.
/ro:migrate-app
/ro:migrate-app --source vercel-astro --target astro
/ro:migrate-app --explain
If running in a repo, do a quick audit before asking anything — the answers often jump out:
# Current adapter / framework
grep -E "@astrojs/(vercel|netlify|cloudflare|node)|next|remix|nuxt|sveltekit" package.json
# Current output mode (Astro)
grep -E "output:\s*['\"](static|server|hybrid)" astro.config.* 2>/dev/null
# Hosting hints
ls vercel.json netlify.toml fly.toml Dockerfile 2>/dev/null
Echo the findings before the first question so the user sees what was detected.
AskUserQuestion):AskUserQuestion):/api/* is dynamic) → /ro:migrate-to-astro/ro:migrate-to-tanstackIf the source is already Astro and the target is static-leaning, the migration is mostly a hosting swap — /ro:migrate-to-astro handles that path with explicit checks for the twelve [[astro-cf-workers-migration-gotchas]].
If the source is Astro but the target is server-leaning (e.g. you're outgrowing the Astro adapter and need a real SaaS), prompt: "this is a rewrite, not a port — confirm?" before dispatching to /ro:migrate-to-tanstack.
Before dispatching, ask:
--keep-data.Print the exact dispatch invocation, ask for confirmation, then run it.
Based on your answers:
- source: Astro on a Hetzner VPS
- target: static-leaning (mostly marketing pages + /api/config)
- live domain: yes (cutover with rollback plan)
About to run: /ro:migrate-to-astro --strategy branch
Continue? (yes/edit-decisions/no)
| Source | Target shape | Dispatches to | Notes |
|---|---|---|---|
| Astro (any host) | static-leaning | /ro:migrate-to-astro | Most common — Vercel/VPS Astro → Workers |
| Next.js | static-leaning | /ro:migrate-to-astro | Treated as a rewrite (drop Next, port content + components to Astro) |
| Plain HTML / Webflow / WP | static-leaning | /ro:migrate-to-astro | Use --strategy fresh |
| Anything | server-leaning | /ro:migrate-to-tanstack | Always a rewrite, never a host swap |
| Astro | server-leaning | /ro:migrate-to-tanstack | Rewrite — confirm with user before dispatch |
[[astro-cf-workers-migration-gotchas]] — the spec /ro:migrate-to-astro implements/ro:migrate-to-astro, /ro:migrate-to-tanstack — the leaves this dispatcher routes to/ro:new-app — the sibling for fresh projects (no source to port)[[stack-decision-map]] — the canonical tree both dispatchers walktesting
--- name: linear-pipeline description: The Fable orchestrator for a single dispatched Linear ticket. Holds almost no context itself; it receives `--issue <ID> --detached`, decides the stage sequence, and fans out a sub-agent per stage, passing forward only each stage's artifact (never re-derived, never inlined into its own context). Step zero, before any planning or stage routing, is a boundary triage against `canon/security-boundary.md` (#199): a match tags Ronan Connolly and stops the run, no
development
--- name: in-your-face description: Capture a chat-only answer into a durable artifact (markdown + HTML, PDF when cheap) and launch it automatically so the user cannot miss it. Use when user says "in your face", "don't let me lose this", "save that answer", "make that durable", or right after answering a substantive side question (a recipe, comparison, how-to, or generated prompt) that would otherwise die with the context. category: workflow argument-hint: [--no-open] [--vault <short>] [hint of
tools
One-shot headless OpenAI Codex CLI calls for background/admin AI tasks — summaries, classification, extraction, admin glue. The default engine for anything that runs AI constantly in the background (daemon-driven, per-event), because it bills the flat ChatGPT subscription instead of Claude usage or per-token API spend, and it keeps working while Claude is rate-limited. NEVER for coding — coding stays Claude. Use when a skill or daemon needs a cheap always-on AI call, when the user says "use codex", "ask codex", "codex as backup", or when building a background summarizer/classifier into a listener or loop. Reads auth from ~/.codex/auth.json (ChatGPT account, no API key).
research
Turn a warranty rejection, repair quote, or RMA email into a cited decision brief — legal read (NL/EU consumer law), is the part user-serviceable, live part and new-unit prices, repair-vs-DIY-vs-new economics, before-you-send-it checklist, deadlines. Use when the user pastes or screenshots a repair quote, warranty rejection, "not covered" email, onderzoekskosten fee, or asks "should I repair or replace this".