Principle Encode Lessons In Structure

Replace a recurring correction with the strongest practical type, lint, CI, helper, or runtime mechanism and prove the observed mistake now fails automatically.

njs14 Updated

File contents

Encode the lesson

Treat the request text that activated this skill as a recurring correction to make structural.

Apply encode lessons in structure. Name the repeated failure, choose the strongest practical enforcement layer, and add a regression that demonstrates the old mistake is rejected. Keep prose only when judgment cannot be encoded. Return the mechanism and the failing-then-passing evidence.

njs14/pkstack commit 2274fb61e1

Frequently asked questions

npx get-skill add njs14/principle-encode-lessons-in-structure