AGENT SKILL

hillclimbing

Iterates toward a goal one measured change at a time, keeping what raises the score and reverting what does not, until a fresh run of the check proves the completion criteria met. Use when the user says "hillclimb", or when the user gives a goal and completion criteria and asks to hillclimb, iterate, or keep going until they pass.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 2
Forks
0

01 前言 Front Matter

name
hillclimbing
description
Iterates toward a goal one measured change at a time, keeping what raises the score and reverting what does not, until a fresh run of the check proves the completion criteria met. Use when the user says "hillclimb", or when the user gives a goal and completion criteria and asks to hillclimb, iterate, or keep going until they pass.

02 资源文件 2

03 SKILL.md 正文

Hillclimbing

1. Fix the check before the first change

  • Turn the criteria into a check with a pass or fail result and a score that moves as the work gets closer.
  • Record, verbatim: the goal and criteria as stated, the check and its threshold, guardrails (checks that pass now and must still pass), and the budget, only if the user gave one.

If a criterion cannot be made checkable, ask once, now, and propose a check. This is the only planned question.

Draft that check by calling the Skill tool with writing-acceptance-criteria on the criterion, per the skill call rules, and fold its assumptions and open questions into the one question. If it is not installed, propose the check yourself.

Run the check and guardrails for a baseline. If the check already passes, report that and stop. Keep the record and iteration log in a progress file outside the working tree, and reread it after a context reset.

2. Climb

Each iteration:

  • Make one change chosen from the last run's evidence, small enough to trace a score change to it.
  • Rerun the check and guardrails.
  • Keep it only if the score improved and every guardrail passes; otherwise revert it exactly.
  • Log one line: change, score, kept or reverted.
  • Keep the best state recoverable.
  • Never ask whether to continue between iterations.

A noisy score needs several runs per measurement; compare medians.

After three iterations without gain, name the assumption every failed attempt shares and take a larger step that drops it. Never retry a reverted change. A plateau is not a reason to stop.

3. Never move the goalposts

To reach the criteria, never:

  • edit, skip, delete, or loosen a test, assertion, threshold, or the check
  • special-case the check's inputs, such as hardcoded expected outputs
  • suppress what the check reports, such as swallowed errors or bypassed hooks
  • narrow the check to a subset or smaller sample

A wrong check (a test asserts the old bug) is a blocker for the user, not a change to make.

4. Stop only on one of these

  1. Met. Rerun the full check and every guardrail fresh, from the final state. They pass. An earlier pass, a subset, or a partial run does not count.
  2. Budget spent. The user's stated budget, never one invented here.
  3. Blocked on the user. The next step needs a permission, a credential, a destructive or outward-facing action that needs confirmation, a choice between conflicting criteria, or a fix to a wrong check. Or the criteria are provably unreachable: name the constraint and the measurement or source that proves it. "Hard" and "many attempts failed" are not proof. Finish every step that does not depend on the blocker first.

Final report, adapted as needed:

Status: met | budget spent | blocked: <what is needed from the user>
Score: <baseline> -> <final> (threshold <threshold>)
Check: <command>
<its output from the final run>
Iterations: <n> (<kept> kept, <reverted> reverted)

04 同仓库更多 Skills

bostonaholic
bostonaholic/skills

writing-system-prompts

Writes and reviews system prompts for AI tools, agents, chatbots, and LLM products using a fixed section order and a quality checklist. Use when the user says "write a system prompt", or when drafting a system prompt or auditing one for missing stop criteria, tool rules, constraints, or examples. Not for compressing an existing prompt; use improving-prompts.

★ 2
bostonaholic
bostonaholic/skills

writing-prose

Writes and edits prose for people in a plain, conversational, short house style with no em dashes. Use when the user says "write this up", or when drafting or revising documentation, READMEs, explanations, blog posts, or other human-facing prose. Not for prompts written for agents; use writing-system-prompts or composing-agent-prompts.

★ 2
bostonaholic
bostonaholic/skills

writing-acceptance-criteria

Writes or rewrites acceptance criteria until each is provable: one observable outcome with a named check that can fail. Use when the user says "write acceptance criteria", or asks to write, rewrite, or tighten acceptance criteria or a definition of done. Not for proving work meets them; use proving-claims.

★ 2
bostonaholic
bostonaholic/skills

summarizing-shipped-work

Summarizes the user's merged GitHub PRs for a timeframe into a grouped, linked shipped-work report with highlights, and offers to update a brag document. Use when the user says "what shipped?", or when asked what the user shipped (this week, last month, a quarter, since a date), for a status update, or to update a brag doc.

★ 2
bostonaholic
bostonaholic/skills

running-retros

Mines a session transcript, past agent sessions, or named sources such as PR review comments for durable learnings, then proposes approval-gated edits to skills, AGENTS.md, or docs and tracker issues. Use when the user says "retro", or when the user explicitly asks for a retrospective. Never infer from session end or friction.

★ 2
bostonaholic
bostonaholic/skills

learning-from-mistakes

Codifies the latest correction or mistake in the conversation as a short imperative rule in the project or global CLAUDE.md or AGENTS.md, after the user approves it. Use when the user says "learn from this mistake", or when the user asks to learn from a mistake, remember a lesson for next time, add a rule to CLAUDE.md, or not repeat a behavior. Not for a whole session; use running-retros.

★ 2