360 Secure SkillHub
360 安全技能中心

principle-laziness-protocol

该 Skill 是一份精简的代码重构与变更评审原则,主张合并重复决策、保持单一事实来源,并用最小差异解决问题,适合在评估抽象、层级或信号传递时约束改动范围。未提供脚本、示例或自动化检查。

分类:开发
backnotprop
热度 69.30
最近更新 2026-11-24 05:23:52

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add backnotprop/pstack/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.