principle-encode-lessons-in-structure
Turns rules you keep repeating into automatic checks so you do not have to say them again.
Installation
Paste this into Claude Code, Cursor, or any agent that can run commands.
SKILL.mdShow the author's original SKILL.md
--- name: principle-encode-lessons-in-structure description: "Apply when you catch yourself writing the same instruction a second time, or notice a recurring correction. Encode the rule as a lint, metadata flag, runtime check, or script instead of more text." disable-model-invocation: true --- # Encode 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.
Mirrored from the author's public source. Install counts from the open skills registry.