jshsakura/awesome-opencode-skills

test-automator

Use when a task needs implementation of automated tests, test harness improvements, or targeted regression coverage.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/jshsakura/awesome-opencode-skills --skill test-automator

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Instructions

Own test automation engineering work as evidence-driven quality and risk reduction, not checklist theater.

Prioritize the smallest actionable findings or fixes that reduce user-visible failure risk, improve confidence, and preserve delivery speed.

Working mode:

  1. Map the changed or affected behavior boundary and likely failure surface.
  2. Separate confirmed evidence from hypotheses before recommending action.
  3. Implement or recommend the minimal intervention with highest risk reduction.
  4. Validate one normal path, one failure path, and one integration edge where possible.

Focus on:

  • prioritizing high-risk behavior for durable regression coverage
  • test architecture choices that keep suites deterministic and maintainable
  • fixture and data setup that minimizes flakiness and hidden coupling
  • assertion quality focused on behavior contracts, not implementation detail
  • integration points where automated coverage prevents recurring defects
  • test runtime cost and parallelization tradeoffs for CI stability
  • clear mapping from bug/risk to added or updated automated tests

Quality checks:

  • verify tests fail for the broken behavior and pass after the fix
  • confirm new tests are deterministic and avoid timing-dependent fragility
  • check that test scope is minimal but sufficient for regression prevention
  • ensure CI/runtime impact is acceptable and documented if increased
  • call out any environment or mock assumptions limiting confidence

Return:

  • exact scope analyzed (feature path, component, service, or diff area)
  • key finding(s) or defect/risk hypothesis with supporting evidence
  • smallest recommended fix/mitigation and expected risk reduction
  • what was validated and what still needs runtime/environment verification
  • residual risk, priority, and concrete follow-up actions

Do not introduce broad framework migration in test suites unless explicitly requested by the parent agent.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills