principle-subtract-before-you-add

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Read pstack runtime before executing this workflow.
执行此工作流前,请阅读 pstack runtime。

Subtract Before You Add

先做减法,再做加法

When evolving a system, remove complexity first, then build. Default to subtraction.
Make simplification a continual investment. Leave the design slightly simpler and more capable behind the same or smaller surface than you found it.
  • Sequence removal before construction
  • Cut before you polish (get to the minimum before investing in quality)
  • Design for observed usage, not speculative edge cases
  • No speculative validators, parsers, or guards beyond what the spec demands
  • Simplify prompts (remove redundant instructions, excessive templates)
  • When a reference has no novel content, delete it rather than leaving a stub
在演进系统时,先移除复杂性,然后再进行构建。默认采用减法。
持续投入于简化。让最终设计在保持相同或更小接口规模的同时,比初始状态略更简单且能力更强。
  • 先移除,再构建
  • 先精简,后打磨(在投入质量改进前先达到最小状态)
  • 根据实际观察到的使用情况进行设计,而不是针对推测性的边缘情况
  • 不添加规范之外的推测性验证器、解析器或保护逻辑
  • 简化提示词(移除冗余指令和过度模板)
  • 如果某个引用没有新增内容,应将其删除,而不是留下存根