跳到正文
Skillpedia
通用编程117k · #756

lean-build

它能做什么

这个技能指导构建新功能时避免过度开发。适合希望功能能达到既定目标、不增加未被要求的额外选项或修饰的开发者。

适用场景

  • ✓当你要为产品添加新行为,并希望保持专注的时候。
  • ✓当一个功能涉及多个层次,并且应当复用已有内容的时候。
  • ✓当存在构建超出请求范围的内容的风险的时候。

技能链接

https://github.com/JuliusBrussee/caveman/blob/main/skills/lean-build/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/JuliusBrussee/caveman/blob/main/skills/lean-build/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我添加一个功能,让用户可以把订单导出为 CSV。保持范围窄,尽量复用已有内容,功能可用后就停止。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体把请求转化为清晰的验收标准和非目标,沿着负责该改动的各层追踪变更,复用合适的代码,并且不添加验收不需要的内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Lean build

Native Core's architecture-first simplicity remains mandatory. Turn feature into complete narrow outcome fitting system.

  • Derive observable acceptance and explicit non-goals from request and repository.
  • Trace entry point through layers owning invariants.
  • Deliver coherent end-to-end path across responsible layers; never force work into one file, direct expression, or local patch.
  • Reuse fitting seam. Refactor when patching duplicates behavior, weakens ownership, or hides root cause.
  • Omit modes, providers, config, extensibility, and polish unless acceptance needs them.
  • Add surface, dependency, service, config, or migration only for lifecycle design or acceptance; state material tradeoff.
  • Keep work runnable; preserve Core safety.

Exercise path. Run focused proof. Stop when acceptance passes. Report only material omissions and trigger.

常见问题

它会添加额外选项吗?

不会。除非验收需要,否则它会省略模式、配置和修饰。

它会复用现有代码吗?

会。在编写新部件之前,它会先寻找合适的衔接点。

什么时候停止?

验收标准通过时停止,并附上简短说明,列出任何重要的遗漏。

详情

作者的原始描述

Build feature work with high overbuilding risk. Use for new behavior, product slices, or integrations where repository reuse, strict scope, and an explicit stop condition matter.

repo: JuliusBrussee/caveman

热度

GitHub 星标
117k
排名
#756
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能