
Codebase Cleanup Refactor Clean
This is a structured refactoring assistant that helps you clean up technical debt without going overboard. It breaks down cleanup work into small, testable steps and focuses on high-impact changes like removing duplication and improving readability. The skill explicitly pushes back on large rewrites, keeping changes reviewable and reversible. It's built for the common scenario where you need to tidy up a codebase before adding features, not for quick fixes or documentation tasks. The output gives you a prioritized plan with risk notes rather than just dumping refactored code at you. Good fit if you want guardrails around refactoring scope instead of an enthusiastic rewrite-everything approach.
- skills.sh installs
- 808
- GitHub stars
- 43.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill codebase-cleanup-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
- Cleaning up large codebases with accumulated debt
- Removing duplication and simplifying modules
- Preparing a codebase for new feature work
- Aligning implementation with clean code standards
Do not use this skill when
- You only need a tiny targeted fix
- Refactoring is blocked by policy or deadlines
- The request is 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
- Identify high-impact refactor candidates and risks.
- Break work into small, testable steps.
- Apply changes with a focus on readability and stability.
- Validate with tests and targeted regression checks.
- 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
- May 16, 2026
More from sickn33/antigravity-awesome-skills
All 708- Red Team Tactics808
- Claude Scientific Skills806
- Voice Ai Development804
- Code Reviewer796
- Architecture Patterns787
- Server Management782
- Quant Analyst775
- Data Scientist774
- Plan Writing772
- Voice Agents771
- Clerk Auth767
- Web Design Guidelines766
- Ai Wrapper Product762
- React Best Practices762
- Agent Orchestration Multi Agent Optimize760
- Prompt Caching760
- Notebooklm751
- Architecture Decision Records749
- Deployment Procedures749
- Notion Template Business749
- Antigravity Workflows748
- Nanobanana Ppt Skills748
- Python Pro747
- Wordpress Penetration Testing744