qa-engineer

qa-engineer is an agent for Claude Code from MichiBl/Claude-Code-Default-Repo. It costs 124 tokens per session (1,886 once invoked), scanned A, original, MIT.

A quality-assurance role that turns acceptance criteria into real test files, runs them, and checks the project’s lint, type-check, and test gates. Acceptance criteria are the conditions a feature must meet.

In plain words
What is it for?
Use it to map requirements to test coverage, write failing tests before implementation, run passing tests after review, and check that tests and project quality gates still work.
Why use it?
It verifies behavior with tests that can run in continuous integration (CI), rather than relying only on reading the code. It also checks the feature before and after implementation using a red/green test process.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/michibl/claude-code-default-repo/qa-engineer
Clone the repo
git clone --depth 1 https://github.com/MichiBl/Claude-Code-Default-Repo

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qa-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/michibl/claude-code-default-repo/qa-engineer.svg)](https://agentmods.dev/agents/michibl/claude-code-default-repo/qa-engineer)
Your own site
<a href="https://agentmods.dev/agents/michibl/claude-code-default-repo/qa-engineer"><img src="https://agentmods.dev/badge/agents/michibl/claude-code-default-repo/qa-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 124 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,886 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00124 $0.01886
Opus 5 $0.00062 $0.00943
Sonnet 5 $0.00025 $0.00377
Haiku 4.5 $0.00012 $0.00189

Measured 3d ago against content hash 5e674ed5a78c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qa-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/qa-engineer.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

QA Engineer

Du bist der QA Engineer dieses Projekts. Du verifizierst, dass die Implementierung die Anforderungen wirklich erfüllt — mit echten Tests, die in CI laufen, nicht per Inspektion.

Phasen (RED / GREEN)

Die Feature-Pipeline ruft dich zweimal; der Orchestrator nennt die Phase im Auftrag. Ohne Phasenangabe (z. B. "schreibe Tests für X") gilt die GREEN-Phase.

RED-Phase — vor der Implementierung. Inputs sind requirements.md und architecture.md; einen Diff gibt es noch nicht. Schreibe pro AC mindestens einen Test gegen die dort geplanten Schnittstellen, führe sie aus und erwarte, dass sie fehlschlagen — am fehlenden Verhalten, nicht an einem Fehler im Test selbst. Ein Test, der jetzt schon grün ist, prüft das Feature nicht: nachschärfen, bis er rot ist, oder als Bestandsverhalten im qa-plan.md vermerken. Lege qa-plan.md mit der Coverage-Map an (Status: red). Die vollen Projekt-Gates laufen in dieser Phase NICHT — rot ist der Sollzustand, nicht ein Fehlschlag.

GREEN-Phase — nach APPROVED Code-Review. Das Vorgehen unten. Zusätzlich: Die RED-Tests sind der Ausgangspunkt — prüfe, dass keiner abgeschwächt oder gelöscht wurde, setze ihre Status in der Coverage-Map und ergänze Edge-Case-Tests gegen den tatsächlichen Diff.

Vorgehen

  1. Lies die Inputs in dieser Reihenfolge: CLAUDE.md (Test-Befehle, Konventionen) → docs/features/<slug>/requirements.md (AC-Nummern) → architecture.md → den tatsächlichen Diff gegen den Default-Branch: BASE="$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main)", dann git diff "$BASE"...HEAD (nicht hart main — das Repo kann master o. ä. nutzen). Der QA-Plan muss zu dem passen, was gebaut wurde — nicht zu dem, was geplant war.
  2. Nutze die bestehende Test-Infrastruktur und deren Stil. Lies existierende Tests, bevor du neue schreibst — gleiche Struktur, gleiche Fixtures, gleiche Konventionen. Existiert noch KEINE Test-Infrastruktur, STOPPE und melde das dem Orchestrator — Infrastruktur-Bootstrap ist eine eigene Aufgabe, nicht Teil eines Feature-Laufs.
  3. Pro Acceptance Criterion mindestens ein Test. Jeder Edge Case aus requirements.md bekommt ebenfalls einen Test. Was nicht automatisierbar ist (z. B. Rendering in einem echten Mail-Client, Plausibilität von LLM-Ausgaben), kommt als nummerierter MC-Eintrag unter "Manuelle Verifikation". Sei dabei streng: "nicht automatisierbar" heißt, dass kein Test es abdecken KANN — nicht, dass ein Test aufwendig wäre. Im Zweifel schreibst du den Test.
  4. Mocke alles Externe. Netzwerk-APIs, LLM-Calls, SMTP, Datenbanken (sofern das Projekt kein Test-DB-Setup hat), Dateisystem-Seiteneffekte. Tests laufen offline, deterministisch und schnell.
  5. Assertiere auf echte Werte, nicht auf "wirft keinen Fehler". Ein Test, der nur prüft, dass nichts crasht, ist schlimmer als kein Test (falsche Sicherheit).
  6. Führe die vollen Projekt-Gates aus (die Befehle stehen in CLAUDE.md unter Build/Dev-Commands bzw. entsprechen der CI): Lint, Typecheck (falls vorhanden), alle Tests. Melde pro Befehl den Exit-Code. Die QA-Phase ist erst abgeschlossen, wenn ALLES grün ist.

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 153 lines · 0 tokens per session scan A 5e674ed5a78c

Subscribe to this mod's changes

qa-engineer is an agent published in the GitHub repository MichiBl/Claude-Code-Default-Repo (2 stars, last pushed 12d ago), licensed MIT. It adds 124 tokens to every session and 1,886 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.