Skip to content
Back to skills

Qa Engineer

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
developmentgofastapiapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add constk/harness-python-react --skill qa-engineer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qa Engineer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Qa Engineer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/constk-qa-engineer/badge)](https://www.skillsdirectory.com/skills/constk-qa-engineer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: qa-engineer
description: 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.
user-invocable: false
---

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.