cursor3.1K installs
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.
Install
npx skills add https://github.com/cursor/plugins --skill principle-encode-lessons-in-structureSKILL.md
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.
Related skills
thermo-nuclear-code-quality-reviewcursor19KRun an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.unslopcursor19KCut AI tells from any writing. Must always apply.deslopcursor7.3KRemove AI-generated code slop and clean up code styletypescript-best-practicescursor4.8KTypeScript best practices. Use when reading or editing any .ts or .tsx file.