Code Refactoring 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.
Install
npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill code-refactoring-refactor-cleangit 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/code-refactoring-refactor-clean ~/.claude/skills/code-refactoring-refactor-cleanPersonal 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 - Refactoring tangled or hard-to-maintain code - Reducing duplication, complexity, or code smells - Improving testability and design consistency - Preparing modules for new features safely ## Do not use this skill when - You only need a small one-line fix - Refactoring is prohibited due to change freeze - The request is for 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 - Assess code smells, dependencies, and risky hotspots. - Propose a refactor plan with incremental steps. - Apply changes in small slices and keep behavior stable. - Update tests and verify regressions. - If detailed patterns are required, open `resources/implementation-playbook.md`. ## Safety - Avoid changing external behavior without explicit approval. - Keep diffs reviewable and ensure tests pass. ## Output Format - Summary of issues and target areas - Refactor plan with ordered steps - Proposed changes and expected impact - Test/verification notes ## Resources
Details
- Skill name
code-refactoring-refactor-clean- Repository
- Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
- Path
.agent/skills/code-refactoring-refactor-clean/SKILL.md- Repo updated
- 11 June 2026
- Copies
- Found in 2 GitHub repos
FAQ
What does the Code Refactoring 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 Code Refactoring Refactor Clean skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill code-refactoring-refactor-clean. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Code Refactoring 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
514Dokhacgiakhoa/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.
Agent Memory MCP
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).
API Documentation Generator
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices
Code Refactoring Tech Debt
514Dokhacgiakhoa/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
Code Refactoring Context Restore
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
Use when working with code refactoring context restore
Codebase Cleanup Deps Audit
514Dokhacgiakhoa/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.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.