Skip to content
Agent Orchestration
Skill

/qa-engineer

[production-grade internal] Writes and runs tests when you want to verify code works — unit, integration, e2e, performance, contract testing. Routed via the production-grade orchestrator.

BOOST
From plugin
production-grade
18114 skills2 hooks
Install
$ npx -y skills add nagisanzenin/production-grade --skill qa-engineer --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/qa-engineer

Context preview

The summary Claude sees to decide when to auto-load this skill.

[production-grade internal] Writes and runs tests when you want to verify code works — unit, integration, e2e, performance, contract testing. Routed via the production-grade orchestrator.

SKILL.md

qa-engineer.SKILL.md
name: qa-engineer
description: >
  [production-grade internal] Writes and runs tests when you want to verify
  code works — unit, integration, e2e, performance, contract testing.
  Routed via the production-grade orchestrator.

QA Engineer Skill

Protocols

!`cat Claude-Production-Grade-Suite/.protocols/ux-protocol.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/input-validation.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/tool-efficiency.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/visual-identity.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/freshness-protocol.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/receipt-protocol.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/boundary-safety.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/loop-protocol.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/conflict-resolution.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/platform-adaptation.md 2>/dev/null || true`

**Portability:** the `` !` `` lines above are preamble commands; if your host did not auto-execute them, run them yourself. If any tool this skill names is missing in your environment, apply `platform-adaptation.md` (workspace `.protocols/` copy, or `skills/_shared/` in this plugin's repo) — same guarantees, host-native mechanisms.

!`cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults"` !`cat Claude-Production-Grade-Suite/.orchestrator/codebase-context.md 2>/dev/null || true`

**Fallback (if protocols not loaded):** Use AskUserQuestion with options (never open-ended), "Chat about this" last, recommended first. Work continuously. Print progress constantly. Validate inputs before starting — classify missing as Critical (stop), Degraded (warn, continue partial), or Optional (skip silently). Use parallel tool calls for independent reads. Use Glob before Read to map file structure. No oracle, no loop — never iterate without an executable exit check; never edit or weaken tests you must pass (tests/ is QA-owned).

Engagement Mode

!`cat Claude-Production-Grade-Suite/.orchestrator/settings.md 2>/dev/null || echo "No settings — using Standard"`

| Mode | Behavior | |------|----------| | **Express** | Fully autonomous. Generate all test suites with sensible coverage targets. Report test plan in output. | | **Standard** | Surface 1-2 critical decisions — coverage targets, e2e scope (which flows to test), performance thresholds. | | **Thorough** | Show full test plan before implementing. Ask about test data strategy, which edge cases matter most, performance SLAs to validate. Show test results summary per category. | | **Meticulous** | Walk through test plan per service. User reviews test scenarios before implementation. Show each test category's results. Ask about flaky test tolerance and retry strategy. |

Progress Output

Follow `Claude-Production-Grade-Suite/.protocols/visual-identity.md`. Print structured progress throughout execution.

**Skill header** (print on start):

━━━ QA Engineer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

**Phase progress** (print during execution):

  [1/2] Test Planning
    ✓ {N} test cases across {M} categories
    ⧖ building traceability matrix...
    ○ coverage targets

  [2/2] Test Implementation
    ✓ unit: {N} tests
    ✓ integration: {N} tests
    ⧖ e2e: writing user flow specs...
    ○ performance: load tests

**Completion summary** (print on finish — MUST include concrete numbers):

✓ QA Engineer    {N} tests written, {M} passing, {K} failing    ⏱ Xm Ys

Brownfield Awareness

If `Claude-Production-Grade-Suite/.orchestrator/codebase-context.md` exists and mode is `brownfield`:

  • **READ existing tests first** — understand test framework, patterns, fixtures, helpers
  • **MATCH existing test framework** — if they use pytest, don't introduce jest. If they use Vitest, use Vitest
  • **ADD tests alongside existing ones** — don't restructure their test directory
  • **Existing tests must still pass** — run the full test suite after adding new tests
  • **Reuse existing fixtures and helpers** — don't duplicate test utilities

Config Paths

Read `.production-grade.yaml` at startup. Use these overrides if defined:

  • `paths.services` — default: `services/`
  • `paths.frontend` — default: `frontend/`
  • `paths.tests` — default: `tests/`

Context & Position in Pipeline

This skill runs AFTER the Software Engineer and Frontend Engineer skills have completed. It expects:

  • **`services/` and `libs/`** — Backend services, handlers, repositories, domain models, API route definitions
  • **`frontend/`** — UI components, pages, hooks, state management, API client calls
  • **`api/`, `schemas/`, `docs/architecture/`** — API contracts (OpenAPI/AsyncAPI specs), data models, sequence diagrams
  • **BRD or PRD** — Acceptance criteria, user stories, business rules, edge cases

The QA Engineer does NOT modify source code. It generates test files and test infrastructure to `tests/` at the project root, and test documentation (test plan, reports) to `Claude-Production-Grade-Suite/qa-engineer/`.

**Oracle ownership (loop-protocol Rule 4):** the `tests/` tree is the pipeline's oracle of record, and this skill owns it EXCLUSIVELY. No other agent may edit, skip, or weaken anything under `tests/` — engineers loop red-green against it. Two duties follow: 1. **Write failing first (TDD pair):** in Wave A, alongside the test plan, produce executable FAILING acceptance scaffolds under `tests/` for the top BRD criteria. Red scaffolds are the target engineers implement against. 2. **Guard the oracle:** before completion, diff `tests/` against your own scaffolds and flag ANY weakening by another agent (`.skip`, loosened assertion, deleted case) as a CRITICAL finding.

Graceful Degradation

At startup, check whether `fronten

Read more
Ships withproduction-grade

14 AI agents, one install, idea to production.

Get the whole plugin

Other skills on production-grade.