Agent skill

Migration Guidance

by foldkit in foldkit/foldkit

A skill your agent uses when changing how a v3 public API maps to v4, editing migration annotations, or regenerating migration/v3-to-v4.md.

MITAuto-check passed

Install Migration Guidance

skills CLI
$ npx skills add foldkit/foldkit --skill migration-guidance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install foldkit/foldkit migration-guidance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/foldkit/foldkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/repos/effect/.agents/skills/migration-guidance .claude/skills/migration-guidance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
migration-guidance
GitHub stars
912
Token cost
~283 tokens
SKILL.md length
138 words
Files
3
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when changing how a v3 public API maps to v4, editing migration annotations, or regenerating migration/v3-to-v4.md.

  • Works in 4 steps: Account for every affected v3 symbol. → Read annotations.md before adding or… → When checking or regenerating the… → …
  • Changing how a v3 public API maps to v4
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Editing migration annotations

What it does

Migration Guidance is an agent skill from foldkit/foldkit. Use when changing how a v3 public API maps to v4, editing migration annotations, or regenerating migration/v3-to-v4.md.

Its SKILL.md is about 280 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `annotations.md` and `generation.md`).

The licence is MIT.

When your agent uses it

  • Changing how a v3 public API maps to v4
  • Editing migration annotations
  • Regenerating migration/v3-to-v4.md

Example prompts

  • “/migration-guidance”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Account for every affected v3 symbol.
  2. Read annotations.md before adding or changing annotation
  3. When checking or regenerating the reference, or when the API change exists in
  4. When output was generated, inspect it for unrelated movement and stale refs.

What it can do on your machine

Read from SKILL.md and the folder at commit ffbbde1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Migration Guidance loads about 283 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 138 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~283

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from foldkit/foldkit at commit ffbbde1, republished under its MIT licence (© foldkit). 138 words, ~283 tokens.

Download SKILL.mdSave it as .claude/skills/migration-guidance/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
migration-guidance
description
Use when changing how a v3 public API maps to v4, editing migration annotations, or regenerating migration/v3-to-v4.md.

Update guidance when a v3 public module or API is renamed, moved, removed, replaced, or gains a materially different v4 contract. A v4-only API without a v3 counterpart does not automatically need an annotation.

  1. Account for every affected v3 symbol.
  2. Read annotations.md before adding or changing annotation YAML. Verify every suggested replacement against implementation and tests.
  3. When checking or regenerating the reference, or when the API change exists in a committed ref, read generation.md. Otherwise report that generation is deferred.
  4. When output was generated, inspect it for unrelated movement and stale refs.

The task is complete when every affected v3 symbol is accounted for, annotation replacements are verified, checks and generation succeed when the change is in a committed ref, and every generated difference is explained. Report deferred checks explicitly for uncommitted API changes.

© foldkit, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in repos/effect/.agents/skills/migration-guidance of foldkit/foldkit.

  • SKILL.md
  • annotations.md
  • generation.md

Open the folder on GitHubat commit ffbbde1

Compare with similar skills

Migration Guidance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Migration Guidance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migration Guidance this skillfoldkit/foldkit912—~283Automated safety check: PassMIT
Safe Database Migration Patternsaffaan-m/ECC274k—~3.3kAutomated safety check: PassMIT
Database Migrationsaffaan-m/ECC274k4 repos~3kAutomated safety check: PassMIT
Reversible MigrationJuliusBrussee/caveman110k1 repos~196Automated safety check: PassApache-2.0
Database Migrationsaffaan-m/ECC274k1 repos~2.4kAutomated safety check: PassMIT
Migrationkortix-ai/suna20k—~1.2kAutomated safety check: PassCustom licence

Similar skills

  • Rules and examples for safe, reversible schema changes in production: zero-downtime column and index changes, large data backfills and ORM migration workflows.

    274k GitHub stars~3.3k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Safe, reversible database migration patterns: forward-only production changes, expand-contract zero-downtime renames, concurrent indexes, batched backfills, and per-tool workflows for PostgreSQL…

    274k GitHub starsUsed in 4 repos~3k tokens
    DatabasesAuto-check passed
  • Reversible Migration

    JuliusBrussee/caveman

    Implement reversible compatibility-safe transitions. Use for schema, data, API, protocol, configuration, or dependency migrations requiring rollback and…

    110k GitHub starsUsed in 1 repo~196 tokens
    DevelopmentAuto-check passed
  • Şema değişiklikleri, veri migration'ları, rollback'ler ve PostgreSQL, MySQL ve yaygın ORM'ler (Prisma, Drizzle, Django, TypeORM, golang-migrate) arasında sıfır kesinti deployment'ları için…

    274k GitHub starsUsed in 1 repo~2.4k tokens
    DatabasesAuto-check passed
  • Migration

    kortix-ai/suna

    How to change the database schema in this repo. An agent skill from kortix-ai/suna.

    20k GitHub stars~1.2k tokensUpdated today
    DatabasesAuto-check passed
  • Od Code Migration

    nexu-io/open-design

    Default reference pipeline for the code-migration taskKind — code-import → design-extract → token-map → rewrite-plan → patch-edit ↔ build-test devloop → diff-review → handoff.

    100k GitHub stars~378 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from foldkit/foldkit

All 17 skills in this repo
  • Commit Changes

    foldkit/foldkit

    Create a git commit in the Foldkit monorepo with changeset enforcement and formatting.

    912 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Foldkit

    foldkit/foldkit

    A skill your agent uses whenever working with Foldkit. An agent skill from foldkit/foldkit.

    912 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Audit Program

    foldkit/foldkit

    Audit an existing Foldkit program against the architecture, conventions, and quality bar.

    912 GitHub stars~7.2k tokensUpdated today
    Auto-check passed
  • Generate Program

    foldkit/foldkit

    Generate a complete, idiomatic Foldkit program from a natural language description.

    912 GitHub stars~20k tokensUpdated today
    Auto-check passed
  • Changesets

    foldkit/foldkit

    Concise PR finalization changesets. An agent skill from foldkit/foldkit.

    912 GitHub stars~923 tokensUpdated today
    Auto-check passed
  • Dependency Maintenance

    foldkit/foldkit

    Dependency maintenance. An agent skill from foldkit/foldkit.

    912 GitHub stars~683 tokensUpdated today
    Auto-check passed

Questions about Migration Guidance

What does Migration Guidance do?

A skill your agent uses when changing how a v3 public API maps to v4, editing migration annotations, or regenerating migration/v3-to-v4.md. Migration Guidance is an agent skill from foldkit/foldkit.md.

When should I use Migration Guidance?

Migration Guidance fits situations like: changing how a v3 public API maps to v4; editing migration annotations; regenerating migration/v3-to-v4.md.

How do I install Migration Guidance in Claude Code?

Run `npx skills add foldkit/foldkit --skill migration-guidance -a claude-code`. Or copy the skill folder (repos/effect/.agents/skills/migration-guidance in foldkit/foldkit) into .claude/skills/migration-guidance in your project. Claude Code loads it when a task matches its description.

How do I install Migration Guidance in Codex?

Run `npx skills add foldkit/foldkit --skill migration-guidance -a codex`. Or copy the skill folder (repos/effect/.agents/skills/migration-guidance in foldkit/foldkit) into .agents/skills/migration-guidance in your project. Codex loads it when a task matches its description.

Can I use Migration Guidance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add foldkit/foldkit --skill migration-guidance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migration-guidance, .gemini/skills/migration-guidance, .github/skills/migration-guidance and .opencode/skills/migration-guidance in your project.

What does Migration Guidance need to run?

SKILL.md names no scripts, command-line tools or credentials: Migration Guidance is instructions for the agent only.

Does Migration Guidance access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Migration Guidance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Migration Guidance use?

Migration Guidance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Migration Guidance use?

About 283 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Migration Guidance?

Skills that share tags, products or a category with Migration Guidance: Safe Database Migration Patterns (affaan-m/ECC, 274k stars), Database Migrations (affaan-m/ECC, 274k stars), Reversible Migration (JuliusBrussee/caveman, 110k stars) and Database Migrations (affaan-m/ECC, 274k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migration Guidance?

foldkit (a GitHub organization) maintains it in foldkit/foldkit, which has 912 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: foldkit/foldkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.