360 Secure SkillHub
360 安全技能中心

principle-laziness-protocol

该 Skill 提供两条编码原则:把决策集中到单一来源并以简单标志传递结果;把改动控制在解决问题所需的最小范围。适用于重构、评估 diff 规模或想新增抽象层、层级与参数传递时。

cursor
热度 0.00
最近更新 2026-10-18 16:52:30
分类:开发依赖:纯提示词应用场景:代码审查

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cursor/plugins/principle-laziness-protocol
Metadata
name
principle-laziness-protocol
description
Apply when refactoring, evaluating diff size, or tempted to add abstractions, layers, or signal threading. Bias toward deletion and the smallest change that solves the problem.
disable-model-invocation
true

Laziness Protocol

  • Consolidate decisions. Do not repeat the same choice in several places. Put it behind one source of truth and pass the result as a simple flag.
  • Minimize the diff. Make the smallest change that solves the problem. Fewer lines beat "elegant" boilerplate.