mcpField
P
principle-laziness-protocol

principle-laziness-protocol

github.com/ericlitmanDevelopment54248 installsUpdated 2w ago
Repository

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

  1. 01Centralize repeated decisions
  2. 02Pass decisions through a simple flag
  3. 03Make the smallest effective change

Use cases

  1. 01Consolidate the same choice repeated in several places
  2. 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-protocol

After installing, type/principle-laziness-protocolin Claude Code to confirm it loaded.

Details

From the project README

Laziness 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