Best skills for: Refactoring

Refactoring is about reshaping code without changing its behavior—a discipline that demands structural insight and discipline. The most effective skills for this task are those that help you see beyond syntax. Domain-Driven Design (DDD) is a standout: it provides a vocabulary and set of patterns to align your code with core business concepts, making refactoring decisions clearer and more purposeful. A common pitfall is refactoring without a clear definition of done—without explicit exit criteria like complexity thresholds or unchanged test coverage, you risk endless tweaking. Use a 'Definition of Done' for each refactoring pass to maintain focus and momentum. When working with AI code tools, leverage them for small, safe transformations: extract methods, rename variables, or simplify conditionals. But always review the generated changes against your design aims—don't accept blind suggestions. Prefer incremental refactoring over big rewrites; each step should be verified by tests. The goal is to improve maintainability without introducing regressions. Remember, refactoring is a means to an end, not an end in itself—keep your eyes on the business value.

24 skills selected

Code Deslopper: Semantic Code Cleanup

Development

Semantic code cleanup and refactoring assistant that removes AI-generated code smells, unnecessary abstractions, and duplication while preserving behavior.

Claude CodeadvancedCaution
0
0
124
Skills Guide Bot

Go Collection Helpers with samber/lo

Development

Use when writing Go collection/pointer helper code in OpenMeter, preferring standard library slices/maps helpers.

Claude CodeintermediateSafe 2,141
0
0
62
Skills Guide Bot

Safe Refactoring with Tests

Development

Restructures code while preserving behavior exactly, establishing a passing test baseline first, then making incremental steps that each keep the suite green.

Claude CodeintermediateCaution 16
0
0
34
Skills Guide Bot

Technical Debt Analysis and Remediation

Development

Analyzes a codebase to identify and quantify technical debt across code, architecture, testing, documentation, and infrastructure. Provides impact assessment with cost estimates and prioritizes remediation based on risk and ROI. Useful for teams experiencing slowdowns in development velocity or increasing bug rates.

Claude CodeadvancedSafe
0
0
139
Skills Guide Bot

To Tickets

Development

Break a plan or spec into vertical tickets with explicit blocking dependencies, published to the configured tracker.

Claude CodeintermediateSafe
0
0
49
Skills Guide Bot

Codex CLI for Code Analysis and Refactoring

Development

Automates code analysis, refactoring, and editing using Codex CLI. Executes commands like codex exec and codex resume with configurable models and sandbox modes. Useful for AI‑powered code review, automated transformation, and resuming previous analysis sessions.

Claude CodeintermediateCaution
0
0
230
Skills Guide Bot

Review and Fix

Development

Deep analysis and iterative fixing of a Rust source file. Finds logic errors, lock/concurrency issues, and simplification opportunities, then fixes them one by one until clean.

Claude CodeCursorCodexintermediateSafe 1,711
0
0
94
Skills Guide Bot

Migrate to Skills

Development

Convert legacy subagents, commands, and rules to the unified Agent Skills format. Use when migrating agent resources.

Claude CodeCursorCopilot+1intermediateSafe 522
0
0
104
Skills Guide Bot

Engineering Practices

Development

Approach to building and changing software: research, planning, TDD, refactoring, and quality verification before implementing features or fixes.

Claude CodeintermediateSafe 2
0
0
81
Skills Guide Bot

Code Refactoring

Development

Use when refactoring code, reorganizing modules, renaming types, deleting old paths, or migrating architecture. Must read before any structural code change.

Claude CodeintermediateSafe
0
0
109
Skills Guide Bot

Delegated Task Execution

Development

Delegates code tasks to separate contexts via specific actions and models for analysis, audit, comparison, review, documentation, refactoring, and implementation.

Claude CodeadvancedSafe
0
0
129
Skills Guide Bot

Break Plans into Tracer-Bullet Tickets

Development

Break a plan, spec, or conversation into vertical tracer-bullet tickets with dependencies, ready to publish to your issue tracker.

Claude CodeintermediateSafe 24
0
0
55
Skills Guide Bot

Safe refactoring with test guardrails

Development

Safely restructures code by running tests before and after each change to ensure no behavioral changes. Ideal for /refactor commands or any code cleanup where preserving existing behavior is critical.

Claude CodeintermediateSafe
0
0
165
Skills Guide Bot

Tech-Debt Audit

Development

Audit a codebase for accumulated technical debt: stale markers, dead code, duplication, magic numbers, stub implementations, documentation rot, and oversized files.

Claude CodeadvancedSafe 7
0
0
101
Skills Guide Bot

Refactor Review

Development

Identifies code that should be simpler: duplication, over-engineering, truncated code, and pattern inconsistencies. Use before any major refactor or cleanup to focus on what matters.

Claude CodeintermediateSafe
0
0
147
Skills Guide Bot

Ponytail: Minimal Solution

Development

Forces the simplest, most minimal solution for coding tasks, prioritizing YAGNI, the standard library, and native platform features.

Claude CodeCursorWindsurf+1beginnerSafe
0
0
69
Skills Guide Bot

Refactoring Assistant

Development

Guides refactoring decisions and strategy selection, offering tactical, architectural, and safety approaches with step-by-step execution workflows. Helps assess technical debt, choose between refactor and rewrite, and safely modify legacy code.

Claude CodeintermediateSafe 45
0
0
160
Skills Guide Bot

Fix Code Issues Systematically

Development

Systematically fix code issues found by /review or reported by users, categorizing by severity and applying minimal targeted corrections with verification.

Claude CodeintermediateSafe 183
0
0
128
Skills Guide Bot

Reduce RuboCop Max Lines Threshold

Development

Updates RuboCop configuration to reduce the maximum lines threshold per class/module, identifies classes and modules exceeding the new limit, and generates a brief with refactoring strategies and a task plan to split oversized files.

Claude CodeintermediateSafe
0
0
167
Skills Guide Bot

Software Development Orchestration Patterns

Development

Provides structured orchestration strategies for common software development activities: feature implementation (Plan-Parallel-Integrate, Vertical Slice), bug fixing (Diagnose-Hypothesize-Fix, Reproduction-First), refactoring (Map-Analyze-Transform), migrations, and greenfield projects. Helps coordinate multiple agents or parallel tasks with clear phases and dependencies.

Claude CodeintermediateSafe
0
0
164
Skills Guide Bot

Hexagonal Architecture

Development

Design and refactor apps with Hexagonal Architecture to keep business logic independent of frameworks. Covers ports, adapters, use cases, and composition root.

Claude CodeCursorWindsurf+2intermediateSafe
0
0
69
Skills Guide Bot

Skill Distiller

Development

Convert a traditional SKILL.md into hybrid form with bundled scripts, or determine conversion is not relevant.

Claude CodeadvancedSafe
0
0
120
Skills Guide Bot

Fast Refactoring with MorphLLM

Development

Enables fast, semantic code refactoring across multiple files using MorphLLM's edit_file tool. Excels at large-scale changes like batch renaming, pattern updates, and structural refactoring in files over 500 lines or with 5+ edits, leveraging 10,500+ tokens/sec speed and 98% merge accuracy.

Claude CodeintermediateSafe 10
0
0
166
Skills Guide Bot

Writing Optimized React Effects

Development

Guides writing React components by avoiding unnecessary useEffect calls. Helps when creating or reviewing React components, refactoring effects, or when code uses useEffect to transform data or handle events instead of external system synchronization.

Claude CodeintermediateSafe
0
0
149
Skills Guide Bot

How to choose

How are these skills selected?
An algorithm picks them among the published skills that match this page's criteria, such as category, tags or compatible tools. It ranks them by the quality score a language model gave them. On ranking pages, it also weighs GitHub stars and the security rating. Nobody reviews them one by one.
What do the security ratings mean?
A language model reads the SKILL.md file, without running it, and gives it a rating. Safe means it sees no meaningful execution risk. Caution means the skill uses powerful tools such as bash, docker or the network for a legitimate purpose. Risky means it asks for destructive actions, for secrets to be sent out, or for obfuscated code to run; a skill rated Risky is never published. The rating does not replace your own reading of the file.
How do I install a skill?
Open any skill page and follow its install instructions for your tool — Claude Code, Cursor or Copilot. Each skill lists the exact steps so you can get it running in a couple of minutes.
How skills are verified

Other use cases