mcpField
R
refactoring

refactoring

github.com/ciemborDevelopment3.1k437 installsUpdated 7w ago
Repository

About refactoring

A skill for behavior-preserving code improvement, aimed at developers making small, test-backed refactors. It separates cleanup from feature work and applies concise guidance before consulting a deeper reference when needed.

Key features

  1. 01Behavior-preserving code changes
  2. 02Small, incremental refactoring
  3. 03Test-backed cleanup
  4. 04Guidance for code smells

Use cases

  1. 01Improve code without changing behavior
  2. 02Clean up code in test-backed steps
  3. 03Keep refactoring separate from feature changes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ciembor/agent-rules-books --skill refactoring

After installing, type/refactoringin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

refactoring.md
refactoring.mini.md
refactoring.nano.md

Details

From the project README

Refactoring Skill

Use this skill when a task involves behavior-preserving code improvement, code smells, small refactoring steps, test-backed cleanup, or separating refactoring from feature changes.

Before making design or code decisions, read and apply refactoring.mini.md. Use refactoring.md only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.

Comments

Markdown supported