porting-codebases
Installation
SKILL.md
Porting Codebases
A mechanical port: translating a working codebase from language S to language T
while preserving architecture, module boundaries, names, and control flow. The result
should read as if the source were transpiled — not as if someone designed it in T.
Step 0 — Arguments gate
Invoked with no arguments → stop and ask. Do nothing else first.
Routing itself depends on the arguments: you cannot answer "does PORTING.md exist in the
target directory" without being told the target directory. So this gate comes before
everything — before reading the source, before ls, before proposing options.