Free 40-page Claude guide — setup, 120 prompt codes, MCP servers, AI agents. Download free →
CLSkills
Refactoring

Refactoring

Clean up code, reduce duplication, improve structure

24 skills

Refactoringbeginner

Extract Function

Extract code blocks into well-named functions

refactoringfunctionsclean-code
Refactoringbeginner

Rename Symbol

Safely rename variables, functions, classes across codebase

refactoringrenamecodebase
Refactoringbeginner

Remove Dead Code

Find and remove unused code

refactoringdead-codecleanup
Refactoringintermediate

Simplify Conditionals

Simplify complex if/else chains and nested conditions

refactoringconditionalsclean-code
Refactoringintermediate

Extract Component

Extract UI code into reusable components

refactoringcomponentsreact
Refactoringintermediate

DRY Refactor

Find code duplication and extract shared logic

refactoringdryduplication
Refactoringbeginner

Promise to Async

Convert Promise chains to async/await

refactoringasyncpromises
Refactoringintermediate

Class to Functions

Convert class-based code to functional style

refactoringfunctionalclasses
Refactoringbeginner

Callback to Promise

Convert callback-based code to Promises

refactoringcallbackspromises
Refactoringbeginner

Magic Number Fix

Replace magic numbers with named constants

refactoringconstantsclean-code
Refactoringintermediate

Long Function Split

Split long functions into smaller, focused ones

refactoringfunctionsclean-code
Refactoringbeginner

Parameter Object

Replace long parameter lists with parameter objects

refactoringparametersclean-code
Refactoringintermediate

tech-debt-tracker

Scan codebases for technical debt, score severity, track trends, and generate prioritized remediation plans. Use when users mention tech debt, code quality, refactoring priority, debt scoring, cleanup

communityalirezarezvani
Refactoringintermediate

beautiful-prose

A hard-edged writing style contract for timeless, forceful English prose without modern AI tics. Use when users ask for prose or rewrites that must be clean, exact, concrete, and free of AI cadence, f

communityantigravity
Refactoringintermediate

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 qu

communityantigravity
Refactoringintermediate

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve reada

communityantigravity
Refactoringintermediate

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 qu

communityantigravity
Refactoringintermediate

defuddle

Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online do

communityantigravity
Refactoringintermediate

legacy-modernizer

Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization. Handles technical debt, dependency updates, and backward compatibility.

communityantigravity
Refactoringintermediate

nerdzao-elite

Senior Elite Software Engineer (15+) and Senior Product Designer. Full workflow with planning, architecture, TDD, clean code, and pixel-perfect UX validation.

communityantigravity
Refactoringintermediate

orchestrate-batch-refactor

Plan and execute large refactors with dependency-aware work packets and parallel analysis.

communityantigravity
Refactoringintermediate

plan-writing

Structured task planning with clear breakdowns, dependencies, and verification criteria. Use when implementing features, refactoring, or any multi-step work.

communityantigravity
Refactoringintermediate

shellcheck-configuration

Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.

communityantigravity
Refactoringintermediate

tdd-workflows-tdd-refactor

Use when working with tdd workflows tdd refactor

communityantigravity