Skip to content
backnotprop avatar

Principle Encode Lessons In Structure

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

CCM score
62 of 100
skills.sh installs
13.3K
GitHub stars
5.5K
last updated
Nov 30, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Triggers when a rule is written a second time or a recurring correction shows up, prompting a move from text to structure
  • Says to encode the rule as a lint, metadata flag, runtime check, or script when it can be mechanized
  • Falls back to a more prominent instruction plus a failure-mode example when the lesson needs judgment
  • Includes a corollary: if a structural fix exists, use only that, since the written instruction is just the symptom

Install

$ npx -y skills add backnotprop/pstack --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/backnotprop/pstack
First seen
Nov 30, 2026

More from backnotprop/pstack

All 44

Similar to Principle Encode Lessons In Structure