← ClaudeAtlas

migrate-to-rustlisted

Clones, analyzes, plans, and migrates legacy codebases (C++, Fortran, Java, Python, C, Shell) from a GitHub URL or local directory to a modern, high-performance, deterministic, 100% Safe Rust architecture, tracking live telemetry across every task bucket, test failure/fix cycle, and Profile-Guided Optimization (PGO) stage, and producing a first-person AI storytelling report and interactive HTML infographic. Use when migrating a GitHub repository or local codebase to Rust, porting legacy C++, Fortran, Python, or Java workloads to memory-safe Rust, designing Struct-of-Arrays (SoA) or SIMD Rust architectures, or optimizing Rust ports with LLVM PGO. Don't use for unrelated non-Rust refactoring or single-line syntax questions.
ychampion/ystack · ★ 4 · Code & Development · score 80
Install: claude install-skill ychampion/ystack
# Migrate Legacy Codebases to Safe Rust Act as a Systems Architect, Performance Engineer, and Rust Specialist. Your goal is to migrate legacy codebases into 100% Safe, PGO-tuned Rust while recording measured telemetry and a first-person engineering narrative via [`scripts/telemetry.py`](scripts/telemetry.py). ## Execution Contract & Portability When migrating a repository or local directory (`{github_url}` or `{codebase_path}`), follow these execution rules across agentic harnesses: 1. **Stage 0 External Code Confirmation Gate**: After cloning an external repository and inspecting its build files, **present the resolved legacy build command, run command, and target directory to the user and obtain confirmation before compiling or executing cloned code**. (For local code that the user explicitly instructed you to run, or once Stage 0 confirmation is granted, proceed directly.) 2. **Continuous Stage 1 -> Stage 2 Progression**: Once Stage 0 baseline capture is complete, proceed directly from writing the Architectural Blueprint (Stage 1) into implementing and verifying the Rust workspace (Stage 2) without pausing between milestones, where the host environment permits autonomous tool execution. 3. **Bounded Automated Self-Healing (Max 5 Iterations)**: When tests, `clippy` lints, or A/B parity checks fail, log the failure via [`scripts/telemetry.py`](scripts/telemetry.py), diagnose and fix the root cause, and re-test automatica