Skills

Principle Encode Lessons In Structure

Apply when you catch yourself writing the same instruction a second time, or notice a...

Install

npx skills add nightly-labs/openbot --skill principle-encode-lessons-in-structure -g -a claude-code -y
Repository
nightly-labs/openbot4.5k
Category
Writing
Updated
3d ago
License
See repository
Context cost
Lightabout 66 tokens
Runs scripts
No, instructions only

What it does

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.

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.

More in Writing