refactoring-patterns
✓Apply safe refactoring patterns to improve code structure without changing behavior. Use when cleaning up code, reducing technical debt, or improving maintainability.
Installation
SKILL.md
| Long method (>20 lines) | Extract Method | | Large class | Extract Class | | Long parameter list (>3) | Introduce Parameter Object | | Duplicated code | Extract Method/Class | | Complex conditional | Decompose Conditional | | Magic numbers | Named Constants | | Nested loops | Replace Loop with Pipeline |
| Extract Method | 50-line function | 5 small functions | | Extract Class | Class doing 5 things | 5 single-purpose classes | | Parameter Object | fn(a,b,c,d,e,f) | fn(options) | | Replace Conditional | if (type === 'a') {...} | Polymorphism | | Pipeline | Nested loops | .filter().map().reduce() |
| Without tests | No safety net | Write tests first | | Big bang | Rewrite everything | Small incremental steps | | For perfection | Endless tweaking | Good enough, move on | | Premature abstraction | Pattern not clear yet | Wait for Rule of Three | | During feature work | Mixed changes | Separate commits |
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill refactoring-patterns- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is refactoring-patterns?
Apply safe refactoring patterns to improve code structure without changing behavior. Use when cleaning up code, reducing technical debt, or improving maintainability. Source: proffesor-for-testing/agentic-qe.
How do I install refactoring-patterns?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill refactoring-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/proffesor-for-testing/agentic-qe
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01