Code Migration & Porting (Dirty-Room)

•
103
•

Facilitates high-fidelity 'lift-and-shift' porting of repositories, libraries, and APIs across different languages and platforms.

sc-dirty-room is a specialized Claude Code skill designed for structured codebase migration and translation. Unlike clean-room implementations that enforce isolation for legal reasons, the dirty-room approach allows Claude to study the original source's algorithms, data structures, and idioms directly to ensure a faithful port. It follows a rigorous 6-phase execution model—from automated discovery and behavioral fixture capture to implementation and verification—ensuring that the resulting code is both functionally equivalent to the original and idiomatically correct in the target language.

主要功能

01Structured 6-phase 'lift-and-shift' migration workflow
02Automated source analysis and translation brief generation
03Behavioral fixture capture for functional verification
04Support for Git repos, local paths, and package registries
05Preservation of complex algorithms and internal idioms
06103 GitHub stars

使用场景

01Migrating legacy JavaScript services to idiomatic TypeScript
02Rewriting a performance-critical Python library in Rust
03Porting an existing API or protocol to a new runtime or platform