principle-encode-lessons-in-structure
Installation
SKILL.md
Encode Lessons in Structure
Portability (required)
This skill is part of the portable pstack pack.
- Read the
pstackcapability contract and the adapter for the active coding agent before any helper delegation. - Prefer capability verbs (
explore,implement,review,parallel,ask_user,verify,model_role) over vendor tool names. - Resolve models through
model_role. Never require a vendor-specific model identifier. - When helper spawning is unavailable, run the work on the lead agent and state that fan-out was collapsed.
Encode recurring fixes in mechanisms (tools, code, metadata, automation) instead of textual instructions. Every error, human correction, and unexpected outcome is a learning signal. Capture it, route it, and close the loop.
Why: Textual instructions are easy to miss. They require the reader to notice, remember, and comply. Structural mechanisms (lint rules, metadata flags, runtime checks, automation scripts) enforce the rule without cooperation.