refactor
FeaturedSimplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is requested; feature changes need their own intent.
Install
Quality Score: 91/100
Skill Content
Details
- Author
- boshu2
- Repository
- boshu2/agentops
- Created
- 10 months ago
- Last Updated
- today
- Language
- Go
- License
- Apache-2.0
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
refactor
Safe, behavior-preserving refactoring of code structure. Use when the user asks to clean up, simplify, deduplicate, or restructure code.
refactor-code
Change existing code through narrow, behavior-preserving, test-backed simplification without speculative architecture or scope growth. Use for requests to refactor, clean up, restructure, or simplify code. Use explain-code instead when the user only wants an explanation of the current structure.
refactor
Change structure while holding behavior constant. Use when cleaning up, restructuring, or reducing complexity without adding features or fixing bugs. Triggers: "refactor", "clean up", "restructure", "reduce complexity", "tidy this".