Skip to content
mcp/skillhub

Agent Skill

Refactoring Guru skill

refactoring-guruciembor/agent-rules-booksrefactoring-guru/SKILL.md

Apply Refactoring.Guru-inspired rules when diagnosing code smells, choosing refactoring techniques, and stopping cleanup before uncontrolled redesign.

3.1kMIT

always on

29 tokname + description

once used

98 tokSKILL.md body

bundled files

370 KB

repo stars

3.1kGitHub

Install the Refactoring Guru skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/ciembor/agent-rules-books --skill refactoring-guru

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/ciembor/agent-rules-books.git /tmp/agent-rules-books
mkdir -p ~/.claude/skills
cp -R /tmp/agent-rules-books/refactoring-guru ~/.claude/skills/refactoring-guru

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description29 tok
When the agent uses itThe SKILL.md instructions98 tok
Only if opened3 bundled files (70 KB)varies

Until it is used, refactoring-guru costs about 47× less than the median MCP server we measured (1,363 tokens on every turn). Installing all 14 skills from ciembor/agent-rules-books would load 438 tokens of descriptions. Skills vs MCP study

Checks

Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Refactoring.Guru Skill

More skills from ciembor/agent-rules-books

All skills in this repo
  1. a-philosophy-of-software-designciembor/agent-rules-books

    Apply John Ousterhout-inspired software design rules when reducing complexity, designing module boundaries, or reviewing APIs and abstractions.

    3.1k33 tok idle · 112 in use
  2. clean-architectureciembor/agent-rules-books

    Apply Robert C. Martin-inspired architecture rules when separating business policy from frameworks, databases, UI, or infrastructure details.

    3.1k27 tok idle · 89 in use
  3. clean-codeciembor/agent-rules-books

    Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities, or testable everyday code.

    3.1k29 tok idle · 87 in use
  4. code-completeciembor/agent-rules-books

    Apply Steve McConnell-inspired construction rules when implementing routines, variables, classes, control flow, defensive code, or tests.

    3.1k28 tok idle · 94 in use
  5. designing-data-intensive-applicationsciembor/agent-rules-books

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

    3.1k34 tok idle · 113 in use
  6. domain-driven-designciembor/agent-rules-books

    Apply Eric Evans-inspired DDD rules when modeling a complex domain, defining bounded contexts, protecting ubiquitous language, or designing aggregates.

    3.1k29 tok idle · 97 in use
  7. domain-driven-design-distilledciembor/agent-rules-books

    Apply Vaughn Vernon-inspired lightweight DDD rules when using bounded contexts, subdomains, context maps, and tactical modeling without excess ceremony.

    3.1k33 tok idle · 107 in use
  8. implementing-domain-driven-designciembor/agent-rules-books

    Apply Vaughn Vernon-inspired implementation DDD rules when building aggregates, domain events, repositories, application services, or context integrations.

    3.1k31 tok idle · 109 in use