Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# Encode Lessons in Structure23If the lesson needs judgment and cannot be encoded, make the instruction more prominent and add an example of the failure mode.45**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
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
