AGENT SKILL

refactor-without-breaking

Split or restructure existing code without changing its behavior — characterization tests first, small committed steps, bugs found committed separately. Use for every refactor.

License 许可
MIT
所属仓库
wdubilly/drwil
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
refactor-without-breaking
description
Split or restructure existing code without changing its behavior — characterization tests first, small committed steps, bugs found committed separately. Use for every refactor.

03 SKILL.md 正文

Recipe: docs/recipes/refactor-without-breaking.md (characterization tests first, small steps, pitfalls already encountered). Context: the touched layer's AGENTS.md. A bug found along the way: separate commit (AGENTS.md, Conduct section). Verify: node .githooks/run-checks.mjs at every step.

04 同仓库更多 Skills