mcpField
H
hillclimb

hillclimb

github.com/yeachan-heo其他40.7k8 次安装今天更新
代码仓库

关于 hillclimb

hillclimb 是用于逐轮改进可测量指标的技能。它以固定基线指导实验,只保留经过验证的成果,并撤销未奏效的改动。

主要功能

  1. 01定义实测基线
  2. 02记录每轮实验
  3. 03每次验证一个假设
  4. 04保留成果并撤销退步
  5. 05报告进展与停滞

适用场景

  1. 01通过多轮实验缩短冷启动时间
  2. 02依据固定指标降低测试波动率

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/yeachan-heo/oh-my-claudecode --skill hillclimb

安装后在 Claude Code 中输入/hillclimb确认已加载。

README 原文English

来自项目 README

README 暂无中文译文,以下为英文原文;中文介绍见上方。

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 — debug or execute
  • no measurable baseline exists yet — build the measurement first (that is round zero, not skippable)

The loop

  1. Fix the baseline: the metric's definition, the exact command that measures it, and the current value — measured, not estimated (benchmark-checklist discipline). The baseline command never changes mid-climb; if it must, the climb restarts.
  2. Log the target and the climb in .omc/state/decision-trail-{task-slug}.tsv via the show-me-your-work trail: one row per round.
  3. One hypothesis per round: what you believe will move the metric and why. State it before touching code.
  4. Implement on a branch, measure with the baseline command, and apply benchmark-checklist before believing any number.
  5. 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.
  6. 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 (principles skill, 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