Borrowing it
Nothing to install: this file belongs to Kewton/CommandMate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Kewton/CommandMate/main/.claude/commands/uat.mdgit clone --depth 1 https://github.com/Kewton/CommandMateWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/kewton/commandmate/uat)<a href="https://agentmods.dev/commands/kewton/commandmate/uat"><img src="https://agentmods.dev/badge/commands/kewton/commandmate/uat/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/kewton/commandmate/uat"><img src="https://agentmods.dev/badge/commands/kewton/commandmate/uat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.05086 |
| Opus 5.5 | $0.00010 | $0.02034 |
| Sonnet 5.5 | $0.00005 | $0.01017 |
| Haiku 4.5 | $0.00002 | $0.00509 |
Grade B, and why
uat scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
`CM_DB_PATH` が run の下でない・codex の共有ファイルや `~/.gemini/config/hooks.json` が変わった など)を報告し、**ポートだけを見て止めない** Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
for i in $(seq 1 90); do curl -fsS -m 5 -o /dev/null http://127.0.0.1:{UAT_PORT}/api/worktrees && break; sleep 1; done How it starts
The opening of the file, as written. The whole thing — 476 lines — stays where its author put it; the contents beside it link to each section on GitHub.
実機受入テスト(UAT)コマンド
概要
Issueの受入条件に基づき、実機環境での受入テスト(User Acceptance Test)を計画・レビュー・実行・報告する自動化コマンドです。テスト環境のセットアップから停止まで一貫して実行します。
使用方法
/uat [Issue番号]
/uat [Issue番号] --repo /path/to/test/repo
例:
/uat 518
/uat 518 --repo /Users/user/projects/test-repo
実行内容
あなたはQAエンジニアとして、実機での受入テストを統括します。以下のフェーズを順次実行し、各フェーズの完了を確認しながら進めてください。
パラメータ
- issue_number: テスト対象のIssue番号(必須)
- --repo: テストに使用するリポジトリパス(任意。コマンドによってはユーザーに確認)
実行フェーズ
Phase 0: 初期設定
0-1. TodoWriteで作業計画作成
- [ ] Phase 1: テスト計画立案
- [ ] Phase 2: テスト計画レビュー(1回目)
- [ ] Phase 3: レビュー指摘対応
- [ ] Phase 4: テスト計画レビュー(2回目)
- [ ] Phase 5: テスト環境セットアップ
- [ ] Phase 6: 実機受入テスト実行
- [ ] Phase 7: テスト報告書作成
- [ ] Phase 8: テスト環境停止
0-2. ディレクトリ構造作成
mkdir -p dev-reports/issue/{issue_number}/uat
0-3. Issue情報取得
gh issue view {issue_number} --json number,title,body
Phase 1: テスト計画立案
1-1. Issueの受入条件を抽出
Issue本文から以下を抽出:
- 受入条件 (
## 受入条件/## 受け入れ条件/## Acceptance Criteriaセクション) - 実装対象 (
## 実装対象/## 実装対象コマンドセクション) - 共通仕様 (
## 共通仕様セクション) - 技術的な注意点 (
## 技術的な注意点セクション)
1-2. 実装ファイルの確認
Issueで変更・追加されたファイルを特定し、テスト対象の機能を把握する。 必要に応じてコードを読み、テスト可能な動作を特定する。
1-3. テスト計画書の作成
ファイルパス: dev-reports/issue/{issue_number}/uat/test-plan.md
以下の観点でテストケースを設計する:
- 正常系テスト: 各機能が仕様通りに動作すること
- 異常系テスト: エラー時に適切なメッセージと終了コードが返ること
- オプション・フラグテスト: 各オプションが正しく機能すること
- 統合テスト: 複数機能の連携が正しく動作すること
- 既存機能への影響確認: 既存機能が壊れていないこと
テスト計画書の形式:
# Issue #{issue_number} 実機受入テスト計画
## テスト概要
- Issue: #{issue_number} {title}
- テスト日: {date}
- テスト環境: CommandMate サーバー (localhost:{port})
## 前提条件
- テストに必要なリポジトリ/データ
- 環境変数設定
## テストケース一覧
### TC-001: {テスト名}
- **テスト内容**: {何を確認するか}
- **前提条件**: {テスト実行前に必要な状態}
- **実行手順**: {具体的なコマンドまたは操作}
- **期待結果**: {正常時の出力・終了コード}
- **確認観点**: {Issueのどの受入条件に対応するか}
### TC-002: ...
1-4. 不明点の確認
テスト計画作成中に以下の不明点がある場合、AskUserQuestion ツールでユーザーに確認する:
- テストに使用するリポジトリパス(
--repo未指定時) - テストデータの準備方法
- テスト対象外とすべき項目
- 実機でのテストが困難な項目の代替手段
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 21d ago Changed · +17 lines scan A → B 9fad845df079
- 23d ago Changed · +18 lines 2ba27dede0e7
- 1mo ago Changed · +2 lines dcf5b97db86d
- 1mo ago First seen · 439 lines · 24 tokens per session scan A 7586dad8df8d
uat is a command published in the GitHub repository Kewton/CommandMate (44 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 5,086 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
test-feature
Test a React Native feature on the running simulator/emulator. Verifies UI, user flows, and internal state. Generates a persistent Maestro test file.
ux-grill
Use when a running web app's UX has to be audited reproducibly rather than by feel — a deterministic mechanical pass over routes and viewports (axe, target size, horizontal overflow, page title, scripted journeys) followed by a screenshot-grounded interrogation of the operator, journey by journey, with two persona…
test-audit
Use when writing, reviewing, or pruning tests. Three modes, one value bar: a four-question gate before any new test is written, a focused audit of one scope, and a campaign over a whole repo or subsystem that removes the least useful tests under a coverage guard. Every delete, merge, or repair carries written evidence…
bug
Reproduce then TDD-fix a ready-for-agent bug ticket in this checkout. Web bugs get a browser repro first.
tests
Test coverage quality analysis — behavioral coverage, critical gap identification, test resilience evaluation.
aitask-run-gates
Run a task's declared gates — the conversational front of the headless gate orchestrator engine. Dispatches unlocked machine-gate verifiers within their retry budgets, observes human gates without self-signalling, and reports.