Cursor plugin specification and official plugins
TypeScript
pstack: fold enforcement-strength rung into encode-lessons-in-structure (#114)
lauren64fe0147d32e
diff --git a/pstack/skills/principle-encode-lessons-in-structure/SKILL.md b/pstack/skills/principle-encode-lessons-in-structure/SKILL.mdindex e166f96a..86a22f21 100644--- a/pstack/skills/principle-encode-lessons-in-structure/SKILL.md+++ b/pstack/skills/principle-encode-lessons-in-structure/SKILL.md@@ -16,6 +16,8 @@ When you catch yourself writing the same instruction a second time:2. If yes, encode it. Delete the instruction3. If no (genuinely requires judgment), make the instruction more prominent and add an example of the failure mode+**Pick the strongest rung.** When more than one mechanism would work, choose the strongest the situation allows (an unrepresentable state that cannot compile, then a lint or banned API that fails CI, then a canonical helper, then a runtime check), because agents copy whatever the surrounding code already does and a weaker guard becomes the next template.+**Corollary:** Don't paper over symptoms. If the fix is structural, ONLY use the structural fix. The instruction IS the symptom.**Feedback loop:**