mg-refactor
OfficialCoordinate safe, test-backed code refactoring.
Authorwonton-web-works
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Coordinates a safe, test-driven refactoring workflow that preserves external behavior while restructuring code and maintaining high test coverage.
Core Features & Use Cases
- Characterization tests first: QA captures current behavior before any refactor.
- Green bar before refactor: All tests must pass before making structural changes.
- Small steps: Refactor in small increments with continuous validation.
- No behavior changes: Refactor changes structure, not functionality.
- High coverage: Maintain 99%+ test coverage throughout the refactor.
- Follow output format: Conforms to prescribed output templates for traceability.
Quick Start
Define your refactor scope and start the characterization-test–driven workflow to refactor in small steps with continuous verification.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: mg-refactor Download link: https://github.com/wonton-web-works/miniature-guacamole/archive/main.zip#mg-refactor 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 471,000+ vetted skills library on demand.