Registry / smallnest

smallnest/goal-workflow/refactor

Expert code refactoring based on Martin Fowler's catalog — improve maintainability without changing behavior. Covers code smells, composing methods, moving features, organizing data, simplifying conditionals, method calls, and generalization. Triggers on: refactor, 重构, clean up, improve code, code smell, extract method, rename, simplify.

Agent skill · version 0.0.0-master.1794524050.gb06ab3c · from smallnest/goal-workflow

Install

npx yarkr-cli add skill:smallnest/goal-workflow/refactor

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

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:smallnest/goal-workflow/refactor
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:smallnest/goal-workflow/refactor

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:smallnest/goal-workflow/refactor

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