·refactoring
</>

refactoring

WHEN tests are green and you need a refactor plan; NOT for new feature delivery; commit-first safety with prioritized improvements.

7Installs·0Trend·@mintuz

Installation

$npx skills add https://github.com/mintuz/claude-plugins --skill refactoring

How to Install refactoring

Quickly install refactoring AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/mintuz/claude-plugins --skill refactoring
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: mintuz/claude-plugins.

SKILL.md

View raw

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.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/mintuz/claude-plugins --skill refactoring
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from mintuz/claude-plugins

Quick answers

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.

How do I install refactoring?

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

Where is the source repository?

https://github.com/mintuz/claude-plugins