What is refactoring?
WHEN tests are green and you need a refactor plan; NOT for new feature delivery; commit-first safety with prioritized improvements. Source: mintuz/claude-plugins.
WHEN tests are green and you need a refactor plan; NOT for new feature delivery; commit-first safety with prioritized improvements.
Quickly install refactoring AI skill to your development environment via command line
Source: mintuz/claude-plugins.
Refactoring is the third step of TDD. After GREEN, assess if refactoring adds value.
| Critical | Fix now | Mutations, knowledge duplication, >3 levels nesting | | High | This session | Magic numbers, unclear names, >30 line functions | | Nice | Later | Minor naming, single-use helpers | | Skip | Don't change | Already clean code |
If code isn't driven by a failing test, don't write it.
WHEN tests are green and you need a refactor plan; NOT for new feature delivery; commit-first safety with prioritized improvements. Source: mintuz/claude-plugins.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/mintuz/claude-plugins --skill refactoringWHEN tests are green and you need a refactor plan; NOT for new feature delivery; commit-first safety with prioritized improvements. Source: mintuz/claude-plugins.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/mintuz/claude-plugins --skill refactoring Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/mintuz/claude-plugins