agentleFS
B16B1RDB16B1RD/bb-writ/skills/create-verification-skill/SKILL.md

create-verification-skill

Skill0 starsChanged 6 days agoMITView on GitHub

対象のリポジトリに、利用者と同じ経路で成果物を確かめる検証スキル(verify-<対象>)を現物から作って実行するときに使う。「検証手順を作って」「この対象の確かめ方をスキルにして」と頼まれたとき、または入口 `bb-writ` の検証で、その対象に繰り返し使える確かめ方が無いと分かったとき。コード・文書・スキル・知識・解析のどれにも使う。

86 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-pstack, ketchup-video and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 25 projects that use this

  • tristanphvnSkill

    ketchup-video

    Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.

    Also in 13 projects that use this

  • ianclearySkill

    poteto-help

    Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.

    Also in 14 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 19 projects that use this

  • ianclearySkill

    principle-explain-the-number

    Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.

    Also in 27 projects that use this

  • drafaelSkill

    in-your-own-words

    Restate the user's goals and the problem they are trying to solve to check understanding. Manual invocation only; use when the user explicitly invokes in-your-own-words or requests this understanding check. Do not solve the task or rewrite the assistant's last answer.

    Also in 26 projects that use this

The file

Files
SKILL.md

検証スキルを作る

対象のリポジトリに、利用者が成功を観測する場所で成果物を確かめる手順を、スキルとして残す。読むのは次の仕事の途中で初めてその対象に触るエージェントなので、そのまま実行できる形で書く。作って 1 回実行し、意図的に壊した成果物で落ちるのを見るまでは完成ではない(下書き)。

1. 利用者でなくリポジトリに聞く

読めば分かることは聞かない。次をリポジトリから答える。

  • 成果物と利用者: 何を作るリポジトリか(コード・文書・スキル・知識・解析。複数なら主なもの 1 つ)。誰が、何を観測して「できた」と判断するか。
  • 起動・実行: その対象の通常の方法(README・package script・Makefile・pyproject.toml の scripts・既存の検査・CI があればその定義)。依存の取得も通常の経路で。
  • 操作: 利用者の経路で動かす方法。CLI は実際のコマンド、文書は書かれた手順をそのまま実行、スキルは新しい CLI セッションに依頼を渡す(delegate)、解析は入力の版と乱数を固定して再計算。既存の仕組み(テスト・fixture・スクリプト)を先に使う。スキルが対象なら、補助スクリプトの検査だけでは足りない。新しいセッションで、使うべき依頼で使われること、使うべきでない依頼で使われないことを、最初のツール呼び出しで観測する(長く動き続ける操作は --max-turns で最初の呼び出しまでに止める)。これが通らないうちは下書き。
  • 観測: 何を証拠にできるか(終了コード、出力、生成ファイル、数値、新しいセッションの成果物)。
  • 分離: 利用者のデータ・設定・常駐を壊さずに動かせるか(一時ディレクトリ、--data-dir、worktree)。できなければそう書き、共有の実物を操作しない。

checkout がそのまま動かなければ、先に直すか、正確に報告する。壊れた土台に合わせた手順を書かない。

2. スキルを書く

置き場は対象のリポジトリの .agents/skills/verify-<対象>/(Codex が読む。.claude/skills/verify-<対象> からの相対の symlink で Claude Code にも見せる)。Codex の workspace-write の sandbox は .agents を読み取り専用にする(2026-10-17 に実測)。書けなければ正本を .claude/skills/verify-<対象>/ に置き、.agents/skills/verify-<対象> への symlink は、その 1 コマンドだけ sandbox の外での実行を求める。認められなければ、そのコマンドを報告に書く。frontmatter は name: verify-<対象> と、対象・成果物・使う場面を書いた description。本文の節は次のとおりで、どれも調べた実物に基づく(雛形の文言を残さない)。

  • 準備: 空の状態から使える状態にするコマンドと、使える状態になったと分かる観測。終わったときの片付け。
  • 点検: 「この環境で確かめる価値があるか」を答える読み取り専用の 1 コマンド(版、依存、データの有無、ログイン)。何かおかしいときは最初にこれを実行する。
  • 操作: このリポジトリの実際のコマンド・パス・依頼文。例ではなく実物。
  • 証拠: 何を取り、どこに置くか。利用者の経路を通す(内部の関数やテスト専用の口で済ませない)。操作と結果の状態の両方を取る。副作用(書かれたファイル、変わった数値)も見る。「dry-run」は名前を信じず、実際に何を省くかを観測する。
  • 壊して確かめる: 各検査について、成果物の写しに欠陥を 1 つ入れて落ちることを示す手順(文書なら手順の 1 行を誤りにする、スキルなら使う場面の記述を外す、解析なら入力の 1 行を変える、コードなら判定を 1 か所反転する)。落ちない検査は検査ではない。
  • 片付け: 自分が作ったものだけを消す。作ったときのパス(mktemp の出力など)を覚えておき、それと一致するものを消す。名前の形で自分のものと推定しない。名前でプロセスを殺さない。証拠は消さず、残る場所を書く。

補助スクリプトを置くなら実行可能にし、呼び方を本文に書く。

3. 機能の一覧を作る

verify-<対象>/features/README.md と、利用者から見た機能 1 つにつき 1 ファイル(最初は主なもの 3〜5)。各ファイルの節は 下位の機能・利用者の経路・動かし方・注意。前提のデータが足りずに確かめられない機能は、失敗として 注意 に理由を書く。通るように手順を弱めない。

4. 渡す前に 1 回通す

生成したスキルの手順を、新しい文脈で最初から 1 回実行する: 準備 → 点検 → 機能 1 つの操作 → 証拠 → 壊して確かめる → 片付け。片付けの後に証拠が残っていることを確かめる。落ちた所を直し、失敗した回の後にも片付けを実行する。実行していない手順は下書きとして返し、完成と書かない。代わりの環境で確かめたなら、本物の環境で確かめていない手順を列挙する。

5. 届ける

対象のリポジトリの通常の方法で届ける(PR など)。本文に、生成した検証スキルの場所、1 回通したときのコマンドと結果、壊した例とそれが落ちた出力、確かめていない機能を書く。

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.