agentleFS
mirukymiruky/harness-sample/.agents/skills/harness-retro/SKILL.md

harness-retro

Skill0 starsChanged 2 days agoMITView on GitHub

エージェントの失敗や人の手直しを振り返り、ハーネスのどこへ戻すかを決めて記録する。人が /harness-retro で呼ぶ。

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. alfonsograziano/skills★ 13same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

Files
SKILL.md

失敗をハーネスへ戻す

起きたこと: $ARGUMENTS

同じ失敗を次のセッションで繰り返さないために、原因を1つ選び、置き場所を1つ決める。 決まりごとを足す前に、いまあるものを直せないかを先に確かめる。

手順

  1. 何が起きたかを事実で書く。説明がなければ、このセッションのやり取りと uv run python tools/harness_stats.py の結果から拾う。
  2. 原因を次から1つ選ぶ。
    • 知らなかった: 必要な情報が、エージェントの見える場所になかった
    • 知っていたが守らなかった: 書いてあるのに、従わなかった
    • 確かめられなかった: 正しいかどうかを自分で確かめる手段がなかった
    • やってはいけなかった: 取り返しのつかない操作ができる状態だった
  3. 置き場所を下の表から1つ選ぶ。上の行ほど軽く、下の行ほど確実に守られる。判断がつかなければ軽いほうから試す。
  4. docs/harness-log.md の先頭に1件足す(日付、起きたこと、原因、置き場所、変えたファイル)。
  5. 変更を提案する。.agents/hooks/ と .github/workflows/ は自分で書き換えず、差分を返答に書いて人に渡す。
  6. 足した決まりが古い決まりと重なるなら、古いほうを消す。uv run python tools/check_harness.py で行数と参照を確かめる。

置き場所の決め方

原因内容置き場所
知らなかったどの作業にも関係する短い事実AGENTS.md に1行
知らなかった特定の場所だけの決まり.claude/rules/ に paths 付きで
知らなかった何手もある手順.claude/skills/
知らなかった判断の理由docs/decisions/
知っていたが守らなかった機械で判定できるリンターか tools/check_layers.py。直し方を出力に書く
確かめられなかった動かせば分かるテスト、make check
やってはいけなかった実行前に止めたい.claude/settings.json の deny か .agents/hooks/

2回続けて守られなかった文章の決まりは、文章を強くするのではなく、表の下の行へ移す。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.