P
principle-encode-lessons-in-structure
About principle-encode-lessons-in-structure
A development principle for turning lessons into structural fixes rather than relying on instructions alone. It is intended for teams maintaining software and distinguishes problems that require judgment from those that can be prevented by changing structure.
Key features
- 01Encode preventable lessons structurally
- 02Use prominent guidance when judgment is needed
- 03Include examples of failure modes
- 04Prefer structural fixes over instructions
Use cases
- 01Prevent recurring mistakes with structural changes
- 02Clarify a rule that still requires judgment
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ ericlitman/ open-pstack --skill principle-encode-lessons-in-structureAfter installing, type/principle-encode-lessons-in-structurein Claude Code to confirm it loaded.
Details
From the project READMEEncode Lessons in Structure
If the lesson needs judgment and cannot be encoded, make the instruction more prominent and add an example of the failure mode.
Corollary: If the fix is structural, only use the structural fix. The instruction is the symptom.
Comments
Markdown supported