Communitygithub.com

精益构建

适用于存在高过度构建风险的特性开发。用于需要仓库复用、严格范围控制并明确停止条件的新行为、产品切片或集成工作。

精益构建 是什么?

精益构建技能是一种严格的开发方法,旨在将特性需求转化为系统可接受的、完整且清晰边界的结果。它强调“架构优先”原则,要求从请求和仓库中推导出可观测的验收标准与明确非目标,并沿着系统入点追踪至各拥有不变量的层。技能的核心在于跨越责任层交付连贯的端到端路径,避免将工作强行塞入单个文件或使用局部补丁。当出现重复行为、弱化所有权或隐藏根本原因时,应优先复用现有接缝或进行重构。该技能明确限制了模式、提供者、配置、可扩展性和修饰的实现,除非这些是验收的必要条件。所有新增的表面、依赖、服务、配置或迁移都必须服务于生命周期设计或验收,并说明材料权衡。最终,工作需保持可运行并维护核心安全性,在验收通过后立即停止,仅报告关键遗漏和触发条件。此技能适用于高过度构建风险的场景,如新行为、产品切片或集成开发。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JuliusBrussee/caveman/tree/main/skills/lean-build

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

精益构建 是做什么的?

Native Core 的架构优先简单性保持强制。将特性转化为符合系统的完整、窄化的输出。

  • 从请求和仓库中推导出可观测的验收标准和明确的非目标。
  • 通过拥有不变量的各层追踪入点。
  • 跨责任层交付连贯的端到端路径;绝不将工作强行塞入单个文件、直接表达或局部补丁中。
  • 复用合适的接缝。当补丁重复行为、削弱所有权或隐藏根本原因时,进行重构。
  • 除非验收需要,否则省略模式、提供者、配置、可扩展性和修饰。
  • 仅为生命周期设计或验收才添加表面、依赖、服务、配置或迁移;说明材料权衡。
  • 保持工作可运行;维护 Core 安全性。

运行路径。执行聚焦的验证。验收通过时停止。仅报告实质性的遗漏和触发条件。

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

JuliusBrussee/caveman-discover

Find and label every LLM workflow in the repository so Caveman Cloud groups spend by workflow instead of one bucket. Use for "discover workflows" or breaking LLM spend down by workflow.

JuliusBrussee/caveman-evidence-review

Read-only review of Caveman Cloud evidence: cost, Cave Score, workflows, traces, latency, errors, routing, savings. Use when asked what Caveman found or where LLM spend goes.

JuliusBrussee/caveman-explore

Read-only repository explorer for cold-start orientation, broad cross-file localization, or when a direct search failed. Skip it when the exact file or symbol is already named. Returns path:line citations only; its reads stay out of main context.

JuliusBrussee/caveman-learn

Act on a Caveman learn report - review the ranked token sinks, apply cost-lowering fixes with per-edit consent, and report what those fixes returned. Use when asked to lower an agent's token cost, what caveman has saved, to trim a heavy CLAUDE.md, or to offload re-pasted context into cavemem.

JuliusBrussee/caveman-manage

Inspect Caveman Cloud's experiment lifecycle and block unsafe execution. Use when asked to start, approve, cancel, promote or roll back a Caveman experiment.

JuliusBrussee/caveman-optimize

Turn a Caveman optimization observation into an operator-chosen candidate with a paired baseline evaluation. Use when asked to inspect or evaluate a Caveman optimization report. Needs explicit approval.

JuliusBrussee/caveman-setup

Wire a repository through the Caveman Cloud gateway so every LLM request is measured, with no behavior change. Use for "set up caveman" or adding LLM spend observability.

JuliusBrussee/investigate-first

Diagnose ambiguous failures before editing. Use for unknown causes, intermittent behavior, performance regressions, or investigations needing evidence-ranked hypotheses.

JuliusBrussee/migration

Implement reversible compatibility-safe transitions. Use for schema, data, API, protocol, configuration, or dependency migrations requiring rollback and preservation proof.

JuliusBrussee/safe-refactor

Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.

JuliusBrussee/surgical-patch

Fix bugs and small behavior changes at the narrowest responsible layer. Use when regression proof, preserved surrounding behavior, and task-relevant tests matter.

JuliusBrussee/verify-and-stop

Prove existing work meets acceptance conditions without expanding scope. Use for validation-only tasks, completion checks, focused gate runs, and last-mile proof.

相关技能