本文へ移動
cccskills
無料GitHub で公開日本語紹介

audit-decisions

AIが実装時に独自に決めた設計や仕様を履歴から洗い出し、根拠と確信度を添えた判断台帳にまとめます。コードは変更しません。

原文原文の説明を見る

Audit the decisions an implementing agent made, not its diff — a pure audit that traces the session's history into a decisions ledger, changes no code, and never blocks an unsupervised run. Working code still embeds architecture the user never chose; surface it because future work inherits it. Use when the user wants to review the decisions the AI made on their behalf, before merging or committing AI-implemented work, when integrating a delegated subagent's pass, or when a fix "works" but might be a point fix.

dzhng/skillsスター 1,388(GitHub 1,388 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • AI実装をマージする前の判断確認
  • サブエージェントの作業を引き継ぐとき
  • 動く修正が場当たり的でないか確認
  • 独自に決めた設計を台帳に残したいとき

日本語での紹介

できること

実装の差分ではなく、作業中にエージェントが依頼内容から独自に補った判断をたどり、台帳にまとめます。データ形式、保存場所、APIの振る舞い、追加した依存関係、性能との兼ね合いなどを確認し、それぞれに「妥当」「妥当でない」「ユーザー判断が必要」の判定と、ユーザーが同じ判断をしたと思う確信度を付けます。妥当でない判断には、やり直しの基準となる方針を記し、ユーザー判断が必要な項目には、後から戻せる暫定案を添えます。結果は判定別に整理して提示し、コードやテストは変更しません。

こんなときに便利

AIが作ったコードをコミット・マージする前に、依頼時に決めていなかった設計上の選択を把握したいときに向いています。作業を引き継いだサブエージェントの判断を確認するときや、修正は動いているものの、特定のケースだけに合わせた対応ではないか確かめたいときにも使えます。差分を読み込む代わりに、今後の作業に影響する判断とその理由を確認できます。

使い方の例

  • 「このセッションで依頼内容から補って決めたことを洗い出し、判断台帳にまとめて」
  • 「コミット前に、実装の判断を判定と確信度付きで監査して」
  • 「サブエージェントの作業を確認し、今後の設計に影響する判断を報告して」

注意点

監査結果を受けて修正するかどうかは、呼び出し元のワークフローまたはユーザーが判断します。台帳は通常、計画ファイルの隣に decisions.md として保存し、仕様が作業を管理する場合は specs/<feature>/decisions.md に置きます。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md10.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Audit Decisions

Given a good decision, an agent implements it faithfully; wherever the task is underspecified, it makes the decision itself — silently, and the diff won't flag it. Reviewing thousands of changed lines doesn't scale, and it inspects the execution, which was probably fine. The audit that scales is of the decisions: surface every one the implementer made on its own, judge that list, and record the verdicts.

This is about architecture more than bugs. An implementation can work perfectly and still rest on decisions the user never made — a data shape, a storage location, a dependency, an API contract, a tradeoff of memory for speed — and every one of them is load-bearing for future work. The user needs to know them not because they're wrong, but because they now own them.

This is purely an audit — it is not about modifying code, and it can be called at any time. The job is to trace back: walk every step this session has taken, and every step each subagent took (a live implementer traces its own; otherwise reconstruct from its reports, transcripts, and diffs), and surface every single decision that was made on the user's behalf that was not in the original spec or prompt. The ledger of those decisions replaces reading the code as the user's review surface — that is the whole point. Acting on the verdicts (redoing an unsound decision, applying a provisional call) belongs to the caller: the implementing workflow mid-run, or the user after reading the report.

Two ways in, same audit:

  • Called by a workflow (per pass or per slice): audit that pass, append its entries to the ledger, and return; the workflow presents the accumulated ledger when it hands back.
  • Called directly by the user: audit the whole body of work in front of you (session, branch, or named change) and present the report immediately. Recommend; change nothing.

Workflow

  1. Elicit and trace back. When an implementer reports done, ask: "While working on this, which decisions did you make that you're not confident of? List all." — but treat the self-report as a starting point, not the boundary: agents under-report. Trace the history yourself — the session's steps, subagent reports, diffs, commits — and collect every decision that is in the work but not in the original spec or prompt. Sweep the architectural categories, not just the suspect fixes: data shapes and formats, storage and naming schemes, API contracts and their error behavior, dependencies added, concurrency/perf tradeoffs, scope interpretations, patterns future code will imitate. Auditing your own session, trace your own steps the same way. Decisions the plan explicitly delegated to the implementer are discretion, not audit items.

  2. Triage each decision on evidence. Forced by the plan, or invented? Invented ones get the scrutiny: is this the general solution, or a fix shaped to the one failing case? Verdict per decision: sound, unsound, or needs-user — and alongside the verdict, a confidence: how sure the audit is that the user would have made this same call. Confidence is what ranks the report. Reserve needs-user for genuinely user-only calls (taste, product direction, external cost); every needs-user entry records a recommended provisional call that is reversible, so an unsupervised caller can proceed without waiting. The audit never stalls a run: each entry is a judgment handed over for action or review, not a question that halts.

  3. State the corrected decision, don't sketch a patch. For each unsound decision, the entry names the corrected one the work should be redone from — the property that must hold in general — not an edit to layer on top. A patch on top of a bad decision preserves the decision; the redo itself is the caller's, after the ledger is reviewed.

  4. Bank every decision in the ledger (below), and promote load-bearing sound ones into the plan's handoff so later passes inherit them as givens instead of re-deciding.

  5. Present the ledger: grouped by verdict, ranked by confidence. The audit's deliverable is the ledger, handed to whoever acts next — the calling workflow mid-run, the user at run's end. Each verdict group maps to an action — needs-user (decide, with the provisional calls), unsound (redo, with the corrected decisions), sound (acknowledge: the architecture the user now owns) — and within each group decisions are ranked by confidence, least confident first. When the ledger is long, open the report with the two or three least-confident decisions overall, whatever their group: the "review these first" line. Sound is not skippable. Only trivial discretion (internal naming, cosmetic calls) compresses to a one-line count.

    Write every entry ELI5 — by default, not on request. The reader didn't live the session: write each entry in the eli5 register — a concrete scenario walked end to end (the triggering event, what the work does today, what the unbuilt alternative would do), every term of art defined at first use, and pseudocode at the level of the decision when it is about control flow, ordering, or timing. "A gated ask is dropped, not deferred" is a headline, not an entry. A compressed entry that makes the user ask "explain this one" has failed; the ledger must stand alone without the diff, the spec, or the transcript.

The Decisions Ledger

A dedicated file that outlives every pass: decisions.md beside the plan (specs/<feature>/decisions.md when a spec owns the work). One entry per audited decision:

  • When — pass or commit it landed in.
  • The decision — a one-line headline, then the ELI5 scenario: the triggering event, what the work does today, what the unbuilt alternative would do, with terms of art defined in place.
  • The gap — what the plan left unspecified that forced it.
  • The reach — what future work this decision constrains or enables; why the user needs to know it exists.
  • Verdict — sound / unsound / needs-user, with a one-line why. For unsound: the corrected decision to redo from. For needs-user: the recommended provisional call and how to reverse it.
  • Confidence — how sure the audit is that the user would have made the same call (low / medium / high). Ranks the report, ascending.

Rules of the ledger:

  • Banked is settled: a decision already in the ledger (or promoted into the plan) is a given for later passes — never re-listed, never re-decided.
  • The ledger is a plan-quality signal. Entries clustering around one slice or area mean the plan is foggy there — reslice or send that part back through the spec rather than triaging the same class of decision forever.
  • ELI5 survives every rewrite. The entry format above — headline plus the walked scenario with terms defined in place — is the storage format, not presentation polish. When entries are consolidated, merged, re-audited at close, or copied into a final ledger, each surviving entry keeps (or regains) its full scenario. The known failure mode is exactly this compression: a closeout rewrite that shrinks banked entries to their headlines produces a ledger the reader must interrogate — "The checkpoint loads rows in mailbox order and rejects the list when a later reference has an earlier createdAt" reads as settled, but only the walked version (two sessions, per-session sequence numbers that can't be compared, the shared insert-timestamp clock) lets a reader actually judge the decision. A consolidation that drops scenarios has failed even if every fact survives — and so has one that keeps the scenario but leans on labels the build invented ("the retry envelope", "the evidence seam") without defining them where they're used.

Rules

  • "It works" is not a verdict on the decision. The recurring smell is the coincidental fix: a resized buffer, bumped timeout, or special case whose magnitude happens to cover the failing input while the underlying cause stays dormant. Ask what property guarantees the fix in general; if the answer is "this case passes," the decision is unsound even though the code is green.
  • Declared success is the point of maximum risk — the implementer's confidence is highest exactly when its unexamined decisions are about to be merged. Never skip the audit because the result looks clean.
  • An empty list on nontrivial work is a red flag, not a pass. Probe: what did the task leave unspecified? Something filled those gaps.
  • The audit changes no code, tests, or build state. Finding an unsound decision is the deliverable, not a license to fix it — record the corrected decision and leave the tree exactly as audited, so the ledger and the tree agree on what the caller is deciding about. Evidence-gathering is fair game: read anything, run the existing tests, write transient probes — but remove every probe before handback.

Done

The audit is done when every invented decision in the pass has a ledger entry with a verdict, every unsound entry names the corrected decision to redo from, every needs-user entry carries a reversible provisional call, and the ledger has been presented — grouped by verdict, least-confident-first within each group, every entry readable ELI5 without follow-up questions — to whoever acts next, with the tree untouched. A handback that shows the diff instead of the decisions, or a "fix" applied during the audit, is not done.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

audit-agents

無料概要あり

AGENTS.mdを行ごとに見直し、長く役立つ原則だけを残すための監査を行います。依頼された場合に限り、書き換えにも対応します。

  • AGENTS.mdの内容を監査したいとき
  • 一時的な指示と原則を整理したいとき
  • 重複や古いルールを見つけたいとき
dzhng/skills1,3882026年10月28日 更新

audit-performance

無料概要あり

処理が際限なく増える箇所や進展のない再試行を調べ、発生条件と影響を具体的に評価して、修正の優先順位を付けるスキルです。

  • フリーズやメモリ不足の原因を調べたいとき
  • 再試行が前進するか確認したいとき
  • 性能改善の優先順位を決めたいとき
dzhng/skills1,3882026年10月28日 更新

audit-tests

無料概要あり

テストを減らすこと自体ではなく、各テストが独立した不具合検出に役立つか、どのテスト群が契約を担うべきかを根拠とともに監査します。

  • テスト群の重複を監査したいとき
  • 各テストが検出する不具合を確かめたいとき
  • 契約を担うテスト群を整理したいとき
dzhng/skills1,3882026年10月28日 更新

auto-research

無料概要あり

コードやプロンプト、設定などを小さな仮説検証で改善し、条件ごとの効果や最良候補を記録して次の実験につなげるスキルです。

  • 評価基準に沿ってプロンプトを調整したいとき
  • 設定変更の効果をベンチマークで比べたいとき
  • 長期調査の仮説と試行を管理したいとき
dzhng/skills1,3882026年10月28日 更新

cinematic-shot

無料概要あり

アプリの実際の画面を、黒い空間に浮かぶ映画のような映像に仕立てます。カメラ、ピント、光、編集を組み立て、操作場面を印象的に見せます。

  • 製品のローンチ動画を作りたいとき
  • アプリの機能紹介映像を作りたいとき
  • UIの見せ場をショットに分けたいとき
dzhng/skills1,3882026年10月28日 更新

claude

無料概要あり

依頼者が明示したときにClaude Codeを独立したサブエージェントとして呼び出し、限定した作業を委任したり、別の視点からレビューを得たりするスキルです。

  • Claudeにコードレビューを頼みたいとき
  • Claudeに範囲を決めた作業を委任したいとき
  • Claudeのモデルや思考レベルを指定したいとき
dzhng/skills1,3882026年10月28日 更新

dzhng のスキルをすべて見る

このスキルの問題を報告する