Tooluck logoTooluck
SKILL.md

principle-encode-lessons-in-structure

Agent skill frombacknotprop/pstack

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.

How to install principle-encode-lessons-in-structure

install principle-encode-lessons-in-structure
# install the pstack pack with the skills CLI
npx skills add backnotprop/pstack

# or add only this skill to Claude Code: copy the folder

skills/principle-encode-lessons-in-structure/

# into

~/.claude/skills/principle-encode-lessons-in-structure/ (all projects)

.claude/skills/principle-encode-lessons-in-structure/ (one project)

skills/principle-encode-lessons-in-structure/SKILL.md

MITFull file
1# Encode Lessons in Structure
2
3If the lesson needs judgment and cannot be encoded, make the instruction more prominent and add an example of the failure mode.
4
5**Corollary:** If the fix is structural, only use the structural fix. The instruction is the symptom.

Excerpt shown under the repository's MIT license.

More skills in pstack

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates