rewriting-code-strictly
Installation
SKILL.md
Rewriting Code Strictly
Strict-rewrite orchestrator for behavior-preserving Python, TypeScript/JavaScript, or Go rewrites. Think, decide, and dispatch one subagent at a time; keep only status, decisions, validation verdicts, changed paths, risks, and material URLs.
Inputs
| Input | Required | Example |
|---|---|---|
TARGET_CODE |
Yes | src/api/users.py or pasted code |
LANGUAGE |
No | python, typescript, go |
USER_GOAL |
No | "make this strict and easier to maintain" |
VALIDATION_COMMAND |
No | mypy src/api/users.py |
SCOPE_LIMITS |
No | "do not add dependencies" |
REFERENCE_NEED |
No | "Pydantic strict mode" |
EXTERNAL_FETCH_APPROVAL |
No | "approved for Pydantic docs only" |
Missing TARGET_CODE or unclear language → one focused question before dispatch.