Prove It Can Failのロゴ

Prove It Can Fail

コミュニティ
randommonicle
prove-it-can-fail

Every test, seed, verification script, CI gate, or check must demonstrably be able to fail when the thing it guards is broken. Ask of each check "what does this print if the thing is broken?" Triggers when writing or reviewing any test, smoke, seed, verification file, or CI job, when marking a test skipped, and when arming a new gate. Does not fire on triaging an already-red suite (mass-red-triage) or on how tests touch shared data (safe-smokes).

概要

公開者randommonicle
リポジトリclaude-skills
スキル名prove-it-can-fail
スター
27
フォーク
3
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    randommonicleがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Prove It Can Fail」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/randommonicle/claude-skills/tree/main/prove-it-can-fail
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/prove-it-can-fail .claude/skills/prove-it-can-fail
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでProve It Can Failを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にProve It Can Failを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Prove It Can Failは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Prove it can fail

A green board proves nothing unless every light on it can go red. This skill exists because nine-plus separate incidents produced green signals with no assertion behind them — including a statutory control that had never been asserted on any run, ever, and verification files that printed pass on any error. Layer: hub for test-and-check integrity (this is one of the six always-on norms; the norm line is the everyday trigger, this file is the playbook).

The question that does the work

For every check you write or review, ask: what does this output if the thing it guards is broken? If the honest answer is "still green", "a skip", or "nothing", the check is theatre. Answer it by demonstration where cheap: break the guarded thing once, watch the check go red, revert.

Rules

  1. A server reply is never a skip. Skips are for transport failures only — could not connect, no credentials. A catch-all catch { skip } hid both a never-passable gate test and a would-be-green total outage. A skipped regulated check is unverified, not green; say so in the run summary.
  2. Seeds get assertions. Fire-and-forget seeding let an RLS isolation test pass for the wrong reason (nothing was seeded, so nothing leaked). Assert the seed landed before asserting the behaviour.
  3. Negative assertions need a positive control. "User B sees nothing" is only meaningful next to "User A sees the row". Without the positive control, an empty database passes.
  4. Only the specific expected error proves a control fired. "It threw" is not "the gate caught it" — assert the error identity (a stable code, not the human-readable message).
  5. A check whose two operands share a source is theatre. A "reconciliation check" that compared a value against its own definition could never fail. Trace both operands to independent sources.
  6. Watch a newly-armed gate's first run to completion — a nightly-gated spec once merged having never executed. And after fixing a pipeline's first red step, watch the whole run go green: a second failure can be queued invisibly behind the first.
  7. Test every mutation shape the app performs against a guard — set, swap, and null are three different attacks; a guard proven against one is unproven against the others.
  8. Assert on the subject, not a document-wide pattern. A broad "no X anywhere in the output" assertion is a hidden dependency on everything else and breaks on innocent code.
  9. A passing test can encode the bug. When fixing a bug, check whether a green test pins the wrong behaviour — two tests once codified drop-this-content as correct.
  10. Assert that the subject actually ran. When a test drives an external script, binary or process, a bail before any work makes every negative assertion trivially true. A launcher suite once exited at a pre-flight path check and reported nine failures beside four VACUOUS PASSES — "does not start a turn" and "the stranger is left alone" are both true of a process that did nothing — so the green ones read as proof that the guards worked. Guard the premise: assert the subject reached the behaviour under test, and treat a bail as a harness fault reported once, not as N results. Related to rule 2, but the failure is one step earlier: there the fixture was missing, here the subject never started.

Mechanics note: a CI check that reads a snapshotted event payload (e.g. a PR body) cannot be re-run into a pass after the source is edited — close/reopen refreshes the payload.

Routes

  • Test, smoke, or seed touches a shared or live database → load safe-smokes before writing it.
  • A suite has gone broadly red and you are tempted to debug → load mass-red-triage first.
  • You are arming a deny-list, pattern gate, scanner or filter → load prove-it-can-pass as well. This skill proves the gate can refuse a violation; that one proves it lets real innocent input through and catches the violating forms nobody pictured. Six instances here were gates with green, hand-written suites.

What this skill does not do

It does not triage failures (mass-red-triage) and does not govern shared-data hygiene (safe-smokes). It governs whether a check is capable of telling you the truth.

Why

Green signals with no assertion behind them are worse than no check: they convert "unknown" into "verified" in every reader's head. Evidence: PropOS LESSONS_LEARNED 2026-07-14 (two entries), 2026-07-19 (two entries), 2026-07-15, Sessions 16, 18, 30, 33; ASH LESSONS_LEARNED 2026-06-09 and 2026-06-04.

Additions from the misses-log sweep (2026-10-22)

  • A reference frozen when written alarms on history. A monitor judges "new" by each item's own timestamp in a rolling window, never against a count captured when it was written. (AI domain L-092.)
  • A gate never compares against evidence a later step produces. Check, for each artefact a gate reads, that the run order creates it first. (passive income L-059.)
  • Restore a mutation by reverse edit or a copy, never by checkout. git checkout -- <file> after a red-proof also discards uncommitted work in that file and may rewrite its line endings. (AI domain L-145.)

Additions from the misses-log sweep (2026-11-01)

  • A rule is a list of patterns, and a can-fail proof on one alternative says nothing about the others. Every alternative of a pattern, every branch of an |, every member of a keyword list gets its own must-flag case, and a structural test asserts that each listed alternative has one. Breaking a single alternative and seeing one case red is the proof that was given and was wrong. (Library 44; enumerate-the-set is the general form.)
  • The mutation-restore rule covers any tree-wide checkout or reset, not one file. Rule at line 79 above names git checkout -- <file>; the same loss happens through git checkout -- ., git restore, git reset --hard, git stash and a branch switch, and it reaches work that has nothing to do with the mutation. (Library 44; Rimagent 2026-10-29, which recurred a week after line 79 landed.)
  • Commit the builder's work before mutation testing. The proof deliberately breaks something and then restores it, so run it from a committed tree. Uncommitted work has no reflog entry and no fsck --unreachable record once a hard reset has taken it.

よくある質問

AIスキル「Prove It Can Fail」では何ができますか?

Every test, seed, verification script, CI gate, or check must demonstrably be able to fail when the thing it guards is broken. Ask of each check "what does this print if the thing is broken?" Triggers when writing or reviewing any test, smoke, seed, verification file, or CI job, when marking a test skipped, and when arming a new gate. Does not fire on triaging an already-red suite (mass-red-triage) or on how tests touch shared data (safe-smokes).

TypingMindでProve It Can Failを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Prove It Can Failはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにProve It Can Failをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/randommonicle/claude-skills/tree/main/prove-it-can-failを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Prove It Can Failを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Prove It Can Failで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもProve It Can Failを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Prove It Can Fail」は無料ですか?

はい。randommonicleがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇