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

agent-qa-debug-fix

できること

このエージェントは、失敗したプログラムのテストを修正します。ログやファイルといった失敗したテストの証拠を分析し、本当の不具合を隠さずに、問題を解決するための最小限のコード変更を行います。

使う場面

  • ✓プログラムのテストが失敗し、修正が必要なとき。
  • ✓ログやファイルから、テスト、プログラム、または実行環境にエラーがあることがわかるとき。
  • ✓すべてのテストを実行する前に、小さな修正が有効かどうかを確認したいとき。

スキルのリンク

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

AIへの頼み方の例

“ステージング環境で失敗したテストを、手元の情報を使って修正してください。”

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

仕組み

エージェントはまず、失敗したテストに関するすべての情報を集めます。次に、その情報を分析してエラーの原因を把握し、新たな問題を生まないように、コードや設定への変更を最小限に抑えて修正します。

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

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

Agent QA Debug Fix

Overview

Repair a failed Agent QA run from recorded evidence and the relevant local source. Treat the classifier as a hypothesis, make the smallest justified change, and verify the narrowest affected behavior without rewriting a test merely to conceal a real defect.

When to Use

  • A failed Agent QA run has already been triaged and now requires a code or YAML repair.
  • Artifacts and logs point to a test, hook, product, runtime, or agent-behavior defect.
  • A proposed fix must be verified with the narrowest Agent QA or unit-test rerun.
  • The user asks to self-heal or update a stale Agent QA definition from evidence.

Preconditions and Approval Boundary

  • Confirm the repository, workspace, target environment, and files the user authorizes you to modify.
  • Inspect the planned test's external side effects before rerunning it; obtain explicit confirmation for production-facing, destructive, or irreversible actions.
  • Preserve unrelated user changes and keep the patch limited to the evidenced failure.
  • Do not expose credentials or sensitive application data from artifacts and logs.

Workflow

  1. Start with evidence collection:
    • agent_qa_get_run
    • agent_qa_get_run_steps
    • agent_qa_get_run_artifact
    • agent_qa_get_run_logs
    • agent_qa_get_run_execution_logs
  2. Call agent_qa_classify_failure and treat its category as a hypothesis, not a verdict.
  3. Identify the failing surface: test definition, hook, application under test, runtime infrastructure, or agent behavior.
  4. Inspect the relevant local files directly. Do not infer patches from artifacts alone.
  5. Explain the evidence-to-change link, then apply the smallest code or YAML change that accounts for the evidence.
  6. Validate any changed Agent QA definition before execution.
  7. Re-run the narrowest affected Agent QA test, suite, hook, or unit test within the approved environment.
  8. Report the root cause, changed files, verification command or MCP action, result, and remaining risk.

Fix Rules

  • Do not invent selectors, screen states, screenshots, logs, or source files.
  • Do not rewrite a test merely to make it pass when the artifact shows a product or runtime defect.
  • Preserve canonical Agent QA IDs when editing tests, suites, hooks, or memory files.
  • Prefer agent_qa_validate_test, agent_qa_validate_suite, and agent_qa_validate_definition before rerunning edited YAML.
  • When MCP is unavailable, use dashboard REST APIs or local .agent-qa artifacts and state that MCP evidence was unavailable.
  • Stop and report the blocker when evidence cannot distinguish between materially different fixes.

Example

User: Fix the failed staging checkout run, but do not touch production.

Expected handling: collect the failed run evidence, classify it, inspect the implicated local
definition and application code, patch only the evidenced cause, validate, rerun the single
staging test, and report changed files plus remaining uncertainty.

Limitations

  • Requires access to the relevant run evidence and local source; artifacts alone may not establish root cause.
  • Cannot guarantee that an intermittent browser, device, network, or provider failure is fixed after one successful rerun.
  • Does not authorize production changes, data mutation, dependency installation, or broader refactoring beyond the user's approved scope.
  • A passing narrow rerun does not replace the repository's normal test suite or human review.
よくある質問

「Agent QAの実行」とは何ですか?

プログラムが正しく動作しているかを確認するために、テストを自動で実行することです。

「デバッグ」と「パッチ」はどういう意味ですか?

「デバッグ」はエラーを見つけて修正することを指します。「パッチ」はプログラムに小さな修正を適用することを指します。

このエージェントを使って、プログラムに大きな変更を加えることはできますか?

いいえ。このエージェントは、特定の失敗したテストに必要な最小限の修正だけを行うように設計されており、プログラムの他の部分は変更しません。

詳細

作者による元の説明

Debug, patch, and verify failed Agent QA runs from MCP evidence, artifacts, logs, and local code without hiding product or infrastructure defects.

repo: sickn33/agentic-awesome-skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル