Registry / lhfer

lhfer/claude-howto-zh-cn/refactor

基于 Martin Fowler 方法论做系统化重构。Use when users ask to refactor code, improve structure, reduce technical debt, clean up legacy code, or improve maintainability.

Agent skill · version 0.0.0-main.1794415049.gf0da0c6 · from lhfer/claude-howto-zh-cn

Install

npx yarkr-cli add skill:lhfer/claude-howto-zh-cn/refactor

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:lhfer/claude-howto-zh-cn/refactor
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:lhfer/claude-howto-zh-cn/refactor

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:lhfer/claude-howto-zh-cn/refactor

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.