surgical-injector
CommunitySafely roll out changes without downtime.
Software Engineering#refactor#error-handling#legacy-code#gradual-rollout#feature-toggle#surgical-injection
AuthorJonely235
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Surgical-injector provides a safe pattern to introduce new code into legacy systems without downtime by isolating the new logic behind a feature toggle and providing a guarded path that falls back to the existing behavior.
Core Features & Use Cases
- Feature toggle architecture to enable or disable new logic without touching the old code
- Guarded execution with try-catch (or equivalent) to preserve behavior on failure
- Clear surgery documentation, monitoring hooks, and rollback guidance for safe deployments
- Use Case: safely refactor a critical function or gradually roll out a new feature in a legacy project
Quick Start
Enable the surgical pattern by wrapping the target function with a toggle and a guarded path to old behavior.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: surgical-injector Download link: https://github.com/Jonely235/claude-skills/archive/main.zip#surgical-injector Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.