refactor-pm
Installation
SKILL.md
Scan the specified files or directory for opportunities to improve mechanism/policy separation, following the principles below.
What to Look For
Using Arne Brasseur's definitions:
Mechanism is code that is:
- Unopinionated and context-free
- Reusable across different business domains
- Easy to test in isolation
- Stable — changes slowly over time
Policy is code that is:
- Opinionated — reflects current business decisions
- Contextual — tied to a specific domain
- Expected to change frequently