Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计未展示

test%3atriage测试%3 分类

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

774

周安装

31

GitHub Stars

44

下载量

250
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:test%3atriage(测试%3 分类)
来源仓库:https://github.com/antithesishq/antithesis-skills
仓库路径:skills/test%3Atriage
安装命令:
npx skills add https://github.com/antithesishq/antithesis-skills --skill test:triage
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/antithesishq/antithesis-skills --skill test:triage

简介

test%3Atriage 用于辅助测试设计、自动化测试和用例整理。

  • 适合编写单元测试、端到端测试或根据失败日志定位问题。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 使用时需确认测试框架、运行命令,并区分模拟环境与生产环境。
  • test%3atriage 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Test: Antithesis Triage Skill

End-to-end test harness for the antithesis-triage skill. Spawn sub-agents that perform real triage operations, then review their work for issues.

The top-level agent MUST NOT use the antithesis-triage skill directly. All triage operations happen inside sub-agents. The top-level agent only orchestrates and reviews.

Prerequisites

Before starting, verify the same prerequisites the triage skill requires:

which snouty && which agent-browser && which jq

Also confirm ANTITHESIS_TENANT is set:

echo "$ANTITHESIS_TENANT"

If any prerequisite is missing, stop and report which ones are unavailable.

Phase 1: Discover Runs

Spawn a general-purpose sub-agent with the Agent tool. Provide these instructions, replacing {{TENANT}} with the actual value of the $ANTITHESIS_TENANT environment variable and {{TRIAGE_SKILL}} with the absolute path to antithesis-triage/SKILL.md in this repository:

Read the skill file at {{TRIAGE_SKILL}} and follow its instructions to list
recent runs for the tenant "{{TENANT}}". Follow the "Summarize recent runs"
workflow.

Fetch recent complete and incomplete runs separately by using the status filter:

  `window.__antithesisTriage.runs.getRecentRuns({status: 'Completed'})`
  `window.__antithesisTriage.runs.getRecentRuns({status: 'Incomplete'})`

Return the COMPLETE results from both calls in JSON, including for each run:
  - name
  - status (completed/in-progress/error)
  - findings counts by category (new, ongoing, resolved, rare)
  - triage URL (or null if unavailable)
  - utilization info

Wait for this sub-agent to finish before proceeding.

If the sub-agent did not return triage URLs abort.

Phase 2: Select Test Targets

Read the sub-agent output. From the run listing, select two runs:

  1. Completed run with findings — Status is completed, has at least one finding in any category (new, ongoing, resolved, rare), and has a non-null triageUrl. Prefer runs with new or ongoing findings.
  2. Incomplete or no-findings run — Either a run still in progress (null triageUrl) OR a completed run with zero findings across all categories. Pick an incomplete run that finished in less than 15 minutes to maximize the chance that it's a setup incomplete run.

Rules for missing targets:

  • If no completed-with-findings run exists, skip Phase 3a and note this in the final report.
  • If no incomplete/no-findings run exists, skip Phase 3b and note this.
  • If no runs exist at all, report that and stop.

Phase 3: Triage Selected Runs

Spawn sub-agents in parallel for each available target. Do NOT instruct sub-agents to report verbosely or tell them they are being tested — this changes their behavior. The orchestrator will read their raw session traces directly in Phase 4.

Phase 3a: Completed run with findings

Spawn a general-purpose sub-agent with these instructions (substitute the actual triage URL and {{TRIAGE_SKILL}} with the absolute path to antithesis-triage/SKILL.md in this repository):

Read the skill file at {{TRIAGE_SKILL}} and follow its instructions to triage
the Antithesis report at {{TRIAGE_URL}}. Investigate the logs of failing
property most likely to be a SUT bug. Pick any failing property if you aren't
sure. Do NOT explore or analyze any local source code repositories — only use
the report and downloaded logs to perform your triage.

Phase 3b: Incomplete or no-findings run

Spawn a general-purpose sub-agent with these instructions (substitute the actual URL and {{TRIAGE_SKILL}} with the absolute path to antithesis-triage/SKILL.md in this repository):

Read the skill file at {{TRIAGE_SKILL}} and follow its instructions to triage
the Antithesis run at {{TARGET_URL}}.

Wait for both sub-agents to complete.

Phase 4: Review and Report

Understanding the skill protocol

Before auditing the sub-agent traces, read the triage skill and its references so you can distinguish correct behavior from violations:

  1. Read antithesis-triage/SKILL.md — the main skill protocol
  2. Read antithesis-triage/references/error-reports.md — the error-report workflow (setup errors, runtime errors, how to download inline logs)
  3. Read antithesis-triage/references/logs.md — log analysis guidance
  4. Read antithesis-triage/references/properties.md — property triage workflow

Use these as the ground truth when evaluating compliance. If a sub-agent does something that looks unusual, check whether the skill documents it before flagging it as an issue.

Reading sub-agent session traces

The Agent tool returns an agentId for each sub-agent (visible in the result as agentId: <id>). Use the current session's ID and each agentId to read the raw JSONL session traces:

~/.claude/projects/<project-dir>/<session-id>/subagents/agent-<agentId>.jsonl

To find the current session directory:

ls -td ~/.claude/projects/*/$(basename $(ls -t ~/.claude/projects/*/*.jsonl | head -1 | xargs dirname))/ 2>/dev/null | head -1

Or more reliably, look for the most recently modified session directory that contains a subagents/ folder.

Extract all Bash tool calls from each sub-agent trace to see every command and its output:

jq -c 'select(.type == "assistant") | .message.content[]?
  | select(.type == "tool_use" and .name == "Bash") | .input.command' \
  <trace-file>.jsonl

Extract tool results to see command outputs:

jq -c 'select(.type == "user") | .message.content[]?
  | select(.type == "tool_result") | {tool_use_id, content: .content[:500]}' \
  <trace-file>.jsonl

This gives you the complete record of what each sub-agent did — every navigation, every runtime injection, every eval call, every error — without relying on their summaries.

What to look for

Scan the raw traces for issues in these categories:

Bugs — things that are broken:

  • Runtime method failures (unexpected errors from window.__antithesisTriage.*)
  • Navigation breakage (wrong page, redirect loops, auth failures)
  • JavaScript errors or missing methods
  • Data extraction failures (empty results when data exists, malformed JSON)
  • Script failures (download-logs.sh, process-logs.py)

Compliance violations — the sub-agent did not follow the skill protocol:

  • Missing runtime injection after navigation
  • Missing --session-name antithesis for cookie persistence
  • Missing networkidle wait before injecting the runtime
  • Missing waitForReady() before querying page data
  • Forgot to close browser session when done
  • Ran agent-browser calls in parallel

Inefficiencies — things that work but waste time or tokens:

  • Steps that required multiple retries (especially >2 retries for the same operation)
  • Unnecessary repeated navigations or runtime re-injections
  • Excessive screenshot-based debugging when eval methods exist
  • Commands that consistently fail before succeeding (indicates unclear instructions)

Output Format

Produce a concise report focused on actionable issues only. Do not include sections about what went well, generic suggestions, or broad recommendations. The goal is clear signal on breakage and inefficiency.

Test Summary

  • Tenant tested
  • Runs selected (names, status, findings counts)
  • Sub-agents spawned (include agentIds)
  • Any skipped phases and why

Issues

For each issue found, include:

  • Severity: Bug / Compliance / Inefficiency
  • Phase: Which phase the issue occurred in
  • Description: What happened
  • Evidence: Exact commands and outputs from the session trace (quote directly)
  • Fix: Concrete change to make (file + what to change)

Sort by severity (bugs first, then compliance, then inefficiency).

If no issues are found, report "No issues found" — do not pad the report.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.7%
按下载量换算87

Claude

32.06%
按下载量换算80

Cursor

17.24%
按下载量换算43

Gemini CLI

9.23%
按下载量换算23

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills