lean-build
它能做什么
这个技能指导构建新功能时避免过度开发。适合希望功能能达到既定目标、不增加未被要求的额外选项或修饰的开发者。
适用场景
- ✓当你要为产品添加新行为,并希望保持专注的时候。
- ✓当一个功能涉及多个层次,并且应当复用已有内容的时候。
- ✓当存在构建超出请求范围的内容的风险的时候。
技能链接
https://github.com/JuliusBrussee/caveman/blob/main/skills/lean-build/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
评论
- …
同一仓库的更多技能
cavecrew
117k帮你的智能体判断何时把搜索、小改动或差异审查交给紧凑的子智能体处理,为主上下文节省空间。
caveman-compress
117k帮你的智能体把 CLAUDE.md 或待办清单等记忆文件压缩成更短的 caveman 风格,以节省输入 token。
caveman-stats
117k帮你的智能体按模式统计 Claude Code 会话使用的输出和缓存读取 token 数量。
caveman
117k帮你的智能体用简短、直接的方式回答,去掉废话,同时保留所有技术事实。