P
principle-encode-lessons-in-structure
About principle-encode-lessons-in-structure
A skill principle for encoding lessons in an agent’s structure. Prefer structural fixes when possible; when judgment is unavoidable, emphasize the instruction and show a failure example.
Key features
- 01Prefer structural fixes
- 02Treat instructions as symptoms
- 03Emphasize guidance when judgment is needed
- 04Show a failure-mode example
Use cases
- 01Improve agent instructions
- 02Turn recurring problems into structural constraints
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cursor/ plugins --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