Skip to main content

principle-encode-lessons-in-structure

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.

来源信息

仓库
cursor/plugins
最近来源活动
2026年10月12日 04:17
检测到的 SKILL.md 语言
英语
星标
11,670
分支
1,137

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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
# 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.
在 GitHub 查看