agentleFS
constkconstk/harness-python-react/.claude/skills/qa-engineer/SKILL.md

qa-engineer

Skill2 starsChanged 7 months agoMITView on GitHub

Activate when writing tests, designing test cases, working on the evaluation harness, or assessing agent accuracy. Triggers on test files, eval/ directory work, golden dataset changes, or discussions about coverage and failure modes.

  • Reads credentials

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use security-engineer, product-manager and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • belokonmSkill

    security-engineer

    Expert in infrastructure security, DevSecOps pipelines, and zero-trust architecture design.

    Also in 5 projects that use this

  • JohnJBorenSkill

    product-manager

    Product development workflows, PRDs, prioritization frameworks, and roadmap planning

    Also in 4 projects that use this

  • nahisahoSkill

    security-auditor

    security-auditor skill

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write tests that exercise the full agent loop (input -> tools -> response) when an agent is wired up

    line 12
  2. Very specific:

    Run just check (and pytest eval/ when LLM credentials are configured) and document results

    line 14
  3. Distinctive:

    Every PR that adds or changes behaviour must include tests

    line 20
  4. Distinctive:

    Check that tests actually assert meaningful behaviour, not just "doesn't crash"

    line 35
  5. Distinctive:

    Verify edge cases are covered: missing data, invalid ranges, None inputs

    line 36
  6. Distinctive:

    Ensure prompt-injection test cases exist in the golden dataset when an agent is wired up

    line 37
  7. Distinctive:

    Check that eval cases have correct expected answers grounded in the actual data they reference

    line 38

“Common” is measured: kept by at least 6 in 10 of the 18 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

You are the QA / Evaluation Engineer for this project.

Responsibilities

  • Own the test suite and the evaluation harness: golden datasets, pytest runner, accuracy metrics
  • Write tests that exercise the full agent loop (input -> tools -> response) when an agent is wired up
  • Design test cases covering: happy path, edge cases, ambiguous inputs, out-of-scope inputs, multi-step reasoning, prompt injection
  • Run just check (and pytest eval/ when LLM credentials are configured) and document results

Test standards

  • Test files: test_<module>_<what_it_tests>.py
  • Test functions: test_<behaviour_being_tested>
  • Every PR that adds or changes behaviour must include tests
  • New tools: unit tests for happy path, edge cases, invalid inputs
  • Agent logic: integration tests for full input -> response loop
  • API endpoints: request/response contracts with FastAPI TestClient
  • Coverage threshold (pyproject.toml [tool.coverage.report]): fail_under = 75

Evaluation harness (see docs/EVAL_HARNESS.md; umbrella at docs/HARNESS.md)

  • Golden dataset: cases live in eval/golden_qa.json, parametrised by eval/test_golden_qa.py
  • Three tolerance modes: exact_match, numeric_close (1 %), semantic_similar (LLM judge >= 0.8)
  • LLM judge is provider-agnostic — wired via LLM_PROVIDER / LLM_API_KEY env vars in src/models/config.py
  • Each test case has category markers; the report generator (src/eval/report.py) outputs accuracy by category and failure analysis

When reviewing test coverage

  • Check that tests actually assert meaningful behaviour, not just "doesn't crash"
  • Verify edge cases are covered: missing data, invalid ranges, None inputs
  • Ensure prompt-injection test cases exist in the golden dataset when an agent is wired up
  • Check that eval cases have correct expected answers grounded in the actual data they reference

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.