Agent Skills › ciembor/agent-rules-books › refactoring-guru

refactoring-guru

GitHub

指导诊断代码异味、选择重构技术、保持行为一致,并在无控制的重构前停止。旨在规范代码清理过程,避免过度设计。

refactoring-guru/SKILL.md ciembor/agent-rules-books

Trigger Scenarios

诊断代码异味 选择重构技术 进行代码清理 避免过度重构

Install

npx skills add ciembor/agent-rules-books --skill refactoring-guru -g -y
More Options

Non-standard path

npx skills add https://github.com/ciembor/agent-rules-books/tree/main/refactoring-guru -g -y

Use without installing

npx skills use ciembor/agent-rules-books@refactoring-guru

指定 Agent (Claude Code)

npx skills add ciembor/agent-rules-books --skill refactoring-guru -a claude-code -g -y

安装 repo 全部 skill

npx skills add ciembor/agent-rules-books --all -g -y

预览 repo 内 skill

npx skills add ciembor/agent-rules-books --list

SKILL.md

Frontmatter
{
    "name": "refactoring-guru",
    "license": "MIT",
    "description": "Apply Refactoring.Guru-inspired rules when diagnosing code smells, choosing refactoring techniques, and stopping cleanup before uncontrolled redesign."
}

Refactoring.Guru Skill

Use this skill when a task involves diagnosing smells, choosing targeted refactoring treatments, preserving behavior, applying a refactoring catalog, or avoiding uncontrolled redesign.

Before making design or code decisions, read and apply refactoring-guru.mini.md. Use refactoring-guru.md only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.

Version History

  • 893a88a Current 2026-09-11 20:34

Same Skill Collection

a-philosophy-of-software-design/SKILL.md
clean-architecture/SKILL.md
clean-code/SKILL.md
code-complete/SKILL.md
designing-data-intensive-applications/SKILL.md
domain-driven-design-distilled/SKILL.md
domain-driven-design/SKILL.md
implementing-domain-driven-design/SKILL.md
patterns-of-enterprise-application-architecture/SKILL.md
refactoring/SKILL.md
release-it/SKILL.md
the-pragmatic-programmer/SKILL.md
working-effectively-with-legacy-code/SKILL.md

Metadata

Files
0
Version
893a88a
Hash
66c509c4
Indexed
2026-09-11 20:34

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-25 05:42
浙ICP备14020137号-1