sickn33 avatar

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
View on GitHub

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

Installs 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

Similar to Codebase Cleanup Refactor Clean

More Code Review & Quality