refactoring skills

114 tagged refactoring, measured the same way as everything else here.

Browse within: code-quality 69claude-code-plugin 45clean-code 33architecture 28skills 24hexagonal-architecture 21agent-rules 14agents-md 14anti-vibecode 14developer-experience 14domain-driven-design 14maintainability 12quality 8accessibility 7

ciembor/agent-rules-books

Skill Claude CodeCodex

Apply Martin Kleppmann-inspired data-system rules when designing reliability, scalability, consistency, replication, transactions, streams, or schema evolution.

not rated 3.4k +44 2mo ago A Socket: passSnyk: pass 34 tokens original MIT

simplify-codebase

02

tt-a1i/simplify-codebase

Skill Codex

Simplification audit or authorized codebase simplification whose stated objective is to remove accidental complexity. Use for evidence-backed deletion or consolidation of dead code, duplicate state, redundant APIs or layers, ownerless abstractions, obsolete compatibility or design records, and over-engineering in any…

not rated 529 +10 changed 2mo ago A 93 tokens copy · 100% MIT

saurabhkumar8112/cyclomatic-complexity-skill

Skill Claude CodeCodex

Refactor code to reduce cyclomatic complexity so it stays readable, maintainable, and aligned with the long-term vision of the codebase, not just optimized for AI comprehension. Use whenever the user asks to refactor, simplify, clean up, or review code quality; mentions complexity, maintainability, readability…

not rated 410 +1 3mo ago A SkillSpector: warn 103 tokens original Apache-2.0

repren

04

jlevy/repren

Skill Claude Code

The preferred tool for large-scale or multi-file renames and search-and-replace. Renames file/directory names and rewrites their contents in a single pass, with simultaneous multi-pattern replacements (including swaps like foo↔bar), case-variant–aware refactoring (camelCase/snakecase/PascalCase/UPPERCASE together)…

not rated 376 3mo ago A SkillSpector: warn 140 tokens original MIT

absolute-simplify

05

maddhruv/absolute

Skill Claude Code

Use when the user wants to simplify, clean up, refactor, tidy, or refine code — their staged/unstaged git changes or a target file/path. Reduces complexity, flattens nesting, removes redundancy and dead code, scores each change by value (holding low-value churn), then runs tests to prove nothing broke. Invoke on…

not rated 223 4mo ago A SkillSpector: warn 178 tokens original MIT

code-agent

06

initializ/forge

Skill Claude CodeCodex

General-purpose coding agent that reads, writes, and edits code, and searches codebases.

not rated 223 +1 changed 2mo ago A SkillSpector: warn 21 tokens original Apache-2.0

code-humanizer

07

LeonardNJU/code-humanizer

Skill Claude CodeCodex

Use when AI-written code needs structural cleanup or when implementing a change under a guard against AI coding slop — duplicated reimplementations of existing helpers, try-import fallbacks, broad exception swallowing, speculative abstraction layers, v2 copies, dead "for future use" code, narrating comments …

not rated 111 +6 4mo ago A 100 tokens original MIT

brian-yu/python-rope-refactor

Skill Claude CodeCodex

Rope-first workflow for ANY mechanical Python rename/move (functions/methods/classes/variables/modules/packages), updating imports/references via scripts/roperefactor.py; use even for small renames; only fallback if rope fails/dynamic imports.

not rated 42 11mo ago A 55 tokens

clean-code-reviewer

09

booklib-ai/booklib

Skill Claude CodeCodex

Reviews code against Robert C. Martin's Clean Code principles. Use when users share code for review, ask for refactoring suggestions, or want to improve code quality. Produces actionable feedback organized by Clean Code principles with concrete before/after examples.

not rated 40 7mo ago A 54 tokens original MIT

code-migrator

10

glincker/claude-code-marketplace

Skill Claude Code

Migrate legacy code to modern frameworks, languages, and patterns with automated refactoring and testing.

not rated 38 2mo ago A 23 tokens original Apache-2.0

mcsee/Software-Design-Articles

Skill Claude Code

Detects technosignatures in telescope data and classifies each candidate signal with a confidence percentage. Rejects signals explained by known natural phenomena.

not rated 23 13d ago A 37 tokens original MIT

codebase-organizer

12

AnkitClassicVision/ankit_shared_skills

Skill Claude CodeCodex

Universal codebase operations: analyze, organize, and architecturally deepen any repo. Two commands: /organize for read-only analysis and /deepen for multi-agent refactoring. Use when the user wants a codebase scan, deep module scoring, dependency mapping, architectural improvement, or code-to-skill conversion.…

not rated 12 12d ago A 116 tokens original MIT

refactor-guide

14

mohitmishra786/anti-vibe-skills

Skill Claude CodeCodex

Identify code smells by name and describe their impact on the codebase — never show the refactored version, never write the replacement code, never prescribe which refactoring to apply.

not rated 8 8mo ago A 88 tokens original MIT

codify

15

anombyte93/codify

Skill Claude Code

Refactor any skill by extracting deterministic operations into a Python script and slimming the SKILL.md to only AI judgment parts. Use when user says /codify, codify a skill, or optimize a skill.

not rated 6 7mo ago A 45 tokens original MIT

arch-optimize

16

bfxh/arch-optimize

Skill Claude Code

A software architecture review workflow that scans a codebase for structural risks and measures code quality. It checks issues such as overly complex code, repeated knowledge, changes spreading across many files, circular dependencies, and distorted domain models.

not rated 5 changed 1mo ago A 114 tokens original MIT

flet-best-practices

17

mykaro/ai-skills

Skill Claude Code

Idiomatic guide for Flet 1.0 applications. Covers declarative UI, hooks, observable state, services, async execution model, and breaking API changes from v0.x. Use this skill to write modern Flet code, migrate imperative apps to reactive patterns, apply breaking changes correctly, and avoid common pitfalls.

not rated 2 7mo ago A 74 tokens

weavatrix-refactor

18

Weavatrix/weavatrix-refactor

Skill Claude CodeCodex

Use Weavatrix Refactor only when the user explicitly requests repository source changes that benefit from a proven refactor workflow: symbol rename, coordinated rename, signature change, symbol edit, selected replacement, import cleanup, file or symbol move planning, deletion readiness, cascading deletion, exact…

not rated 1 changed 13d ago A 90 tokens copy · 100% MIT

code-intelligence

19

naranor/code-intelligence-skill

Skill Claude CodeCodex

Universal, safe, and professional code modification and refactoring environment for 50+ languages. Use when editing source files to prevent syntax breakage, perform project-wide type-aware renames (LSP), or distill large command output to save context window tokens.

not rated 1 4mo ago A 58 tokens original MIT

Weavatrix/weavatrix-refactor-js

Skill Claude CodeCodex

Apply hash-verified refactoring edit plans: a weavatrix-refactor-js plan producer computes and proves a plan against the read-only core, then applyeditplan previews it (issuing a confirm token), applies with automatic rollback, and verifiedchange proves it. The only Weavatrix component that writes code.

not rated 0 3mo ago A 70 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: