Verification Before Completionのロゴ

Verification Before Completion

組織
MadAppGang
verification-before-completion

Use when claiming task completion or marking items as done. Covers completion evidence requirements, verification methods, and anti-rationalization patterns.

概要

公開者MadAppGang
リポジトリclaude-code
スキル名verification-before-completion
スター
281
フォーク
26
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MadAppGang/claude-code.git /tmp/claude-code
mkdir -p .claude/skills
cp -r /tmp/claude-code/plugins/dev/skills/discipline/verification-before-completion .claude/skills/verification-before-completion
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にVerification Before Completionを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Verification Before Completion

Iron Law: "NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE"

When to Use

This skill applies whenever you:

  • Mark a todo item as complete
  • Claim a bug is fixed
  • Report a feature is ready
  • State implementation is done
  • Close a task or issue
  • Prepare to commit changes

Red Flags (Violation Indicators)

  • "should be done" / "should work now" (assumed completion)
  • "probably works" / "likely fixed" (uncertainty without verification)
  • "seems to work" / "appears correct" (observation without test)
  • "Great!" / "Perfect!" / "All set!" (celebration without evidence)
  • "I already tested this earlier" (stale evidence)
  • Completion claim without test output shown
  • Completion claim without grep verification for file changes
  • Completion claim without screenshot for UI changes
  • Completion claim without git diff for code changes
  • Completion claim without build logs for configuration changes
  • Completion claim without CI link for deployment changes
  • "Just a small change, no need to verify" (size-based rationalization)

Key Concepts

Fresh Verification Principle

Verification must be fresh (performed after the claimed change) and explicit (evidence shown, not described).

Wrong:

Fixed the login bug in auth.ts. Should be working now.

Correct:

Fixed the login bug in auth.ts line 42:

git diff src/auth.ts:
-  if (user.token == null) {
+  if (user.token === undefined || user.token === null) {

Test output:
✓ should reject undefined token (15ms)
✓ should reject null token (12ms)
✓ should accept valid token (8ms)

Evidence Types by Change Type

Change TypeRequired EvidenceTool/Method
Logic/algorithmTest output showing passbun test, pytest, go test
File creationGrep verification or ls outputgrep -r "pattern" . or ls -la path/
UI/stylingScreenshot or videoBrowser DevTools screenshot
ConfigurationBuild logs showing successnpm run build, cargo build
DeploymentCI link or deployment logsGitHub Actions URL, kubectl logs
API changesAPI test output or curl resultcurl -X POST ...
Data migrationRow count or sample querySELECT COUNT(*) FROM ...
Performance fixBenchmark comparison (before/after)hyperfine, go test -bench

Enforcement Mechanism

Tasks Integration

When marking a todo as completed:

  1. BEFORE changing status to completed, gather fresh evidence
  2. IN THE SAME MESSAGE that marks it complete, show the evidence
  3. NEVER mark complete in one message, then show evidence later

Violation Pattern:

Message 1: "Fixed the validator. Marking todo complete."
Message 2: "Here's the test output..."

Correct Pattern:

Message 1:
"Fixed the validator. Test output:
✓ should validate email (5ms)
✓ should reject invalid format (3ms)

Marking todo complete."

Rationalization Detection

Common rationalizations and their counters:

RationalizationCounter
"It's a trivial change"Trivial = fast to verify, not skip
"I tested this before"Code changed since then, verify again
"Same pattern as working code"Different context = different bugs
"Just fixing a typo"Typos can break builds, verify
"Only changed comments"Comments can break doc generation
"Can't test without production data"Use test fixtures or staging environment

Examples

Example 1: React Component Fix (TypeScript)

Scenario: Fixed useState initialization bug

Wrong Completion:

Fixed the counter initialization bug. Should be good now!

Correct Completion:

Fixed the counter initialization bug in Counter.tsx line 8:

git diff:
-  const [count, setCount] = useState();
+  const [count, setCount] = useState<number>(0);

Test output:
 PASS  src/Counter.test.tsx
   Counter component
     ✓ renders with initial value 0 (23ms)
     ✓ increments on button click (15ms)

Build check:
✓ Type checking passed (1.2s)
✓ No lint errors

Example 2: Python API Endpoint (FastAPI)

Scenario: Fixed validation error in POST /users

Wrong Completion:

Added email validation to the users endpoint. Tested locally, works fine.

Correct Completion:

Added email validation to the users endpoint in api/users.py line 45:

git diff:
 @app.post("/users")
 def create_user(user: UserCreate):
+    if not re.match(r"[^@]+@[^@]+\.[^@]+", user.email):
+        raise HTTPException(400, "Invalid email format")
     return db.create_user(user)

Test output:
test_create_user.py::test_valid_email PASSED
test_create_user.py::test_invalid_email_rejected PASSED
test_create_user.py::test_missing_at_sign PASSED

Manual curl test:
$ curl -X POST http://localhost:8000/users -d '{"email":"invalid"}'
{"detail":"Invalid email format"}

Example 3: Go Configuration Change

Scenario: Updated Docker build configuration

Wrong Completion:

Updated the Dockerfile to use Go 1.22. Build should work now.

Correct Completion:

Updated the Dockerfile to use Go 1.22:

git diff:
-FROM golang:1.21-alpine
+FROM golang:1.22-alpine

Build verification:
$ docker build -t myapp:test .
[+] Building 45.3s (12/12) FINISHED
 => [internal] load build definition from Dockerfile
 => => transferring dockerfile: 234B
 => [1/6] FROM golang:1.22-alpine
 => [2/6] WORKDIR /app
 => [3/6] COPY go.mod go.sum ./
 => [4/6] RUN go mod download
 => [5/6] COPY . .
 => [6/6] RUN go build -o /app/server
 => exporting to image
 => => writing image sha256:abc123...

Run verification:
$ docker run myapp:test --version
v1.0.0 (go1.22.0)

Integration with Other Skills

  • test-driven-development: TDD provides the tests you'll use as verification evidence
  • systematic-debugging: Debug process ends with fix verification (this skill)
  • agent-coordination-discipline: Agents must return verification evidence, not just claims
  • quality-gates: Quality gate checks are verification evidence types

Quick Reference

Before marking ANY task complete:

  1. ✅ Run relevant tests → capture output
  2. ✅ Check file changes → show git diff or grep
  3. ✅ Verify build → show build logs
  4. ✅ For UI changes → take screenshot
  5. ✅ For deployments → link CI run
  6. ✅ Show evidence in completion message
  7. ✅ Only then mark todo as completed

Remember: If you can't show fresh evidence, the task isn't complete yet.

よくある質問

AIスキル「Verification Before Completion」では何ができますか?

Use when claiming task completion or marking items as done. Covers completion evidence requirements, verification methods, and anti-rationalization patterns.

TypingMindでVerification Before Completionを使うメリットは何ですか?

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

TypingMindにVerification Before Completionをインストールするにはどうすればよいですか?

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

Verification Before Completionを使えるAIモデルはどれですか?

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

Verification Before Completionで使えるAIモデルの数に制限はありますか?

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

AIスキル「Verification Before Completion」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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