Battle Testのロゴ

Battle Test

コミュニティ
wolverin0
battle-test

Run a fail-closed end-to-end project hardening cycle: static audit, exhaustive real-browser validation, semantic screenshot review, multi-role/security/visual-regression probes, isolated remediation, and re-verification. Use when the user asks to battle-test or prove production readiness. Default is the full cycle; --quick runs a clearly weaker smoke/readiness check and can never emit a battle-tested verdict. Main integration requires --push-main; deployment is never automatic. --ux curates only UX/UI and ends with its own verdict (UX SCOPE VERIFIED or UX SCOPE FAILED), never battle-tested.

概要

公開者wolverin0
リポジトリclaude-skills
スキル名battle-test
スター
41
フォーク
1
同梱ファイル
5
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Battle Test

/battle-test [project-path-or-name] runs the full quality loop end-to-end and produces one report: diagnose → runtime-verify → harden → re-verify. It does not reimplement those capabilities — it conducts four existing skills (audit-orchestrator, validation, visual-route-sweep, quality-loop; --quick adds vibe-to-prod) and gates between them.

/battle-test                 # current project
/battle-test ../crm          # a specific project path
/battle-test --resume        # continue a paused run
/battle-test --audit-only    # stop after diagnose (no fixes)
/battle-test --quick         # vibe-to-prod + validation smoke; no "battle-tested" verdict
/battle-test --push-main     # explicitly authorize integration after all gates pass
/battle-test --ux            # curate only UX/UI: own verdict, no integration (combine only with --resume)

What it conducts (each is a separately-proven skill)

StageSkillProduces / signal to read
1. Diagnoseaudit-orchestrator (the /audit pipeline)<repo>/audit-report.md + AUDIT VERDICT block + [AUDIT COMPLETE: ...] token
2. Baseline verifyvalidation --full (runs its own route/theme/viewport matrix, not that of $visual-route-sweep, then adds multi-role, element/modal/CRUD, security, and visual baseline checks)assert-coverage.js and certify-validation.js both exit 0; state has completed, coverageComplete:true, zero unaccounted, and clean health/multi-role/security/visual signals
3. Hardenquality-loopcommits on loop/<project>; TRACKS.md AUTO/GATED
4. Re-verify$visual-route-sweep on the candidate build + validation compare + targeted audit re-checkcurrent-build route matrix, re-run state, and visual-regression diff vs Stage-2 baseline
5. Reportthis skillone HTML artifact under <repo>/artifacts/

Load references/stages.md for the step-by-step of each stage, references/gates.md for how to read every signal and where the human decisions are, and references/report.md for the unified report. Run heavy stages as subagents (the audit pipeline already does) to keep this context lean.

UX mode (--ux)

Curates only the UX/UI of a project, with one human pause: choosing which changes go. Combine it only with --resume; refuse --push-main, --quick and --audit-only. It never integrates to main: it ends with commits on the loop branch. Record mode: ux in state so --resume restores it. Per-stage steps are in references/stages.md ("UX mode"), gates in references/gates.md, the verdict in references/report.md.

StageUX variant
0. PreflightSame worktree, app and roles; also keep ux-findings.json, test-manifest/, .battle-test/ and TRACKS.md out of git
1. Diagnoseproduct-ux-audit instead of audit-orchestrator (no /audit) → C01..Cn table → operator chooses → export
2. Baselinevisual-regression.js --update over ALL routes; no semantic review
3. Hardenquality-loop --staged --from-tracks in the same worktree, ux items only
4. Re-verifyFull build/test gate, full visual compare, validation --mode smoke on touched routes, each ac replayed in a browser, DESIGN.md
5. ReportVerdict UX SCOPE VERIFIED or UX SCOPE FAILED; never BATTLE-TESTED, never "ready"

The design skills (impeccable, ui-ux-pro-max, emil-design-eng, taste-skill) are not stages: an item may name one, only if it is installed. Findings that are not UX/UI are listed at the end of the report, not fixed.

Safety policy

  • Work in one isolated worktree pinned to the recorded source SHA. Audit, baseline app, fixes, and re-verification must identify their exact SHA/build; evidence from another checkout is invalid.
  • quality-loop works in that same worktree: hand it the worktree path and the recorded source SHA as its worktree and base (it skips its own setup).
  • Without --push-main, stop with proven commits on the loop branch. With --push-main, integrate only after the quality-loop gate and Stage-4 exhaustive re-validation both pass.
  • Deploy is never automatic. vercel --prod and equivalents are always a GATED operator item.
  • Minimal diffs, no rewrites, no scope creep (inherited from quality-loop).

Hard prerequisite (the one thing that needs a human)

Stages 2 and 4 drive a real browser against a running app. Before they can run you need:

  1. the app running at a URL (dev/preview server), and
  2. validation.config.json with roles[] + credentials supplied via env vars (never in files).

Stage 0 reconciles a code scan and runtime crawl into validation.config.json with routes, modals, flows, CRUD modules, backend API endpoints, roles, and inventoryComplete:true. If the URL, inventory, or credentials are missing, stop and ask rather than validating the login screen. Public-only apps skip roles.

Operator gates (the only times it pauses for you)

  1. Hard stops found (audit verdict 🛑/🔴) → ask: fix-first / proceed / stop.
  2. Missing running app or credentials → ask for the URL + creds, or queue as GATED.
  3. Push without --push-main, deploy, or platform actions → queue as GATED, never auto-run.
  4. --ux only: choose the changes (after product-ux-audit) → ask which compatible set or Cnn list goes; the rest is GATED. No question tool: write the decision as GATED and stop.

Everything else runs autonomously. A full run is multi-hour; it checkpoints after each stage and resumes with /battle-test --resume. Self-pace long waits with ScheduleWakeup.

Done

When AUTO hardening is drained and re-validation is green (or a budget is hit): write the unified report, integrate only when --push-main was supplied, list the remaining GATED queue, and stop. Never declare "battle-tested" while any Stage-4 re-validation is red or any critical security/authz finding is unresolved, coverage is incomplete, screenshots remain unreviewed, or the evidence SHA/build does not match the candidate commits. --ux never declares battle-tested: its end state is the UX verdict in references/gates.md.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Battle Test」では何ができますか?

Run a fail-closed end-to-end project hardening cycle: static audit, exhaustive real-browser validation, semantic screenshot review, multi-role/security/visual-regression probes, isolated remediation, and re-verification. Use when the user asks to battle-test or prove production readiness. Default is the full cycle; --quick runs a clearly weaker smoke/readiness check and can never emit a battle-tested verdict. Main integration requires --push-main; deployment is never automatic. --ux curates only UX/UI and ends with its own verdict (UX SCOPE VERIFIED or UX SCOPE FAILED), never battle-tested.

TypingMindでBattle Testを使うメリットは何ですか?

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

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

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

Battle Testを使えるAIモデルはどれですか?

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

Battle Testは何個のAIモデルで使えますか?

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

AIスキル「Battle Test」は無料ですか?

wolverin0がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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