rescue - Legacy Code Rescue Workflow
Orchestrates a multi-session workflow to assess, safeguard, incrementally refactor, and verify legacy codebases.
Tags
Updated: 2026-10-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Assess legacy codebase health
- Generate characterization tests
- Refactor one module per session
- Track cross-session rescue state
- Run full test verification
- Remove migration markers
Inputs
- Legacy codebase
- Git repository
- Project test command
- Existing RESCUE-STATE.md
Outputs
- Health assessment
- Characterization test files
- CLAUDE.md project context
- RESCUE-STATE.md state file
- Modified source files
- Git commits and tags
- Test results
- Rescue status report
Requirements
- General-purpose agent
- Read, Write, Edit, Bash, Glob, and Grep tools
- Git repository with commit and tag permissions
- Runnable project test suite
- Required rescue sub-skills
- Opus model support
