safe-refactor · git:20260914.b6a53d4 · 2026-09-14 · sha256 1b6a6358cb285549
safe-refactor git:20260914.b6a53d4A
Immutable. This exact content never changes and is served at /api/v1/blob/1b6a6358cb285549.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_kn65rxkm3bezeyhh/1b6a6358cb28554959d55e04278d5df15570233110f6f40dae35e4273e8343cc.json
Then /plugin install safe-refactor@markdownregistry-kn65rxkm3bezeyhh in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
--- name: safe-refactor description: >- Restructure code while preserving behavior. Use when handling extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits. --- # Safe refactor Define behavior-preservation boundary and establish verification before structural edits. - Keep feature changes outside refactor. - Move one ownership boundary at a time. - Preserve public interfaces, failure behavior, ordering, and compatibility unless explicitly scoped. - Keep intermediate states buildable and testable. - Avoid dependency or configuration growth without correctness need. Run same proof after change. Stop when behavior matches and requested structure is achieved.