agentleFS
focusreactivefocusreactive/webflow-to-sanity-migration/.claude/skills/migrate/SKILL.md

migrate

Skill0 starsChanged 2 months agoMITView on GitHub

Migrate a published Webflow site to Sanity. Use when the user asks to migrate a site by URL or resume an existing migration.

65 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

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.
  • JkudjoSkill

    incident

    Production incident response — structured triage, hypothesis tree, safe remediation, incident record

    Also in 4 projects that use this

  • liatrio-labsSkill

    sdd

    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

  • BerryKuipersSkill

    scaffold

    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

  • MicrosoftSkill

    init

    Also in 8 projects that use this

  • agenticnotetakingSkill

    upgrade

    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

  • genomewalkerSkill

    checkpoint

    Save a checkpoint of task status, decisions, active files, and next steps

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 51 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a script fails, the fix is another script run with better input — never a hand-edit of project files.

    line 18
  2. Very specific:

    Read manifest.steps ({ [stepId]: { status, error?

    line 66
  3. Very specific:

    When every applicable step is done, the pipeline is complete.

    line 73

“Common” is measured: kept by at least 6 in 10 of the 51 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/migrate

This skill drives the migration pipeline directly: it resolves project state by reading .migration/, then runs each stage's script in a fixed order.

Hard rule: scripts own writes, the skill owns orchestration

  • The skill reads state directly with the Read tool: .migration/manifest.json, .migration/run-config.json, and .migration/artifacts/*.json. These are the source of truth.
  • The skill never writes under .migration/ by hand. Every state change runs a real script (src/scripts/**/index.ts) via Bash.
  • If a script fails, the fix is another script run with better input — never a hand-edit of project files. See the read-only rule below.

Hard rule: the tool repo is read-only, and the run is yours to finish

A migration run never modifies this repository. Not src/, not tests/, not configs (package.json, migrate.config.json, playwright-mcp.json, .mcp.json), not docs/, not this skill. No edits, no new files, no git subcommand that touches the tree (add, commit, stash, checkout, reset, clean, restore). Read the tool source as much as you like — write nothing outside <projectPath>.

Hit a problem? Solve it yourself, inside the run. A failing script, a rejected payload, a stuck lane, a tool bug you just diagnosed — none of these is a reason to patch the repo, and none is a reason to stop and hand the problem back to the user. Find the way forward with what the pipeline already gives you: re-read the failing script's own error list and author a corrected payload; re-run the step; narrow or widen scope; restart replay/harness or take a free MCP lane; or record what is still open, mark it for review and move on. Then keep going to the next step.

Found a real tool bug? Write it down and route around it. Collect such findings and report them once the run is finished — fixing the tool is separate work, in a separate session, on a clean tree.

The pipeline

Phases, in the order the skill runs them:

phaselink
init-projectphases/init-project/PHASE.md
probephases/probe/PHASE.md
detectphases/detect/PHASE.md
inventoryphases/inventory/PHASE.md
snapshotphases/snapshot/PHASE.md
assetsphases/assets/PHASE.md
design-tokensphases/design-tokens/PHASE.md
discoveryphases/discovery/PHASE.md
synthphases/synth/PHASE.md
layoutphases/layout/PHASE.md
generatephases/generate/PHASE.md

Determining the next step

One thing is not a manifest step: init-project --prepare, which computes the RunConfig.

Read manifest.steps ({ [stepId]: { status, error? } }, status one of pending/running/done/failed). Walk "The pipeline" table in order; the first step not done is the next one — failed means it failed before (warn, then retry), running means it was interrupted (retry). Open that step's phase doc and follow it; the phase doc owns its own step ids, commands, --force semantics and internal loops. Never plan a step from this file alone.

When every applicable step is done, the pipeline is complete.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.