Codebase Cleanup Refactor Clean

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.

514 stars 146 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill codebase-cleanup-refactor-clean
Manual install
git clone --depth 1 https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.git /tmp/Agent-Skills-4-Vibe-Coding-CLI
mkdir -p ~/.claude/skills
cp -r /tmp/Agent-Skills-4-Vibe-Coding-CLI/.agent/skills/codebase-cleanup-refactor-clean ~/.claude/skills/codebase-cleanup-refactor-clean

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 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

- Avoid large rewrites without agreement on scope.
- Keep changes reviewable and reversible.

## Output Format

- Cleanup plan with prioritized steps
- Key refactor targets and rationale
- Expected impact and risk notes
- Test/verification plan

## Resources
Read the full skill on GitHub

Details

Skill name
codebase-cleanup-refactor-clean
Path
.agent/skills/codebase-cleanup-refactor-clean/SKILL.md
Repo updated
11 June 2026
Copies
Found in 2 GitHub repos

FAQ

What does the Codebase Cleanup Refactor Clean skill do?

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.

How do I install the Codebase Cleanup Refactor Clean skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill codebase-cleanup-refactor-clean. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Codebase Cleanup Refactor Clean popular?

It lives in Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI, which has 514 GitHub stars and 146 forks.

Related skills

Address Github Comments

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.

Git & Code Review146

Agent Memory MCP

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

AI, LLMs & Agents146

API Documentation Generator

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices

Software Development146

Codebase Cleanup Tech Debt

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical debt in software projects. Analyze the codebase to uncover debt, assess its impact, and create acti

Software Development146

Codebase Cleanup Deps Audit

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

You are a dependency security expert specializing in vulnerability scanning, license compliance, and supply chain security. Analyze project dependencies for known vulnerabilities, licensing issues, outdated packages, and provide actionable remediation strategies.

Software Development146

Architect Refine Critique

365

NTCoding/claude-skillz

Three-phase design review. Chain architect → refiner → critique subagents. Triggers on: 'design review', 'architecture review', '/arc', system design proposals, significant refactoring decisions, new service or module design.

Software Development47

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.