agentleFS
wedabrowedabro/bro-skills/.agents/skills/speckit.migrate/SKILL.md

speckit.migrate

Skill3 starsChanged 3 months agoMITView on GitHub

Legacy Code Migrator - Reverse-engineer existing systems into safe SDD migration artifacts.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Document current behavior, risks, and a reversible migration path before changing legacy code.

    line 7
  2. Distinctive:

    Read source, configs, schemas, runtime/deployment files, tests, maps, and constitution.

    line 10
  3. Very specific:

    Write .agents/specs/migration/spec.md, migration-risk.md, and a staged migration plan with evidence and rollback notes.

    line 11
  4. Distinctive:

    Read-only analysis. Do not delete data/code, silently change behavior, or mark inferred behavior as fact.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Mission

Document current behavior, risks, and a reversible migration path before changing legacy code.

Inputs and Outputs

  • Read source, configs, schemas, runtime/deployment files, tests, maps, and constitution.
  • Write .agents/specs/migration/spec.md, migration-risk.md, and a staged migration plan with evidence and rollback notes.

Protocol

  1. Inventory stack, entrypoints, routes, data models, integrations, deployment, ownership, and test coverage; record tool/version confidence.
  2. Reverse-engineer observable behavior into scenarios and entities. Label inferred behavior and preserve unknowns for clarification.
  3. Classify risks by impact and likelihood: security/data loss/availability/contract breakage, then operational and editorial debt. Cite file:line evidence.
  4. Design strangler or in-place stages with seams, backfill/dual-read/dual-write rules, feature flags, rollback triggers, and exit criteria.
  5. Convert each stage into atomic tasks linked to risks and acceptance checks. Re-scan after each stage; never delete legacy paths without verified replacement.

Completion Gate

Current behavior, risks, dependencies, migration stages, rollback, and verification evidence are documented; no implementation is performed in this skill.

Guard Rails

Read-only analysis. Do not delete data/code, silently change behavior, or mark inferred behavior as fact.

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.