Communitygithub.com

JuliusBrussee/lean-build

以高過度建置風險完成功能開發。適用於新建行為、產品片段或整合工作,重視儲存庫重複使用、嚴格的範圍與明確的停止條件。

lean-build 是什麼?

這個技能「lean-build」是一個專門為「Native Core」架構設計的開發規則集,旨在引導 AI 代理以簡潔、精確且避免過度工程的方式實作功能。它要求代理從請求與現有儲存庫中推導出具體的可觀察驗收條件與明確的非目標,並識別出貫穿各層級的進入點及其負責的不變量。其核心價值在於:交付一個橫跨相關層級的連貫端到端路徑,而非將所有工作塞入單一檔案或直接修補。技能也強調「重複使用合適的接縫」,並在修補導致重複行為、削弱所有權或隱藏根本原因時進行重構。此外,它嚴格限制模式的引入、供應商、配置、可擴展性與打磨,除非驗收條件明確要求。該技能適用於任何支援 SKILL.md 的 AI 代理平台(如 Claude Code、Cursor、Codex),並透過規則引導代理在正確的約束下進行開發,最終在驗收條件通過時停止,僅報告實質的遺漏與觸發條件。

相容平台~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.

相關技能