clean-code-refactor
CommunityClean code through disciplined refactoring.
Software Engineering#code quality#complexity#refactor#code smells#test-driven refactor#characterization tests#fowler patterns
Authorresultakak
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Clear code debt and tangled logic slow teams; this skill establishes a repeatable, test-backed pathway to detect smells, measure complexity, and execute safe refactors.
Core Features & Use Cases
- Characterization testing when behavior is not fully known.
- Smell catalog aligned to language stacks (Python, JS/TS, Go) with thresholds for cyclomatic and cognitive complexity.
- Stepwise refactor plan with small commits, audits, and reviewer checks.
- Risk-managed pattern application (Fowler patterns) to improve structure without changing external behavior.
Quick Start
Start by identifying the top two code smells in a module, write a characterization test if none exists, and outline a five-step, commit-scoped refactor plan.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: clean-code-refactor Download link: https://github.com/resultakak/argos/archive/main.zip#clean-code-refactor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.