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.
Go Collection Helpers with samber/lo
Development
Use when writing Go collection/pointer helper code in OpenMeter, preferring standard library slices/maps helpers.
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.
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.
To Tickets
Development
Break a plan or spec into vertical tickets with explicit blocking dependencies, published to the configured tracker.
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.
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.
Migrate to Skills
Development
Convert legacy subagents, commands, and rules to the unified Agent Skills format. Use when migrating agent resources.
Engineering Practices
Development
Approach to building and changing software: research, planning, TDD, refactoring, and quality verification before implementing features or fixes.
Code Refactoring
Development
Use when refactoring code, reorganizing modules, renaming types, deleting old paths, or migrating architecture. Must read before any structural code change.
Delegated Task Execution
Development
Delegates code tasks to separate contexts via specific actions and models for analysis, audit, comparison, review, documentation, refactoring, and implementation.
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.
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.
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.
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.
Ponytail: Minimal Solution
Development
Forces the simplest, most minimal solution for coding tasks, prioritizing YAGNI, the standard library, and native platform features.
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.
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.
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.
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.
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.
Skill Distiller
Development
Convert a traditional SKILL.md into hybrid form with bundled scripts, or determine conversion is not relevant.
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.
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.
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.