
Code Refactoring Refactor Clean
When you've got legacy code that works but makes you wince every time you touch it, this skill walks through the refactoring systematically. It identifies code smells and dependency tangles, then proposes incremental changes that won't blow up your app. The emphasis on keeping diffs reviewable and behavior stable is smart, since big bang refactors are where things usually go sideways. It applies SOLID principles and clean code patterns without over-engineering, and includes a verification step to catch regressions. Best for medium to large refactoring efforts where you need a structured approach, not quick cosmetic fixes.
- skills.sh installs
- 982
- GitHub stars
- 43.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill code-refactoring-refactor-clean --agent claude-codeInstalls into .claude/skills of the current project.
Files
Refactor and Clean Code
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
Use this skill when
- Refactoring tangled or hard-to-maintain code
- Reducing duplication, complexity, or code smells
- Improving testability and design consistency
- Preparing modules for new features safely
Do not use this skill when
- You only need a small one-line fix
- Refactoring is prohibited due to change freeze
- The request is for documentation only
Context
The user needs help refactoring code to make it cleaner, more maintainable, and aligned with best practices. Focus on practical improvements that enhance code quality without over-engineering.
Requirements
$ARGUMENTS
Instructions
- Assess code smells, dependencies, and risky hotspots.
- Propose a refactor plan with incremental steps.
- Apply changes in small slices and keep behavior stable.
- Update tests and verify regressions.
- If detailed patterns are required, open
resources/implementation-playbook.md.
Safety
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Category
- Code Review & Quality
- First seen
- Apr 16, 2026
More from sickn33/antigravity-awesome-skills
All 708- Autonomous Agents977
- React Patterns970
- Lint And Validate968
- File Organizer967
- Architect Review965
- Frontend Developer964
- Blockchain Developer956
- Seo Fundamentals956
- App Builder953
- Geo Fundamentals949
- Ai Engineer948
- Production Code Audit937
- Pptx Official928
- Daily News Report921
- Doc Coauthoring921
- Content Creator914
- Tdd Workflow913
- Testing Patterns908
- Performance Profiling893
- Shopify Apps887
- Concise Planning879
- Code Documentation Code Explain874
- Flutter Expert873
- Security Audit863