rescue

Solid

Legacy refactoring orchestrator. Use when user says 'refactor', 'modernize', 'clean up this mess', 'rescue', or when dealing with old/messy/legacy code. Multi-session workflow — autopsy, safety net, incremental surgery, progress tracking.

AI & Automation 81 stars 23 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# rescue ## Purpose Legacy refactoring orchestrator for safely modernizing messy codebases. Rescue runs a multi-session workflow: assess damage (autopsy), build safety nets (safeguard), perform incremental surgery (surgeon), and track progress (journal). Designed to handle the chaos of real-world legacy code without breaking everything. <HARD-GATE> - Surgery MUST NOT begin until safety net is committed and tagged. - ONE module per session. NEVER refactor two coupled modules simultaneously. - Full test suite must pass before rescue is declared complete. </HARD-GATE> ## Triggers - `/rune rescue` — manual invocation on legacy project - Auto-trigger: when autopsy health score < 40/100 ## Calls (outbound) - `autopsy` (L2): Phase 0 RECON — full codebase health assessment - `safeguard` (L2): Phase 1 SAFETY NET — characterization tests and protective measures - `surgeon` (L2): Phase 2-N SURGERY — incremental refactoring (1 module per session) - `retro` (L2): post-rescue retrospective — capture lessons learned - `journal` (L3): state tracking across rescue sessions - `plan` (L2): create refactoring plan based on autopsy findings - `review` (L2): verify each surgery phase - `session-bridge` (L3): save rescue state between sessions - `onboard` (L2): generate context for unfamiliar legacy project - `dependency-doctor` (L3): audit dependencies in legacy project - `context-pack` (L3): create structured handoff briefings before spawning subagents - `neural-memory` | Phase start + pha...

Details

Author
Rune-kit
Repository
Rune-kit/rune
Created
5 months ago
Last Updated
3 days ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

rescue

Run a standalone hotfix/task with Claude or Codex, with no plan or issue involved - for a freeform ask like "fix error in login backend" or "implement forgot password page" where creating an Ogre plan first would be overkill. MUST trigger whenever the user's own message literally names Ogre (e.g. "ogre rescue ...", "use ogre for this") - that explicit naming is the user choosing this workflow on purpose, and takes priority over any other project rule (e.g. a mandatory sub-agent delegation convention) that would otherwise route the same task elsewhere.

1 Updated yesterday
metallurgical
Testing & QA Solid

legacy

Legacy code rescue - audit hotspots, cover with characterization tests, break dependencies, and plan strangler-fig migrations. Use when inheriting, taming, testing, or refactoring an untested/undocumented codebase.

35 Updated today
BULDEE
Data & Documents Listed

codebase-rescue

Rescue and elevate a whole codebase — especially large AI-generated / "vibecoded" ones — by reconciling backend, frontend, and database into an aligned, state-of-the-art state. Use this whenever the user wants to audit, rescue, resume, clean up, or "save" a codebase; whenever they mention slop code, a messy/abandoned/half-finished project, layers that are not aligned or contradict each other, or turning a prototype into something production-grade. Trigger even when the user only says things like "review my whole app", "the frontend and backend don't match", "pick up where I left off", "this codebase is a mess", or "make this production-ready" — do not wait for the word "audit". Prefer this skill over ad-hoc file reading or generic security review for anything that spans multiple layers or the codebase as a whole.

0 Updated 2 days ago
r3vs