360 Secure SkillHub
360 安全技能中心

principle-laziness-protocol

该 Skill 提供重构与代码评审时的行为准则:集中重复决策、把结果作为简单标志传递,并坚持最小改动,优先删除而非新增抽象;未提供脚本、工具或具体语言框架。

michael-denyer
热度 0.00
最近更新 2026-10-19 04:13:19
分类:开发依赖:纯提示词应用场景:代码审查

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add michael-denyer/pstack-claude/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.
user-invocable
false

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.