<< All versions

Skill v1.0.1

currentAutomated scan100/100
birwin93/bstack/principle-encode-lessons-in-structure

+1 new

──Details
PublishedNovember 26, 2026 at 04:13 PM
Content Hashsha256:6db6b5cae4563cc8...
Git SHA4d2a5152831b
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 961 B)
SKILL.md961 Bactive
SKILL.md · 15 lines · 961 B

name: principle-encode-lessons-in-structure description: "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." metadata: version: "1.0.1"


Encode Lessons in Structure

Before you encode a lesson as a lint rule, metadata flag, runtime check, or script, test a representative violation, a legitimate exception, and an equivalent expression of the same mistake. Existing-code findings help measure signal. Zero findings alone do not disqualify a preventative rule. Encode the part the mechanism can reliably detect.

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 for the behavior it fully enforces. Keep guidance for judgment the mechanism cannot decide.

← v1.0.0All versions