agentleFS
ryukirinryukirin/openspec-code-migration/skills/migration-review/SKILL.md

migration-review

Skill0 starsChanged 35 days agoMITView on GitHub

Read-only review of one migration stage, reported as a table in the conversation. Writes no files, needs no approval, and blocks nothing. Modes - strategy reviews the planning pack, docs reviews the OpenSpec change documents, code reviews the implementation. The user decides when to run it.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. jpicklyk/task-orchestrator★ 214same name
    2. paureis/pau-skills★ 2same name
    3. Shri-Phnx/claude-skills★ 2same name
    4. melocalex/agent-knowledge-demo★ 0same name

    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 repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    no security issue is kept as is.

    line 34
  2. Distinctive:

    every PRESERVE behaviour has a passing test.

    line 44
  3. Distinctive:

    no dependency or scope outside the plan.

    line 47

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

Migration Review

Find the problems that would make the implementation go wrong or need rework, and report them in the conversation. The review is read-only: it changes nothing it reviews, writes no review file, and asks for no approval. Whether and when to fix is the user's call.

<schema> is the path from openspec schema which code-migration --json; gate is node <schema>/scripts/migration_gate.mjs.

How

  1. Mode and scope. Use the mode the user names (strategy, docs, or code). Otherwise go by progress: implementation started means code; an OpenSpec change without implementation means docs; anything earlier means strategy. If the user only wants certain files or one change (for example a git diff), review only that.
  2. Run the scripts first, so mechanical problems are left to them:
    • strategy: gate lint --root <pack> and gate stage propose --root <pack>
    • docs: gate lint --root <changeRoot> --defs <pack> "**/*.md" and gate coverage --root <pack> --change <changeRoot>
    • code: the automated checks in test-plan.md, or the CI results for the same commit
  3. Independent reviewer. If your agent can start a subagent with a fresh context (for example the Agent tool in Claude Code), give it the mode, the file list, the script output, and the checklist below, and require read-only work that returns findings only. Do not share the author's conclusions. Otherwise, review it yourself and say so in the report.
  4. Report in the conversation:
    • one line: are there BLOCKER/HIGH findings, and should they be fixed first or is it fine to continue;
    • a findings table with number, severity (BLOCKER/HIGH/MEDIUM/LOW), related IDs, problem and evidence, and the skill that fixes it. At most 15 rows, most severe first. No wording or formatting nits;
    • one line with the script results.

Checklists

strategy: inventory, baseline, and strategy in migration-plans/<name>/

  • the readiness check missed no material, such as tables, configuration, or external services the code uses but the repository lacks;
  • each GAP strategy works on the target stack, and its consequence is stated;
  • compatibility conclusions have evidence, experiments were actually run, and accepted risks have a response;
  • how the target handles schema, constraints, transactions, and encoding is spelled out;
  • no security issue is kept as is;
  • decisions do not contradict each other, and a user-supplied strategy is followed faithfully.

docs: proposal, specs, design, test-plan, and tasks of the OpenSpec change

  • specs follow the strategy's dispositions and add no scope beyond it;
  • design batches are correctly ordered, with measurable exit criteria and a workable rollback;
  • data migration follows the GAP strategies;
  • design makes no major decision the strategy does not cover.

code: implementation and test results, against specs, test-plan, and tasks

  • every PRESERVE behaviour has a passing test;
  • security fixes and defects not preserved are handled as the strategy says;
  • each BATCH has evidence for its exit criteria, and rollback still works;
  • no dependency or scope outside the plan.

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.