sickn33 avatar

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-code

Installs 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
1affaan-m avatarprediction-market-risk-reviewaffaan-m/everything-claude-codeprediction market risk review801skills.sh installs
2sickn33 avatararchitecture-patternssickn33/antigravity-awesome-skillsarchitecture patterns787skills.sh installs
3sickn33 avatararchitecture-decision-recordssickn33/antigravity-awesome-skillsarchitecture decision records749skills.sh installs
4ruvnet avataradr-reviewruvnet/rufloReview code changes against accepted ADRs for compliance violations745skills.sh installs
5alirezarezvani avatargcp-cloud-architectalirezarezvani/claude-skillsDesign GCP architectures for startups and enterprises. Use when asked to design Google Cloud infrastructure, deploy to GKE or Cloud Run, configure BigQuery pipe732skills.sh installs
6manutej avatarfrontend-architecturemanutej/luxor-claude-marketplaceComponent architecture, design patterns, state management strategies, module systems, build tools, and scalable application structure728skills.sh installs