agentsclimarketplace

Shelves Architecture & codebase

Refactoring

1,262 rows from 540 repositories

Changing the shape without changing the behaviour.

What Refactoring skills agree on

567 skill files read, by 545 of the 587 authors on this shelf whose files we hold, 2026-09-06

The middle one of the 60 measured here is ~1.2k tokens long, counted with cl100k_base

Counted by distinct author, so one author publishing three of these counts once. Where a claim sits in fewer files than authors, that is said: a claim held by forty authors across three files is one file people copied, not forty people who agreed. Near-identical wordings are grouped and the other wordings are shown, so the grouping is yours to check.

What they tell the agent to do

  1. Run tests after each change61 of 545 in 59 filesalso worded as Run full test suite after each change; run tests after every single change
  2. Run tests before refactoring42 of 545also worded as Run tests after each refactoring step; run tests before starting
  3. Revert immediately if tests fail31 of 545 in 28 filesalso worded as Revert changes immediately if tests fail; Revert changes if tests fail
  4. Perform refactoring in small steps30 of 545 in 29 filesalso worded as perform refactoring in small reversible steps; Perform refactoring in small incremental steps
  5. Write characterization tests for untested code21 of 545 in 19 filesalso worded as Write characterization tests before refactoring untested code; Write characterization tests for legacy code
  6. Remove dead code and unused imports20 of 545also worded as Remove dead code; remove unused exports and commented code
  7. Identify code smells20 of 545also worded as Identify the code smell; Explain why identified code is a smell
  8. Perform one refactoring at a time19 of 545also worded as Perform one transformation at a time; Attempt at least one refactoring per cycle
  9. Commit after each successful refactoring17 of 545 in 15 filesalso worded as Commit each refactoring step separately; Recommend commit and unit test after successful refactoring
  10. Verify all tests pass after refactoring17 of 545also worded as Verify changes after refactoring; Verify tests pass after each change
  11. Keep refactoring separate from behavior changes16 of 545 in 14 filesalso worded as commit refactorings separately from behavior changes; keep refactoring and behavior changes separate
  12. Run the full test suite16 of 545also worded as Run full test suite on the final head; run full test suite and linting
  13. Separate refactoring from feature work15 of 545 in 14 filesalso worded as keep refactoring separate from feature work; separate refactoring commits from feature commits
  14. Replace magic values with named constants15 of 545also worded as replace magic numbers with named constants; Replace magic values with constants
  15. Preserve existing behavior exactly13 of 545also worded as Preserve existing behavior; preserve all existing behavior

What they tell it not to do

  1. Do not refactor without tests58 of 545 in 56 filesalso worded as Do not refactor without existing tests; do not refactor without test coverage
  2. Do not change code behavior52 of 545also worded as Do not change existing behavior; Do not change behavior during refactoring
  3. Do not mix refactoring with behavior changes49 of 545 in 47 filesalso worded as do not mix behavior changes with structural changes; Do not mix refactoring with feature changes
  4. Do not add new features26 of 545also worded as Do not add features during refactoring; Do not implement new features
  5. Do not fix bugs during refactoring24 of 545 in 23 filesalso worded as Do not mix refactoring with bug fixes; Do not fix bugs while refactoring
  6. Do not mix refactoring and feature work in one commit23 of 545 in 22 filesalso worded as Do not mix refactoring with feature development; do not mix refactoring with feature work
  7. Do not change observable behavior20 of 545also worded as Do not change external behavior; never change observable behavior
  8. Do not refactor code18 of 545also worded as Do not refactor unrelated code; never refactor code to raise a score
  9. Do not simplify code you do not understand14 of 545also worded as do not refactor code you do not understand; Do not refactor code you do not fully understand
  10. Do not skip verification steps13 of 545also worded as do not skip verification; Do not skip the red verification step

What they expect to be installed

  1. git148 of 545
  2. grep76 of 545
  3. test runner41 of 545 in 40 files
  4. npm25 of 545
  5. test suite23 of 545
  6. linter21 of 545
  7. eslint17 of 545 in 16 files
  8. bash17 of 545
  9. ruff16 of 545
  10. gh16 of 545

What they ask it to produce

  1. Refactored code106 of 545 in 101 filesalso worded as Refactored source code; Refactored codebase
  2. Characterization tests48 of 545 in 47 filesalso worded as Characterisation tests; Characterization test
  3. Refactoring plan43 of 545also worded as refactoring report; Refactor plan
  4. Refactor report19 of 545also worded as Refactor Guard Report; refactor summary report
  5. Updated documentation16 of 545 in 14 filesalso worded as Updated project documentation; updated architecture documentation
  6. Failing test13 of 545also worded as failing-then-passing test; Test files that fail
  7. Test results12 of 545 in 10 filesalso worded as test execution results; Search results
  8. Verification results12 of 545also worded as Test verification results; Verification test results

When Refactoring authors say to reach for one

The situations these authors wrote into their own files, counted out of the same 545 authors, with the skills that name each one

How Refactoring skills are built

1,123 skill directories by 516 authors, read from their repositories’ own file trees 2026-08-05

The middle bundle among those shipping files is 2 files, 11.0 KB beside SKILL.md

Counted by distinct author, same as above, so one author publishing forty template copies counts once. SKILL.md itself is not counted as a file, so a single-file skill is one where that file is the whole skill.

The shape

  1. SKILL.md is the whole skill245 of 516 authors, 619 of 1,123 skills
  2. files ship beside it271 of 516 authors, 504 of 1,123 skills
  3. executable scripts ship inside54 of 516 authors, 80 of 1,123 skills

The folders they converge on

  1. references/147 of 516 authors, 250 of 1,123 skills
  2. agents/60 of 516 authors, 93 of 1,123 skills
  3. scripts/49 of 516 authors, 76 of 1,123 skills
  4. evals/22 of 516 authors, 37 of 1,123 skills
  5. assets/17 of 516 authors, 21 of 1,123 skills
  6. examples/12 of 516 authors, 14 of 1,123 skills
  • Agent md refactor

    softaworks/agent-toolkit/dist/plugins/agent-md-refactor/skills/agent-md-refactor Skill

    2,311 repo

    A curated collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities across development, documentation, planning, and professional workflows.

  • Clean code guard

    amElnagdy/guard-skills/skills/clean-code-guard Skill

    1,154 repo

    Guard skills for coding agents, quality gates that catch AI-generated failure modes in code, tests, and docs

  • Solidifier

    FernandoJRR/solidifier/claude-code/plugins/solidifier/skills/solidifier Skill

    35 repo

    SOLID principles and design patterns for backend code — applied with restraint. Skill for Claude Code, OpenCode, GitHub Copilot, and OpenAI Codex.

  • Code simplifier

    fanqingxuan/awesome-skills/skills/code-simplifier Skill

    26 repo

    热门skills推荐,包括编程以及非编程等各种热门实用的skill

  • Refactoring ui

    jaywilburn/refactoring-ui-skill/skills/refactoring-ui Skill

    24 repo

    Agent skill for professional UI design based on Refactoring UI principles. Covers hierarchy, typography, color, spacing, dark mode, forms, accessibility, and animation.

  • Rails agent skills

    igmarin/rails-agent-skills Skill

    22

    This is my personal configuration of skills as a Ruby on Rails Dev

  • Rubycritic skill

    esparkman/claude-rubycritic-skill/skills/rubycritic-skill Skill

    18 repo

    A Claude Code skill for Ruby code quality analysis with RubyCritic

  • Analyze repo

    kriscard/Skills/skills/dev/analyze-repo Skill

    13 repo

    A opinionated collection of agent skills organized by domain: dev, writing, productivity, and knowledge management

  • Code refactor

    ZeroPointRepo/CRHQ-PRDs/skills/code-refactor Skill

    no license11 repo

    Production-grade, 10,000+ line PRDs that let AI agents one-shot entire applications. Built on CRHQ.ai.

  • Tech debt mcp

    PierreJanineh/TechDebtMCP/io.github.PierreJanineh/tech-debt-mcp MCP server

    7 repo

    MCP Server for analyzing technical debt across multiple programming languages

  • Boy scout rule

    JordanCoin/codingskills/skills/boy-scout-rule Skill

    6 repo

    Coding principles for Claude Code and AI agents. KISS, DRY, SOLID, YAGNI, separation of concerns, and more. Language-agnostic skills that help agents ship production-quality code.

  • Codex simplify

    nijanthan-dev/taxmate-australia/local-skills/codex-simplify Skill

    no license6 repo

    Prep-only Australian individual tax return plugin and portable skills for Codex, Claude Code, Cowork, and OpenAgentSkill: official ATO source links, GST/BAS and CGT review flags, evidence gaps, and manual myTax/paper/accountant handoff.

  • Agent md refactor

    Dannykkh/skill-olympus/skills/agent-md-refactor Skill

    no license4 repo

    Twelve Greek gods. One command. A working SaaS. 98 skills + 49 agents + 13 hooks for Claude Code + Codex CLI + Gemini CLI. Cross-CLI persistent memory, zero-interaction full pipeline (design → build → inspect → test → ship).

  • Crucible

    ryanelian/crucible-agent-skill/skills/crucible Skill

    4 repo

    Less code is more. Burn the diff down. Optimize, simplify, and delete bad vibes.

  • Gc

    initxy/initxy-skills/skills/ai-native-engineering/gc Skill

    4 repo

    Make any repo AI native — fewer skills, conventions over steps, so any agent can cold-start, implement, self-verify, and write its decisions back.

  • Clean code

    markoa/clean-code-skill/skills/clean-code Skill

    4 repo

    Agent skill for clean code programming standards

  • Refactoring MCP Server

    marshally/mcp-refactoring/io.github.marshally/mcp-refactoring MCP server

    4 repo

    MCP server exposing Martin Fowler's refactoring catalog to LLMs with 71+ refactorings

  • Dead code expert

    mathisk2095/jko-claude-plugins/plugins/dead-code/skills/dead-code-expert Skill

    3 repo

    Provide Claude plugins with shared coding guidelines, review checks, and stack-specific skills to keep agents consistent across projects

  • Kappmaker

    KAppMaker/KAppMaker-CLI/.claude/skills/kappmaker Skill

    no license3 repo

    KAppMaker CLI tool that automates mobile app setup — Firebase, App Store Connect, Adapty, signing, publishing, and AI-powered logo/screenshot generation in one workflow.

  • Einstein simplify

    jmsmrgn/einstein-simplify Skill

    3

    A Claude Code skill that rewrites technical content so non-technical audiences follow every word, without losing accuracy or depth.

  • Code simplification

    momentmaker/kaijutsu/skills/community/code-simplification Skill

    3 repo

    Write your dev workflow once. Run it on any LLM. Open agent skills + multi-model swarm + a local findings store that learns which models you can trust.

  • Ast code graph

    rolandbrecht/agent-skills/ast-code-graph Skill

    3 repo

    A collection of shareable, high-quality AI coding agent skills and workflows. These skills provide structured guidance, recipes, and helper scripts to make LLM agents significantly more effective at complex codebase tasks.

  • Code discipline

    eliranpv11/code-discipline-skills/skills/code-discipline Skill

    2 repo

    Production-grade coding methodology for AI coding agents, Claude Code, Cursor, Codex. Six principles to stop overengineering, silent assumptions, and "while I'm here" refactors.

  • Clean refactor

    Arcadi4/skills/clean-refactor Skill

    no license2 repo

    My agent skills.

  • Simplify

    ukint-vs/codex-simplify/plugins/code-simplifier/skills/simplify Skill

    2 repo

    Codex-first post-implementation diff cleanup workflow for changed code and docs.

  • Fable maestro

    zivreich/fable-maestro Skill

    1

    Claude Code skill: quality-first model delegation for Fable 5 - Fable plans and reviews every diff, Opus writes the code, Sonnet runs the errands

  • Tech debt manager

    Ludovic33Fr/tech-debt-manager Skill

    no license1

    Skill for analyzing, assessing, and prioritizing technical debt.

  • Code autopsy

    OneSpiral/code-autopsy Skill

    1

    Forensic codebase analysis. 16 diagnostics, health score, architecture map, complexity heatmap, risk matrix — all in one interactive HTML report.

  • Ios architect

    kbelasheuski/ios-architecture-skills/plugin/skills/ios-architect Skill

    1 repo

    Choose, audit, refactor & migrate iOS app architectures. A Claude Code & Codex agent plus skills.

  • Python refactoring

    cheickmec/smellcheck/plugins/python-refactoring/skills/python-refactoring Skill

    1 repo

    Python code smell detector & refactoring guide — 82 patterns, 55 AST checks, zero dependencies. Works as Agent Skills plugin, PyPI package, GitHub Action, or pre-commit hook.

  • Ai slop cleaner

    mrzhangguoguo/oh-my-workbuddy/skills/ai-slop-cleaner Skill

    1 repo

    1:1 WorkBuddy port of oh-my-codex — 46 catalog-driven skills (30 active + 16 deprecated), bilingual docs.

  • Nothing first

    asmgit/nothing-first/skills/nothing-first Skill

    1 repo

    The ultimate optimization of any entity is its absence — the best code is the code that does not exist. An always-on Existence Ladder skill for AI agents.

  • Ai handrail

    ForeverSc/ai-handrail Skill

    1

    Making Legacy Projects Safer for Vibe Coding. AI适老化改造,让老项目更适合 Vibe Coding。

  • Refactoring audit

    magallon/refactoring-toolkit/refactoring-audit Skill

    1 repo

    Stack-agnostic refactoring audit & execution skills for AI agents

  • Bash shortening

    paulnsorensen/skillz-that-grillz/skills/bash-shortening Skill

    1 repo

    Agent skill repository that don't fit cleanly into any of my other cheese-related repositories

  • Legacy support adjudication

    pratyush1712/legacy-support-adjudication-skill/skills/legacy-support-adjudication Skill

    1 repo

    A professional agent skill for code-review agents that need to decide whether backward-compatibility logic is still required or has become removable technical debt.

  • Change with proof

    CodingCossack/agent-systems/skills/change-with-proof Skill

    1 repo

    Agent-agnostic software engineering skill for implementation, debugging, testing, refactoring, security boundaries, verification, and code review.

  • Weavatrix refactor

    sergii-ziborov/weavatrix-refactor/io.github.sergii-ziborov/weavatrix-refactor MCP server

    1 repo

    The refactoring layer of Weavatrix: hash-verified, always-reversible edit plans.

  • Claude code dev guardrails

    guidefanti/claude-code-dev-guardrails Skill

    0

    Structured skill for Claude Code that enforces disciplined, product-aware development. 20 anti-patterns, 5-level testing hierarchy, and product thinking framework.

  • Scope guard

    grxkun/scope-guard Skill

    0

    Stop Claude from touching files you didn't ask it to touch. Vibe-coding creep stopper You ask Claude to fix one bug. It refactors 6 files. This skill makes Claude declare the blast radius before touching anything, get a confirmation, then stay inside it. Pain: "I just wanted to fix the button color" → Claude rewrote your entire component tree

  • Dead code cleaner

    owen-dev-6174/bodhisattva-skills/skills/dead-code-cleaner Skill

    0 repo

    Free Claude Code skills that see developer suffering and offer wisdom. Loop detection, scope guarding, dead code cleanup.

  • P2d

    AmineYagoub/p2d/skills/p2d Skill

    0 repo

    P2D turns vibe coding into system-aware engineering, saving tokens, time, and money.

  • Crapquants

    DockyardTechlabs/crapquants-skill/crapquants Skill

    0 repo

    How crappy is your code? Claude skill that teaches Claude to analyze Python code quality using CRAPQuants: Change Risk Anti-Patterns metrics, and diagnostics from 6 software engineering books. Works in Claude.ai, Claude Code, and the API.

  • Fallow

    produtoramaxvision/maxvision-utilities/.claude/skills/fallow Skill

    no license0 repo

    MaxVision's curated Claude Code marketplace — production-grade skills for n8n workflows, Google Tag Manager API, and more.

  • Cleaner

    Swellshinider/janitor/integrations/codex/skills/cleaner Skill

    0 repo

    Behavior-preserving codebase cleanup: removes dead code, splits oversized files and classes, and merges duplicated logic without changing behavior.

  • Tdd

    kongyo2/TDD/tdd Skill

    0 repo
  • Kiss blast radius

    Pr1m4lc0d3/KiSYSTEM/skills/kiss-blast-radius Skill

    0 repo

    KiSYSTEM - measure twice, cut once. A Claude Code skill bundle that keeps AI-written code clean, modular, and human-readable, enforced from the base of a project.

  • Behavior preserving refactor

    manman1414/frontend-refactor-skills/skills/behavior-preserving-refactor Skill

    0 repo

    React/Vue/TS 前端重构 Agent Skills(行为不变重构、拆文件、绞杀者迁移)

  • Principal audit refactor

    jovd83/principal-audit-refactor Skill

    0

    Runs severity-ranked engineering audits and executes approval-gated refactors to raise prototype code to production quality.

  • Refactor

    garrettsiegel/lobstore/.github/skills/refactor Skill

    0 repo

    VS Code extension to browse and install MoltHub skills for GitHub Copilot without admin access

  • Python refactor

    adryledo/arca-cli/samples/maintainer/skills/python-refactor Skill

    0 repo

    Asset Resolution for AI Assistants. Use versioned assets declarations instead of commiting full .md files in your repo, host the assets in any git repo

  • Tsve refactoring

    pipi-1997/agent-skills/skills/tsve-refactoring Skill

    0 repo

    Reusable agent skills for AI-assisted development — T-S-V-E refactoring workflow with Code Hollowing

  • Notion ao bulletin

    rooftop-Owl/notion-ao-research/skills/notion-ao-bulletin Skill

    no license0 repo

    Agent-oriented research workflow skills for Notion MCP. NL database operations, workspace setup, design handbook (EN/KO). Works with Claude Code, Cursor, Windsurf, or any MCP client.

  • Es toolkit

    deepfriedmind/agent-skills/skills/es-toolkit Skill

    0 repo

    Reusable skills for coding agents.

  • Clean code

    rerelurelu/skillbox/skills/clean-code Skill

    0 repo
  • Refactor legacy code

    peizh/refactor-legacy-code Skill

    0

    Agent skill for safe legacy-code refactoring and maintenance workflows

  • Clean code

    s1dd4rth/clean-code Skill

    0

    A Claude Agent Skill for writing, reviewing, and refactoring code using Robert C. Martin's Clean Code framework.

  • Explore code

    grahambrooks/gb-agent-skills/plugins/code-intelligence/skills/explore-code Skill

    0 repo

    Claude Code Plugins

  • Code simplifier

    yidasanqian/codex-code-simplifier/plugins/code-simplifier/skills/code-simplifier Skill

    0 repo

    Codex plugin for simplifying recent code changes without changing behavior

  • Clean code skill

    cskwork/clean-code-skill Skill

    0

    Agent skill for behavior-preserving clean-code refactoring of any codebase, based on Fowler's catalog (refactoring.guru): detect smell -> choose technique -> apply in safe small steps.

All 1,262 in the catalog