ワンクリックで
agenthub-testing
Focused AgentHub test planning for behavior changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Focused AgentHub test planning for behavior changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when a Team inbox, channel, thread, or human-visible message must be routed into a direct reply, thread reply, mailbox update, task note, or canonical Team task.
Use before editing Team system prompts, runtime prompt tails, prompt-linked skills, or prompt tests to keep prompts bounded, tool-neutral, and pointer-first.
ACP rendering fixes for Team web surfaces.
Backend-first diagnosis for stuck AgentHub agents.
Journal writing for rollout notes and validation evidence.
Canonical feature spec writing for stable contracts.
| name | agenthub-testing |
| description | Focused AgentHub test planning for behavior changes. |
Use this skill when a behavior change, bugfix, or CI failure needs the smallest useful test plan.
Follow the repo rule:
Do not merge a behavior fix with only "manual verification" if a focused automated test is practical.
Pick the smallest validation set that actually covers the changed behavior.
Examples:
vitest on acp_history_prefetch, use_team_actions, team_member_acp_panelvitest on the affected hook/panel/smoke testcargo test -p <crate> <test_name>cargo fmt --all --checkDo not default to the whole suite when one or two files can prove the change.
For non-trivial web/ changes, the default local validation target is:
cd web && npm run lint
cd web && npm exec tsc -- --noEmit
cd web && npm run build
Then add focused vitest files for the changed behavior.
When a PR goes red, distinguish:
Do not paper over an implementation regression by weakening the test unless the test is genuinely wrong.
Common files:
web/src/pages/team/use_team_actions.test.tsxweb/src/pages/team/use_team_member_acp_effects.test.tsxweb/src/pages/team_member_acp_panel.test.tsxweb/src/acp_panel.test.tsxweb/src/hooks/use_acp_conversation.interaction.test.tsxweb/src/pages/team_page.smoke.test.tsxUse these when the change affects:
Prefer:
cargo test -p <crate> <name>cargo check -p <crate>cargo fmt --all --checkIf the change touches DB schema or migrations, add or update a migration regression test.
If the change affects Rust crate boundaries or shared build targets, ensure the code remains Bazel-friendly, but keep local validation narrow unless the bug is specifically Bazel-related.
Use the real failing shape when possible:
If a bug comes from many booleans or state combinations, extract a pure helper and test the decision matrix directly.
For each fix, try to cover:
That usually means one positive and one negative assertion.
cd web && pnpm exec vitest run <focused test files...>
cd web && npm run lint
cd web && npm exec tsc -- --noEmit
cd web && npm run build
cargo test -p <crate> <focused test name> -- --nocapture
cargo fmt --all --check
When a PR already exists, after pushing: