agentleFS
jshsakurajshsakura/awesome-opencode-skills/skills/test-automator/SKILL.md

test-automator

Skill29 starsChanged 5 months agoMITView on GitHub

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

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    test architecture choices that keep suites deterministic and maintainable

    line 25
  2. Distinctive:

    test runtime cost and parallelization tradeoffs for CI stability

    line 29
  3. Distinctive:

    verify tests fail for the broken behavior and pass after the fix

    line 33
  4. Distinctive:

    check that test scope is minimal but sufficient for regression prevention

    line 35
  5. Distinctive:

    ensure CI/runtime impact is acceptable and documented if increased

    line 36
  6. Distinctive:

    call out any environment or mock assumptions limiting confidence

    line 37
  7. Distinctive:

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

    line 46

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.