agent-qa-result-triage
它能做什么
这个工具可以帮你弄清自动化测试失败的原因。它会检查测试留下的证据,例如日志和文件,从而找出问题所在、判断结论的可信度,并给出下一步建议。
适用场景
- ✓自动化测试失败、你需要知道原因时。
- ✓想查看测试详情,包括日志和生成的文件时。
- ✓想比较最近失败的测试,找出反复出现的问题时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-qa-result-triage/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析登录自动化测试的失败情况,告诉我发生了什么、置信度有多高,以及下一步该怎么做。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会收集失败测试的信息,例如执行过的步骤、产物和日志。然后利用这些数据判断错误类型,并给出处理建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Agent QA Result Triage
Overview
Classify a failed Agent QA run from its recorded evidence instead of guessing. Inspect the run, steps, artifacts, and logs; choose one fixed category; and return confidence, likely ownership, and the next evidence-backed action.
When to Use
- Investigating a failed or interrupted Agent QA run.
- Inspecting run artifacts, step results, or execution logs.
- Comparing recent related runs for recurring failure patterns.
- Deciding whether a failure belongs to a test, product, hook, browser/mobile runtime, or infrastructure owner.
Workflow
- Start with
agent_qa_get_runfor run status, suite child context, steps, and attempts. - Fetch evidence before deciding:
agent_qa_get_run_artifactagent_qa_get_run_stepsagent_qa_get_run_logsagent_qa_get_run_execution_logs
- Call
agent_qa_classify_failureand use its category as the default classification unless stronger evidence contradicts it. - Compare recent related runs when they are available in the classifier output.
- Return a concise triage result: category, confidence, evidence, likely fix area, and next action.
- For code changes, switch to
agent-qa-debug-fixafter triage is complete.
Categories
Use exactly one category from references/triage-categories.md:
timeoutappium_startupbrowser_disconnectelement_not_foundassertion_failurehook_failureinfrastructureunknown_failure
Evidence Rules
- Quote or summarize concrete artifact, log, or step evidence.
- Mention missing artifact sections when they limit confidence.
- Do not invent screenshots, videos, logs, or memory context that MCP did not return.
- If MCP is unavailable, use dashboard REST APIs or Agent QA CLI output as a fallback and state which evidence was unavailable.
- Redact credentials, session tokens, personal data, and unrelated application content from the report.
Example
{
"category": "element_not_found",
"confidence": "high",
"evidence": ["Step 4 could not resolve the described checkout button"],
"likely_fix_area": "test definition or changed product UI",
"next_action": "Inspect the captured UI context, then compare the current checkout screen"
}
Limitations
- Classification is only as reliable as the retained run artifacts and logs.
- A failure category identifies the most likely failure surface; it does not prove root cause.
- Missing screenshots, DOM/accessibility context, device logs, or prior runs must lower confidence.
- This skill does not modify tests or application code; use
agent-qa-debug-fixfor an authorized repair.
常见问题
什么是“证据”?
指测试留下的痕迹,例如日志中的错误信息、生成的文件,或每个步骤的执行结果。
“置信度”是什么意思?
表示工具对失败原因判断的把握有多大。置信度高说明它比较确定,置信度低则说明可能还有其他解释。
这个工具会修复错误吗?
不会,它只负责找出问题并提出建议。修复问题需要另一个工具或开发者来完成。
详情
作者的原始描述
Triage failed Agent QA runs with MCP evidence, artifacts, logs, fixed failure categories, confidence, and actionable next steps.
热度
- GitHub 星标
- 48k
- 排名
- #3671
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。