anthropics/code-migration-kit-with-claude-code
A gated Claude Code workflow kit for large, structure-preserving language ports
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This is a repository-local workflow kit for Claude Code, not a network service. CLAUDE.md supplies shared operating rules, prompts/ defines phase boundaries, and Claude Code's Task/Agent fan-out runs work within a phase. The first planning phase produces a rulebook, a dependency map, and a TSV inventory of sites that need explicit target-language decisions. A human reviews the evidence and starts the next phase.
State lives in repository artifacts rather than a service database. Python and JavaScript dependency helpers establish the order, scripts/make_manifest.py writes migration/manifest.tsv, and the Node.js queue runner schedules entries whose output files are absent. A subsequent invocation can resume from disk, but file presence is not evidence of a valid translation. The optional Claude Code skill packages the procedure; no MCP endpoint is needed for the supplied workflow.
Key Capabilities & Differentiators
The kit targets structure-preserving ports: the architecture and data structures stay while the language changes. It tests the rulebook with independent guided and unguided translations, then checks process compliance in a small pilot before fan-out. Full translation assigns each unit an implementer, two independent reviewers looking for faults, and a fixer. Dependency helpers cover Python, JavaScript/TypeScript, and C headers; that is parser coverage for dependency discovery, not a matrix of supported translation pairs.
For expensive builds, a survey build turns compiler diagnostics into module queues processed from leaves toward the root. Fixers consume numbered build logs without invoking the compiler themselves. Cheap type checks can instead run inside each unit's loop. Acceptance is separate from compilation: after smoke testing, verify behavior with a portable public-interface suite or an old-versus-new parity harness. Where an original suite exists, the standard exit gate also requires rerunning it on the old code with zero inherited failures and recording both results.
Trade-offs & Limitations
Compared with a direct Claude Code port checked by the compiler and an existing test suite, this kit adds rule governance, more review passes, and phase-level evidence. Those costs are easier to justify when many translators must make the same decisions. For a small codebase or a JavaScript-to-TypeScript move that can proceed file by file, the queues and gates are usually overhead. For a redesign, replace the rulebook with a design document, work at module or subsystem scope, and use design review and disposable trial runs rather than interpreting translation diffs as rule quality.
Budget from pilot measurements: work units multiplied by per-unit usage, including review and fixes. Large ports can reach billions of input tokens, and rate limits can stretch the schedule. Parity is only as good as the judge: recorded trial failures traced to comparator handling of whitespace and non-finite numbers, not to the port. Establish a clean baseline and validate the judge before scaling. A LICENSE file exists, but the license is unspecified in the available metadata, so verify its terms before reuse.
Hardware & Deployment Guide
Place the kit in or alongside the target repository, bring in CLAUDE.md, and start with prompts/00-feasibility.md in Claude Code. Have a validated behavioral judge before translation. The supplied helpers span Python, Node.js, and shell; the full workflow also needs the target project's toolchain and a runnable original implementation. Copy templates/settings.json into .claude/settings.json before the pilot. Prompts 03 and 04 stop if it is missing; manage the build and test restrictions at the prescribed phase boundaries.
The helpers run locally, but the kit supplies no offline model runtime, GPU requirement, or separate server to deploy. Size the host for concurrent work, builds, and parity tests, and budget Claude capacity independently. This is unmaintained reference code, with no listed release and no monitored issue or PR queue; plan to own any adaptation and operational fixes.
scripts/make_manifest.py turns the work order into migration/manifest.tsv.scripts/queue_runner.mjs selects manifest entries with no output file; output presence controls scheduling, not correctness.scripts/build_daemon.sh writes numbered diagnostics for fixers that work without compiler access.Whole-codebase language ports where architecture and behavior must hold, work can be split by dependency, and the team can validate parity before fan-out.
The change can land incrementally, the port is small enough for a direct test-driven approach, or you need a maintained turnkey service. If you cannot establish a credible behavioral judge, defer the migration.
Quick Start & Installation
prompts/ eight paste-ready prompts (00-feasibility, 00b-judge-setup → 06-post-parity)
templates/ RULEBOOK.md, inventory.tsv, settings.json (+ why each rule exists)
scripts/ dependency mappers (Python, JS/TS, C headers) + queue runner + manifest builder + build daemon
fixtures/ test trees + expected outputs for every script
skill/ a Claude Code skill that walks the six steps
examples/ a complete example run — filled-in rulebook, inventory, diff report, parity scripts
CLAUDE.md the operating manual Claude Code reads when opened here
RUN-NOTES.md receipts from this kit's own test runsComparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| code-migration-kit-with-claude-code ★ | 810 | +8 | Python | — | A gated Claude Code workflow kit for large, structure-preserving language ports |
| skills | 204.1k | +2.5k | Python | — | A Claude Agent Skills catalog for packaging and reusing task workflows |
| ui-ux-pro-max-skill | 158.5k | +3.6k | Python | MIT | A search-and-rules skill that gives coding agents a UI design system to build fr |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/anthropics/code-migration-kit-with-claude-code.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about code-migration-kit-with-claude-code
How does the kit integrate with an existing repository, and do I need an MCP endpoint?
CLAUDE.md into the target repository, start feasibility there, and invoke each subsequent phase after reviewing the previous one. The optional skill packages the workflow; the manifest and files on disk determine what remains to be translated.Do I need a GPU, and how should I estimate runtime and cost?
Can I reuse it commercially or keep the entire workflow on premises?
LICENSE file, but its terms are not identified here. Read it before commercial reuse or redistribution. Running the helper scripts locally does not establish that model processing is offline or self-hosted; verify Claude Code's data-handling terms separately before using the workflow on proprietary code.When is this preferable to an incremental migration or a direct port with a test suite?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy