本文へスキップ
Skillpedia
エージェント48k · #3669

agent-qa-authoring

できること

このツールは、AIエージェントのテストを作成・管理するためのものです。テストが正しいルールに従って書かれているかを確認し、信頼性高く実行できるようにします。

使う場面

  • ✓AIエージェントの新しいテストを作成するとき。
  • ✓既存のテストを修正するとき。
  • ✓テストを実行する前に、正しく書けているかを確認するとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-qa-authoring/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-qa-authoring/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“AIエージェントが「こんにちは」という挨拶に正しく応答するかを確認するテストを作成してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、一連のルールや参照情報を使って、テストが正しく作成されるようにします。保存や実行の前に、必要な項目がすべて揃っているか、識別子(ID)が重複していないかを確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Agent QA Authoring

Overview

Author Agent QA tests, suites, and hooks without inventing schema fields or identifiers. Prefer Agent QA's MCP tools, use the bundled contract reference for exact fields, and validate every definition before saving or running it.

When to Use

  • Creating or editing an Agent QA test, suite, or hook.
  • Validating Agent QA YAML or canonical IDs.
  • Running a newly authored Agent QA definition through MCP or CLI.
  • Investigating which Agent QA configuration fields or workspace patterns apply.

Preconditions and Approval Boundary

  • Work only in a configured Agent QA workspace that the user has authorized.
  • Inspect the requested scope before any create, update, delete, or test-run operation.
  • Obtain explicit confirmation before deleting a definition or running a test that can change external application state.
  • Keep credentials out of definitions and output; use the workspace's configured secret handling.

Workflow

  1. Discover the local surface with agent_qa_discover.
  2. Inspect active config with agent_qa_get_config, especially targets, devices, providers, and services.mcp.
  3. Load references/agent-qa-contracts.json when exact schema fields or ID contracts are needed.
  4. Generate every new ID with Agent QA tooling:
    • MCP: agent_qa_generate_id
    • CLI fallback: agent-qa ids generate <test|suite|hook|run|observation>
    • If neither surface is already installed, stop and ask the user to approve an exact Agent QA installation. Do not fetch and execute the package at runtime through npx or another moving package reference.
  5. Never hand-write IDs. Validate existing IDs with agent_qa_validate_id or agent-qa ids validate <type> <id> --json.
  6. Validate definitions before saving:
    • Tests: agent_qa_validate_test or agent_qa_validate_definition with kind: "test"
    • Suites: agent_qa_validate_suite or agent_qa_validate_definition with kind: "suite"
    • Hooks: agent_qa_validate_definition with kind: "hooks"
  7. Prefer MCP authoring mutations:
    • Tests: agent_qa_create_test, agent_qa_update_test, agent_qa_delete_test
    • Suites: agent_qa_create_suite, agent_qa_update_suite, agent_qa_delete_suite
    • Hooks: agent_qa_create_hook, agent_qa_update_hook, agent_qa_delete_hook
  8. Use CLI or YAML fallback only when MCP is unavailable. Keep file paths matched by workspace.testMatch or workspace.suiteMatch.

Required ID Contracts

  • Test IDs: t_ plus 10 id-agent words.
  • Suite IDs: s_ plus 10 id-agent words.
  • Hook IDs: h_ plus 10 id-agent words.
  • Run IDs: r_ plus 10 id-agent words.
  • Observation IDs: obs_ plus 10 id-agent words.

Before Running

  • Validate YAML first.
  • Prefer agent_qa_enqueue_test_run and agent_qa_enqueue_suite_run over shelling out.
  • If using the CLI fallback, run only after validation succeeds.
  • Reconfirm the target and environment when a test may mutate real data or trigger external actions.

Example

User: Add an Agent QA checkout test for the staging target and validate it, but do not run it yet.

Expected handling: discover the workspace, inspect the staging target, generate the test ID,
create the smallest valid definition, validate it, and stop before enqueueing a run.

Limitations

  • Requires an installed and configured Agent QA workspace plus any browser, mobile, model-provider, or application dependencies used by the selected target.
  • Does not infer undocumented config keys, selectors, UI states, credentials, or test data.
  • MCP availability and permissions vary by workspace; state which CLI or YAML fallback was used.
  • Validation proves schema compatibility, not that the application behavior or external environment is safe to exercise.

Do Not

  • Do not invent config keys or use legacy root config buckets.
  • Do not hand-write IDs.
  • Do not mutate files outside configured workspace patterns.
  • Do not run destructive or production-facing scenarios without the user's explicit scope and confirmation.
よくある質問

「Agent QAのテスト、スイート、フック」とは何ですか?

AIエージェントが期待どおりに動作するかを確認するために作成できる、異なる種類のチェックのことです。テストは個別の機能を確認し、スイートは複数のテストをまとめたものです。フックは、テストの前後に実行される処理を指します。

IDを手動で書いてはいけないのはなぜですか?

IDを手で入力すると、ミスや重複が起きやすくなるためです。このツールは一意で正しいIDを自動で生成し、そうした問題を防ぎます。

実際のデータを変更する可能性があるテストを実行しようとするとどうなりますか?

実データを変更したり外部システムに影響を与えたりする可能性がある場合、実行前にツールが明示的な確認を求めます。内容を理解したうえで同意していただくための仕組みです。

詳細

作者による元の説明

Create, edit, validate, and run Agent QA tests, suites, and hooks through MCP or CLI while preserving canonical IDs and schema contracts.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#3669
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル