P
principle-laziness-protocol
About principle-laziness-protocol
A development skill that encourages consolidating decisions behind a single source of truth and making the smallest change that solves a problem. It is intended for developers seeking to reduce duplication and unnecessary code.
Key features
- 01Centralize repeated decisions
- 02Use a simple flag for shared choices
- 03Minimize code changes
Use cases
- 01Avoiding duplicated decision logic
- 02Reducing the scope of a code change
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ backnotprop/ 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