
Codebase Cleanup Refactor Clean
Structured refactoring workflow that plans cleanup steps, prioritizes targets, and sets verification gates before changes land.
- CCM score
- 50 of 100
- skills.sh installs
- 972
- GitHub stars
- 50.1K
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers cleanup planning for large codebases: prioritized refactor targets, expected impact, and risk notes with a test and verification plan
- Guides small, reviewable, reversible steps that preserve public behavior, error handling, transactions, and side-effect timing
- Enforces characterization of invariants before risky refactors and warns against mechanically splitting functions to meet line or parameter limits
- Designed for teams with accumulated debt or preparing for new feature work, with details in
resources/implementation-playbook.md
Install
$ npx -y skills add sickn33/agentic-awesome-skills --skill codebase-cleanup-refactor-clean -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/sickn33/agentic-awesome-skills
- Category
- Code Review & Quality
- First seen
- May 16, 2026
More from sickn33/agentic-awesome-skills
All 682- Computer Use Agents972
- Quant Analyst972
- Ai Product970
- Outlook Calendar Automation967
- Plaid Fintech963
- Antigravity Design Expert950
- Agent Manager Skill942
- Planning With Files941
- Reverse Engineer941
- React Best Practices935
- Data Scientist933
- Git Pushing932
- Claude Scientific Skills929
- Performance Engineer929
- Antigravity Workflows924
- Architecture Patterns924
- Google Drive Automation917
- Python Pro917
- Web Design Guidelines908
- Voice Agents905
- Red Team Tactics903
- Server Management782
- Plan Writing772
- Clerk Auth767
Similar to Codebase Cleanup Refactor Clean
More Code Review & Quality
biomebobmatnyc/claude-mpm-skills965 installsBiome - Fast all-in-one toolchain for web projects (linter + formatter in Rust, 100x faster than ESLint)
python-code-reviewexistential-birds/beagle961 installsReviews Python code for type safety, async patterns, error handling, and common mistakes. Use when reviewing .py files, checking type hints, async/await usage,
lsp-code-analysislsp-client/lsp-skill960 installsSemantic code analysis via LSP. Navigate code (definitions, references, implementations), search symbols, preview refactorings, and get file outlines. Use for e
fork-disciplinejezweb/claude-skills929 installsAudit and enforce the core/client boundary in multi-client projects. Detects where shared platform code is tangled with client-specific code, finds hardcoded cl
gitnexus-guideabhigyanpatwari/gitnexus911 installsUse when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or workflow reference. Examples:
web-design-guidelinessickn33/agentic-awesome-skills908 installsweb design guidelines