---
id: gh-lean-build
name: "lean-build"
url: https://skills.yangsir.net/skill/gh-lean-build
author: juliusbrussee
domain: ai-software-architecture-engineering
tags: ["lean-development", "scope-control", "acceptance-criteria", "architecture-seams", "overbuilding-prevention"]
install_count: 102200
rating: 4.80 (120 reviews)
github: https://github.com/juliusbrussee/caveman/tree/main/skills/lean-build
---

# lean-build

> 此技能用于高过度建设风险的功能开发，通过从请求和仓库推导可观察验收标准与明确非目标，追踪入口点并复用合适接缝，交付跨度合适的端到端路径。它帮助开发者严格限定范围、明确停止条件，避免过度设计，从而提升交付效率和代码质量。

**Stats**: 102,200 installs · 4.8/5 (120 reviews)

## Before / After 对比

### 功能交付周期

**Before**:

在没有此技能之前，开发者面对高过度建设风险的功能需求时，往往因为缺乏明确的范围边界而不断添加模式、配置和扩展点，导致交付周期被拉长，代码库复杂度上升。

**After**:

此技能通过从请求和仓库推导可观察验收标准与明确非目标，并复用合适的接缝，使功能交付聚焦于必要路径，显著缩短交付周期并保持系统整洁。

| Metric | Before | After | Change |
|---|---|---|---|
| 交付周期 | 40小时 | 12小时 | -70% |

### 非必要代码量

**Before**:

手动开发时，开发者常为可能的需求变动预留大量抽象、配置项和未使用的接口，造成大量非必要代码，增加维护负担。

**After**:

此技能严格限定在验收所需的最小范围内，省略一切模式、提供者、配置和扩展点，从而大幅减少非必要代码。

| Metric | Before | After | Change |
|---|---|---|---|
| 非必要代码行数 | 300行 | 30行 | -90% |

## Readme

# 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.


---
*Source: https://skills.yangsir.net/skill/gh-lean-build*
*Markdown mirror: https://skills.yangsir.net/api/skill/gh-lean-build/markdown*