refactoring skills

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

Browse within: code-quality 49clean-code 27architecture 21hexagonal-architecture 21anti-vibecode 14developer-experience 14python 12accessibility 7design-patterns 7ai-skills 6maintainability 5migration 5quality 5static-analysis 5

flowmark

01

jlevy/repren

Skill Claude CodeCodex

Fast, consistent Markdown auto-formatter for typographic cleanup, normalization, and clean semantic line breaks. Use when creating, editing, or cleaning Markdown; formatting LLM-generated docs; adopting Flowmark in a repository; adding Markdown format scripts or commit hooks; or replacing Prettier or another Markdown…

374 6d ago A 64 tokens original MIT

tbd

02

jlevy/repren

Skill Claude CodeCodex

Git-native issue tracking (beads), coding guidelines, knowledge injection, and spec-driven planning for AI agents. Drop-in replacement for bd/Beads with simpler architecture. Use for: tracking issues/beads with dependencies, creating bugs/features/tasks, planning specs, implementing features from specs, code reviews…

374 6d ago A 262 tokens original MIT

repren

03

jlevy/repren

Skill Claude CodeCodex

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)…

374 6d ago A 140 tokens original MIT

simplify-codebase

04

tt-a1i/simplify-codebase

Skill Claude CodeCodex

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…

356 5d ago A 93 tokens original 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…

232 5d ago A 103 tokens original Apache-2.0

absolute-simplify

06

maddhruv/absolute

Skill Claude CodeCodex

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…

208 1mo ago A 178 tokens original MIT

code-agent

07

initializ/forge

Skill Claude CodeCodex

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

156 4d ago A 21 tokens original Apache-2.0

evolutionary-naming

08

kawasima/evolutionary-naming

Skill Claude CodeCodex

Use when refactoring code with poor names, when asked to improve naming, or when a user struggles to name a class/method/variable. Symptoms include -Manager/-Util suffixes, single-letter variables, process/handle/do verbs, primitive obsession, god methods with multiple responsibilities. Two modes — audit (broad scan…

58 3mo ago A 86 tokens

code-humanizer

09

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 …

46 1mo 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.

42 8mo ago A 55 tokens

clean-code-reviewer

11

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.

38 4mo ago A 54 tokens original MIT

code-migrator

12

glincker/claude-code-marketplace

Skill Claude CodeCodex

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

36 9mo ago A 23 tokens original Apache-2.0

src

13

mcsee/Software-Design-Articles

Skill Claude CodeCodex

Validates foo syntax: DECLARE, arrays, nested arrays, function calls, loops.

22 6d ago A 0 tokens original MIT

esparkman/claude-rubycritic-skill

Skill Claude CodeCodex

Analyze Ruby and Rails code quality with RubyCritic. Identifies code smells, complexity issues, and refactoring opportunities. Provides detailed metrics, scores files A-F, compares branches, and prioritizes high-churn problem areas. Use when analyzing Ruby code quality, reviewing PRs, or identifying technical debt.

17 9mo ago A 68 tokens original MIT

fp-refactor

15

whatiskadudoing/fp-ts-skills

Skill Claude CodeCodex

Comprehensive guide for refactoring imperative TypeScript code to fp-ts functional patterns.

11 7mo ago A 19 tokens

codebase-organizer

17

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.…

11 20d ago A 116 tokens original MIT

complexity-cop

18

mohitmishra786/anti-vibe-skills

Skill Claude CodeCodex

Flag over-engineering by name and describe its impact — never suggest how to simplify, never propose an alternative, never make the simplification judgment call that belongs to the human.

5 5mo ago A 75 tokens original MIT

mohitmishra786/anti-vibe-skills

Skill Claude CodeCodex

Argue persistently against the human's current approach — surfacing failure modes, alternative framings, and overlooked risks — until the human has genuinely stress-tested their position; never stop arguing because the human sounds confident, only stop when they have addressed the substance of each challenge.

5 5mo ago A 84 tokens original MIT

mohitmishra786/anti-vibe-skills

Skill Claude CodeCodex

Probe assumptions, surface constraints, and challenge reasoning until the human can justify their architectural choices from first principles — never recommend a technology, pattern, or stack, never compare tools, never make the decision.

5 5mo ago A 86 tokens original MIT

ghost

21

Rikinshah787/clawarmy

Skill Claude CodeCodexCursor

Expert in modernizing legacy assets and refactoring older systems for modern missions. Strangler fig pattern, incremental migration, and tech debt elimination.

5 5mo ago A 30 tokens

arch-optimize

22

bfxh/arch-optimize

Skill Claude CodeCodex

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.

5 5d ago A 103 tokens original MIT

delete-this

23

mikestangdevs/craft-skills

Skill Claude CodeCodex

Use when a codebase feels heavy, when you suspect dead code, or before adding a feature to an area that's already cluttered. Finds and safely removes code that no longer earns its place — dead branches, unused exports, commented-out blocks, abandoned feature flags, speculative abstractions used once, and TODOs from a…

4 2mo ago A 102 tokens original MIT

loud-errors

24

mikestangdevs/craft-skills

Skill Claude CodeCodex

Use when you spot a swallowed, vague, or context-losing error — an empty catch, a bare except: pass, catch (e) { console.log(e) } that then continues, throw new Error("something went wrong"), an error logged then ignored, or a caught exception that drops its cause. Makes failures loud and specific: each error says…

4 2mo ago A 138 tokens original MIT