cursor avatar

Principle Encode Lessons In Structure

Turn repeated instructions into lints, flags, checks, or scripts instead of more prose.

CCM score
58 of 100
skills.sh installs
6.5K
GitHub stars
19.4K
last updated
Nov 25, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers when to stop restating a rule in text: a second instruction or a recurring correction is the trigger
  • Recommends encoding the rule as a lint, metadata flag, runtime check, or script rather than adding text
  • Advises making a judgment-based lesson more prominent with a failure-mode example when it cannot be encoded
  • States that when a structural fix exists, use only that fix, since the written instruction is the symptom

Install

$ npx -y skills add cursor/plugins --skill principle-encode-lessons-in-structure -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/cursor/plugins
First seen
Nov 25, 2026

More from cursor/plugins

All 93

Similar to Principle Encode Lessons In Structure