Quality Gatesのロゴ

Quality Gates

コミュニティ
cubetribe
quality-gates

@builderの後に実施する、証拠に応じて検証ゲートを適用するモデルです。決定論的なフックは常に実行し、スプリントでux_gate: autoが宣言されている場合に限り@testerを実行します。セキュリティに関わる箇所では@securityを、リスクや疑念がある場合は/code-reviewを実行します。

Add to TypingMind

概要

公開者cubetribe
リポジトリClaudeCode_GodMode-On
スキル名quality-gates
スター
54
フォーク
10
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Quality Gates (Verification Matches the Evidence)

After @builder completes, "checks" means, per Core Rule 5:

  1. Deterministic checks — always. Typecheck, lint, tests, build, run by hook. A compiler result is a fact, not a second opinion, and it costs no context when it passes.
  2. UX gate — when the sprint declared ux_gate: auto. @tester.
  3. Security gate — on security surfaces. @security (auth code, secrets handling, .github/workflows/).
  4. Review pass — on risk or doubt. Pull the /code-review skill. No standing agent re-reads the same diff.

Whichever of 2–4 apply run in PARALLEL:

  • All APPROVED -> continue to @scribe
  • Any BLOCKED -> back to @builder with merged feedback

Execution Pattern

                    @builder completes
                           │
                 ┌─────────┴──────────┐
                 ▼                    ▼
        ┌─────────────────┐   (parallel, only if applicable)
        │ Deterministic    │   ┌──────────┐ ┌───────────┐ ┌──────────────┐
        │ hook (always)    │   │ @tester  │ │ @security │ │ /code-review │
        │ typecheck/lint/  │   │ if       │ │ if        │ │ if risk or   │
        │ tests/build      │   │ ux_gate: │ │ security  │ │ doubt        │
        │ 0 bytes on pass  │   │ auto     │ │ surface   │ │              │
        └────────┬─────────┘   └────┬─────┘ └─────┬─────┘ └──────┬───────┘
                 │                  │              │               │
                 └──────────────────┴──────────────┴───────────────┘
                                     SYNC POINT
                                         │
                              Apply Decision Matrix

Decision Matrix

Every gate that ran for this sprint MUST report before the matrix applies:

Deterministic hook@tester (if run)@security (if run)/code-review (if run)NEXT ACTION
PASSAPPROVED/skipAPPROVED/skipAPPROVED/skipPROCEED to @scribe
FAIL———RETURN to @builder with hook output
PASSBLOCKEDanyanyRETURN to @builder (with @tester feedback)
PASSanyBLOCKEDanyRETURN to @builder (with @security feedback)
PASSanyanyBLOCKEDRETURN to @builder (with review feedback)
PASSmultiple BLOCKEDRETURN to @builder with MERGED feedback

Rules:

  • You MUST wait for every gate that applies to this sprint before deciding.
  • @scribe can ONLY be called when every gate that ran is APPROVED (or the hook passed and no other gate applied).
  • If ANY gate is BLOCKED → back to @builder with specific feedback.
  • Escalation follows docs/orchestrator/META-DECISIONS.md's Tier 1 self-resolution: max 2 attempts, same agent, same scope, before Tier 2 (orchestrator resolution).

Deterministic Hook (Always)

CheckToolBlocking?
TypeScript / language compilationnpx tsc --noEmit (or project equivalent)YES
Unit tests passnpm test (or project equivalent)YES
Build succeedsproject build commandYES
Code style / lintingnpm run lintNO (warning only)

Runs via hook, not a subagent — a compiler or test runner result is a fact, not a second opinion. Emits 0 bytes of context on success; output only on failure. Project-detection is required: the hook must recognize what kind of project it is running in (Node/TS, Swift, Flutter, other) and pass through cleanly on unknown project types instead of blocking.

@tester Gate (when ux_gate: auto)

Runs only when the sprint frontmatter declares ux_gate: auto (see docs/templates/SPRINT_TEMPLATE.md). Default is human; skip when the write scope has no UI paths. If the playwright MCP is unreachable, the sprint falls back to human and logs it — it does not block.

CheckToolBlocking?
E2E tests passPlaywright MCPYES
Screenshots at 3 viewportsPlaywright MCPYES
Console errors capturedBrowser consoleYES (errors only)
WCAG 2.1 AA compliancea11y checksYES
Core Web VitalsLCP, CLS, INP, FCPNO (warning if poor)

Screenshot viewports: 375×667 (mobile), 768×1024 (tablet), 1920×1080 (desktop).

Minimum output: 800 characters Required sections: Summary, Screenshots Table, Console Errors, Performance Metrics, Verdict

@security Gate (on security surfaces)

Runs on auth code, secrets handling, .github/workflows/, and other security-sensitive surfaces flagged by the sprint's risk signals. Opens evidence @builder did not have (threat-modeling read of the diff), so it stays a model pass, not a hook.

Review Pass (/code-review, on risk or doubt)

Pulled on demand when risk or doubt about code judgment warrants a second read of the diff — never as a standing agent. This is the replacement for the judgment portion of the former @validator: a compiler is a fact, but naming, structure, and maintainability calls need a model pass, invoked only when it is worth the cost.

Judgment-class decisions (architecture choice between valid alternatives, design taste, malformed-request suspicion) remain mandatory human escalations regardless of how many of the gates above pass — see docs/orchestrator/QUALITY-GATES.md for the full decision matrix. Unanimous agreement among same-tier agents on a judgment question is correlated evidence, not independent evidence, and does not waive the human escalation.

Fail-Safe (Graceful Degradation)

If a gate agent crashes (MCP failure, timeout):

  1. Full Report — Normal operation, all checks pass
  2. Partial Report — Some checks completed, others failed/timed out
  3. Failure Report — Agent crashed, structured error output

Failure report includes: error type, suggested action (retry/escalate/skip), completion percentage.

Agent Return Contract

Each agent that ran writes a full report to reports/vX.Y.Z/sprint-NN/<NN>-<agent>-report.md (canonical numbering: docs/templates/REPORT_TEMPLATES.md) if it holds Write; read-only agents return their verdict and whoever dispatched them persists it. The return message to the Orchestrator is the structured verdict only — separate from the on-disk report.

STATUS: APPROVED | BLOCKED | DONE
- finding 1 (one line max)
- finding 2
- finding 3
report: <absolute path to full report>

Important: scripts/validate-agent-output.js enforces min-length on the file, not the return message, for agents that still hold Write. This contract does not change validation behavior.


CC_GodMode — © 2025–2026 Dennis Westermann (dennis-westermann.de). Proprietary — not open source. Free for private, non-commercial use; redistribution or re-hosting outside GitHub is prohibited; attribution required. Official source: github.com/cubetribe/ClaudeCode_GodMode-On. See LICENSE.

よくある質問

AIスキル「Quality Gates」では何ができますか?

@builderの後に実施する、証拠に応じて検証ゲートを適用するモデルです。決定論的なフックは常に実行し、スプリントでux_gate: autoが宣言されている場合に限り@testerを実行します。セキュリティに関わる箇所では@securityを、リスクや疑念がある場合は/code-reviewを実行します。

TypingMindでQuality Gatesを使うメリットは何ですか?

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

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

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

Quality Gatesを使えるAIモデルはどれですか?

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

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

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

AIスキル「Quality Gates」は無料ですか?

cubetribeがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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