About principle-laziness-protocol
This development skill offers concise guidance for making code changes: centralize repeated decisions and use the smallest change that solves the problem. It is for developers seeking to avoid duplicated logic and unnecessary code.
Key features
- 01Centralize repeated decisions
- 02Pass decisions through a simple flag
- 03Make the smallest effective change
Use cases
- 01Consolidate the same choice repeated in several places
- 02Reduce the diff when fixing a problem
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ ericlitman/ open-pstack --skill principle-laziness-protocolAfter installing, type/principle-laziness-protocolin Claude Code to confirm it loaded.
Details
From the project READMELaziness Protocol
- Consolidate decisions. Do not repeat the same choice in several places. Put it behind one source of truth and pass the result as a simple flag.
- Minimize the diff. Make the smallest change that solves the problem. Fewer lines beat "elegant" boilerplate.
Comments
Markdown supported