关于 hillclimb
hillclimb 是用于逐轮改进可测量指标的技能。它以固定基线指导实验,只保留经过验证的成果,并撤销未奏效的改动。
主要功能
- 01定义实测基线
- 02记录每轮实验
- 03每次验证一个假设
- 04保留成果并撤销退步
- 05报告进展与停滞
适用场景
- 01通过多轮实验缩短冷启动时间
- 02依据固定指标降低测试波动率
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ yeachan-heo/ oh-my-claudecode --skill hillclimb安装后在 Claude Code 中输入/hillclimb确认已加载。
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
Hillclimb
Climb one metric scientifically: each round is a hypothesis, a measurement against a fixed baseline, and a decision — keep the win, revert the loss. One accepted commit per verified win; the log is the climb's memory.
When to use
- a measurable target will take multiple rounds ("cut cold-start to <2s", "get flaky suite under 1%")
- the user names a metric to improve, not a feature to build
When not to use
- a one-off fix with a known cause —
debugorexecute - no measurable baseline exists yet — build the measurement first (that is round zero, not skippable)
The loop
- Fix the baseline: the metric's definition, the exact command that
measures it, and the current value — measured, not estimated
(
benchmark-checklistdiscipline). The baseline command never changes mid-climb; if it must, the climb restarts. - Log the target and the climb in
.omc/state/decision-trail-{task-slug}.tsvvia theshow-me-your-worktrail: one row per round. - One hypothesis per round: what you believe will move the metric and why. State it before touching code.
- Implement on a branch, measure with the baseline command, and apply
benchmark-checklistbefore believing any number. - Decide: a verified win is committed alone (one commit per win, so any regression bisects to a single round); a loss or wash is reverted and logged with what was learned. Neither counts as failure — both are data.
- Repeat until the target is reached or the hypothesis space is exhausted — then report the plateau honestly instead of grinding.
Rules
- Never stack two hypotheses in one round; a stacked win cannot be attributed.
- Never move the baseline, relax the check, or cherry-pick the favorable run — a climb that cheats its measurement is worse than no climb.
- Every decision row names its measurement evidence; every claim is
labeled measured, inferred, or guess (
principlesskill, Explain the number). - The final reply reports: rounds run, wins kept, the measured delta from the original baseline, and what was tried and rejected.
评论
支持 Markdown