Registry / anastasiyaw

anastasiyaw/codex-claude-code-config/refactoring-safely

Change the structure of code that already exists without changing what it does: smells as triggers, the named transformations (extract/inline, move feature, organise data, simplify conditionals), and above all the workflow that makes it safe — characterization tests first, one transformation at a time, green between every step. Use when a file or function is already too large; when asked to "split this module", "extract this", "break up main.py", "clean up this legacy code", "reduce coupling her

Agent skill · version 2026.10.25-main.1794527933.g04da2dd · from AnastasiyaW/codex-claude-code-config

Install

npx yarkr-cli add skill:anastasiyaw/codex-claude-code-config/refactoring-safely

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

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:anastasiyaw/codex-claude-code-config/refactoring-safely
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:anastasiyaw/codex-claude-code-config/refactoring-safely

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:anastasiyaw/codex-claude-code-config/refactoring-safely

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