Skip to content

45ck/refactoring-code-smells-skills

Repository files navigation

refactoring-code-smells-skills

refactoring-code-smells-skills logo

refactoring-code-smells-skills banner

MIT License 11 skills refactoring and code smells

A platform-neutral refactoring and code smells skill pack for smell detection, anti-pattern review, dependency simplification, duplication review, and refactor prioritization.

Included skills

  • anti-pattern-detector
  • code-smell-detector
  • dead-code-detector
  • dependency-simplifier
  • duplication-reviewer
  • extract-class-advisor
  • extract-method-advisor
  • global-state-risk-reviewer
  • hidden-dependency-detector
  • refactoring-candidate-ranker
  • testability-refactor-planner

Features

  • Preserves the original skills/, templates/, and examples/ source material
  • Mirrors packaged skills into both .claude/skills/ and .agents/skills/
  • Packages the source skills into a reusable public repo format

Install

Option A: Install globally

git clone https://github.com/45ck/refactoring-code-smells-skills.git
cd refactoring-code-smells-skills
bash install.sh

This installs every packaged skill into both:

  • ~/.claude/skills/
  • ~/.agents/skills/

Option B: Copy into a project

cp -R .claude /path/to/your-project/
cp -R .agents /path/to/your-project/

Uninstall

bash uninstall.sh

Usage

/code-smell-detector current service layer
/anti-pattern-detector application startup flow
/refactoring-candidate-ranker backlog of hotspots
/extract-method-advisor long validation routine
/duplication-reviewer repeated mapper code
/testability-refactor-planner hard-to-test legacy class

Repo structure

skills/                              original source skills
templates/                           reusable templates
examples/                            sample flow material
.claude/skills/<skill>/SKILL.md      packaged skill format
.agents/skills/<skill>/SKILL.md      mirrored packaged skill format
install.sh                           global installer
uninstall.sh                         global uninstaller
LICENSE                              MIT

Related workflow agents

Related skill packs

License

MIT

About

Refactoring skill pack for code smells, duplication, anti-patterns, cleanup planning, and maintainability improvement.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages