P
principle-encode-lessons-in-structure
About principle-encode-lessons-in-structure
A software design skill for deciding how to encode lessons in code and guidance. It recommends structural fixes when possible, and clearer instructions with failure examples when judgment cannot be encoded.
Key features
- 01Prefer structural fixes
- 02Highlight instructions when needed
- 03Add failure-mode examples
Use cases
- 01Turning recurring lessons into code structure
- 02Clarifying guidance for judgment-dependent cases
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ mariusflorescu/ pstack-t3 --skill principle-encode-lessons-in-structureAfter installing, type/principle-encode-lessons-in-structurein Claude Code to confirm it loaded.
Bundled filesagents/openai.yaml
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