Listing Approved
Approved on: December 2, 2026
Encode Lessons in Structure
Encode recurring corrections as lint or check rules rather than text-based instructions, focusing on structural fixes when applicable.
Editor's Note
When encoding lessons, ensure that the instruction is prominent and accompanied by an example of the failure mode if judgment is required. Structural fixes should be prioritized over textual instructions.
When to Use It
- Automating code quality checks through linting rules
- Creating structured feedback mechanisms for common coding errors
- Improving maintainability by encoding lessons directly into code structure
SKILL.md
SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use
---
name: principle-encode-lessons-in-structure
description: When a correction repeats, encode it as a lint or check, not text.
disable-model-invocation: true
---
# 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.
Community Reviews & Field Notes
Tried this skill on your own project? Share the model you used and the results you got.