validation-supervision
できること
このスキルは、Firstmateで完成したコードの変更に対する自動検証の実行を管理します。出荷前にコードを確認したい人、検証中に作業範囲が広がるのを避けたい人向けです。
使う場面
- ✓コードの変更が準備でき、自動検証を開始すべきとき。
- ✓検証の実行中に新しい要件が出てきたとき。
- ✓検証の実行が、判断が必要な質問をしてきたとき。
スキルのリンク
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/validation-supervision/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“完成した変更に対する検証を開始してください。新しいアイデアは、この作業ではなくフォローアップのタスクに回してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
作業担当者が検証の実行を開始し、各ゲートを順に進めます。新しい要望は、通常はフォローアップの作業になります。すでに合意された動作を正しく保つための修正は、現在のタスクに残ります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Validation supervision
For a no-mistakes ship, trigger validation on the same worker after its implementation commit, using the harness invocation owned by harness-adapters.
The task worker that starts a no-mistakes run drives the pipeline and owns every no-mistakes axi run and no-mistakes axi respond call through the next gate or outcome.
Firstmate never invokes no-mistakes axi respond for a crew-owned run.
bin/fm-dod-lib.sh owns the worker-side --intent contract.
Once validation starts, prefer routing new requirements to follow-up work rather than expanding the current task, unless a new requirement completely invalidates the work being validated; however, the smallest downstream changes needed to keep already accepted product or engineering behavior correct, add behavioral tests where an executable contract exists, or keep documentation accurate remain within the current task even when they touch files not named at intake, and corrections required to satisfy already accepted intent are not new requirements.
Only a current, explicit captain instruction that completely invalidates the work being validated keeps the task with the same worker instead of routing it to follow-up work or handing it to a replacement.
That worker cancels the active run through no-mistakes axi's supported abort command and confirms through axi status that the run has stopped before changing any code.
The worker then follows branch_sync.next_action from structured axi status: use axi sync's supported guarded recovery only when its code is recover_custody, and otherwise proceed only when structured status confirms that branch ownership is already returned and no recovery is required.
Custody recovery settles branch ownership, not content: the worker must replace the obsolete work from the correct pre-invalidation base rather than building on top of the recovered-but-obsolete head, keeping the obsolete run's own pipeline-fix commits out of what gets validated and shipped.
Apart from that single supported abort, do not hand-edit, commit, restart, or start a second validation run while the obsolete run still owns the branch.
Once ownership is settled, validate exactly once against that final head so no obsolete or intermediate head is ever treated as authoritative.
An ask-user finding returns as needs-decision; firstmate loads ask-user-authority and either decides or escalates per that skill.
Send the same worker one exact decision naming the decision key, step, action, affected finding IDs, instructions where needed, and exact response command, passing --resolve-key so the worker's open decision record closes at answer time.
Require the matching resolved event, forbid --yes, and require the worker to process every synchronous return until completion or a genuinely new escalation.
Resume fleet supervision immediately after the decision lands.
Judge validation by the resolved state line from bin/fm-crew-state.sh, whose header owns outcome mappings and CI-monitor/daemon exceptions, never by shell liveness, the last status event, or a raw run record.
Workers parked at approval or fix-review must follow the active gate help.
A worker hand-editing, committing, aborting, or restarting during an active validation run duplicates pipeline ownership outside the supersession sequence above; steer it back to the gate response flow.
The worker reports the PR when CI first becomes green rather than waiting for merge monitoring to finish.
よくある質問
新しい要件が現在のタスクを変えることはありますか?
検証中の作業が完全に無効になるような明確な指示がある場合に限ります。
検証の質問には誰が答えますか?
作業担当者が判断のために上に送ります。エージェントは独自に答えません。
検証の実行を止めることはできますか?
はい。サポートされている中止コマンドで止められ、変更の前に停止が確認されます。
詳細
作者による元の説明
Load when a ship starts or already has an active no-mistakes validation run, including a mid-run requirement change or finding, and before deciding or answering any ask-user finding.
repo: kunchenguid/firstmate
人気
- GitHubのスター
- 8.5k
- ランキング
- #12450
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
afk
8.5kエージェントが、あなたが離れている間も作業を見守り、あなたの判断が必要なものを保留し、戻ったときに明確な報告を送れるよう支援します。
ahoy
8.5kエージェントが、セッションで何が起きたかの短い振り返りを示し、まだあなたの答えを待っている判断を一緒に確認できるよう支援します。
ask-user-authority
8.5kエージェントが、検証の中で出た質問を、合意された計画に明らかに合う場合は自分で判断し、不明確または危険な場合にだけあなたに尋ねるよう支援します。
away-quiet-supervision
8.5kエージェントが、不在またはおとなしいモードで作業を監督するときの安全ルールに従い、メッセージを明確に保ち、あなたが必要な判断を保留できるよう支援します。
似ているスキル
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
verification-before-completion
311kタスク、修正、ビルドが完了した、または合格したと主張する前に、実際のチェックを実行し、その出力を読むようエージェントに教えます。
migrate-to-shoehorn
310kテストファイル内の危険な型キャストを、shoehornライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。