Skip to content
pstack 中文学习站

principle-encode-lessons-in-structure

Updated 2026-10-28

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."
disable-model-invocation: true

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.

Thanks for reading

Follow liu xu, who runs this site, for new pstack translations and notes.

公众号「出发向未来」的二维码
WeChat「出发向未来」