Skip to content
Skill

Migrate

Inventories an existing spec-driven project and migrates it to jig's conventions

Migrate is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
Python
Platforms
Claude Code
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Migrate

Migrate is a Claude Code skill from the jig project for repositories that already follow a spec-driven workflow but use different folder names, filename prefixes or slice layouts than jig expects. Its helper script first runs a read-only report that inventories specs, decisions, workflow and architecture docs, then gives a verdict on whether the project is ready to adopt jig's layout.

From there the skill drives a set of bounded operations: renaming ADR folders and files to the ADR-0004 shape with cross-reference rewrites, adopting a custom docs root through a scaffold sentinel, seeding the lightweight decisions file, splitting embedded slices into separate files, and copying jig's skills, agents, hooks and templates into the project's own host folder. Mutating commands offer dry runs, refuse conflicting or ambiguous states before writing, and leave original files in place.

It expects Python 3 and a checkout or installed copy of the jig plugin so the helper script can be run. Judgment calls such as mapping flat slices to parent specs or handling oversized CLAUDE.md files are surfaced for the user to decide rather than automated.

When your agent uses it

Inventory an existing spec-driven project and apply bounded migrations to jig defaults: `report`, `adopt-layout`, `rename-decisions`, `split-slices`, slice-to-spec, `seed-decisions`, and `copy-machinery`. Use when the user says migrate this project to jig, adopt jig here, this repo already has specs — set up jig, scaffold-init refused — what now; introduce jig to an existing codebase; apply ADR-0004 to my project; migrate flat slices into nested specs; seed the lightweight-decisions home; or copy jig's machinery into my project. Reports are read-only; mutations support dry runs where available, refuse conflicts before writing, and preserve originals in the agentic slice-to-spec workflow.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (138 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the jig plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ramboz/jig
/plugin install jig@jig

Or copy only this skill to ~/.claude/skills/migrate:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/migrate &&
cp -R "$tmp/hosts/claude/skills/migrate" ~/.claude/skills/migrate &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/migrate inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/migrate to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/migrate &&
cp -R "$tmp/hosts/claude/skills/migrate" ~/.agents/skills/migrate &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/migrate inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/migrate to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/migrate &&
cp -R "$tmp/hosts/claude/skills/migrate" ~/.cursor/skills/migrate &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/migrate inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ramboz/jig.git --path hosts/claude/skills/migrate

Or copy the folder to ~/.gemini/skills/migrate yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/migrate:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/migrate &&
cp -R "$tmp/hosts/claude/skills/migrate" ~/.copilot/skills/migrate &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/migrate inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ramboz/jig.git

Then copy jig/hosts/claude/skills/migrate into your agent's skills folder as migrate. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Read-only migration report
Inventories specs, decisions and docs in a project and returns a verdict on adoptability without writing files.
ADR layout rename
Moves legacy ADR folders and files to the jig decision layout and updates local cross-references.
Custom docs root adoption
Registers an existing non-standard docs corpus by writing only a scaffold configuration file.
Lightweight decisions seeding
Creates the missing lightweight decisions file in projects adopted before that feature existed, without overwriting.
Machinery copy into project
Copies jig's skills, agents, hook scripts and templates into the project's host folder and registers hooks.
Flat slice to nested spec guidance
Walks through converting flat slice files into nested spec folders while keeping the originals in place.

Good for

  • Adopt jig in a repository that already has specs and decision records
  • Preview and apply the ADR-0004 rename on an older decisions folder
  • Seed the lightweight decisions file in a project scaffolded before it existed
  • Copy jig's runtime machinery into a project so it is version controlled with the repo
  • Convert a plugin-only jig project to in-repo mode

Migrate FAQ

When does the skill trigger?

It triggers when the user asks to migrate a project to jig, adopt jig in an existing repo, or when scaffold-init refuses because specs already exist.

Does the report change any files?

No. The report subcommand is strictly read-only, and mutating operations offer a dry-run option first.

What happens if the project already has conflicting folders?

Operations such as rename-decisions refuse to run when both docs/adrs and docs/decisions are present, so the user must merge them manually first.

Are original files deleted during slice-to-spec migration?

No. The source slice and milestone files stay in place, and the user decides when to remove them after verifying the new spec tree.

Will existing hooks in my project be overwritten by copy-machinery?

If unmanaged hook configuration already exists, the command refuses with exit code 3 unless --force is passed. With --force on the Claude host, jig hooks are appended next to existing entries.

How do I install Migrate in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/migrate to use it in all your projects, or to .claude/skills/migrate in one project. Or install the jig plugin, which includes it: /plugin marketplace add ramboz/jig, then /plugin install jig@jig.

Does Migrate run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Migrate?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Migrate?

The closest alternatives to Migrate are Analyze, Scaffold init, Reframe, Adr workflow and Project retrofit.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ramboz/jig

  1. Walks an agent through diagnosing, proving and fixing a reported bug with a regression

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Runs a six-category ambiguity audit on a spec and asks up to five questions

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Runs a static lint pass on Python or Node projects and reports normalized findings

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Recommends the right contract artifact and validator for each external API surface

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Builds a standardized prompt for a fresh reviewer subagent to check work against its spec

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Persists session terms, learnings and lightweight decisions into a project memory layer

    • Open source
    • 6 GitHub stars
    • Knowledge and memory