sundarshahi/drydock/qa-engineer
Claude Code and agent skill by sundarshahi/drydock
- community
Checking that the SKILL.md file is still in the repository.
[drydock internal] Writes and runs tests when you want to verify code works — unit, integration, e2e, performance, contract testing. Routed via the drydock orchestrator.
Install
npx vskill@latest install sundarshahi/drydock/qa-engineerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sundarshahi/drydock/qa-engineer.
QA Engineer Skill
Protocols
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" ux-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" input-validation !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" tool-efficiency !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" visual-identity !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" freshness-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" receipt-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" boundary-safety !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" conflict-resolution !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" grounding-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" observability-contract !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" .drydock.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/codebase-context.md !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" docs/architecture/performance-budget.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" config/feature-flags.yaml
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 Grep to find the relevant lines, then Read with offset/limit.
Autonomy Level
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/settings.md
| Level | Behavior | |
|---|---|---|
| Autopilot | Fully autonomous. Generate all test suites with sensible coverage targets. Report test plan in output. | |
| Copilot | Surface 1-2 critical decisions — coverage targets, e2e scope (which flows to test), performance thresholds. | |
| Checkpoint | 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. | |
| Manual | 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 drydock/.protocols/visual-identity.md. Print structured progress throughout execution.
Skill header (print on start):
Phase progress (print during execution):
Completion summary (print on finish — MUST include concrete numbers, and MUST match the receipt's machine-readable fields below):
Any non-zero `{K} failing` is a remediation finding, not an FYI — see "Blocking Receipt" below. Do NOT print a green completion line while tests are red.
Blocking Receipt & Gate Contract (CRITICAL)
The orchestrator gates production-ready on QA. It does not read prose — it reads the machine-readable `metrics` block of the QA receipt (drydock/.orchestrator/receipts/{task_id}-qa-engineer.json, schema per receipt-protocol.md). These exact keys are MANDATORY and are extracted by the gate; emit them from real tool output (the test runner's JSON/JUnit summary + coverage report + mutation report), never from memory:
Gate semantics (the user's chosen policy — BLOCK with logged override):
| Receipt field | Source | BLOCKS production-ready when | |
|---|---|---|---|
tests_failing | runner JUnit/JSON summary | > 0 | |
coverage_lines / coverage_branches | coverage report | below the matching gate in tests/coverage/thresholds.json | |
patch_coverage | diff-coverage tool | below the patch threshold (~80%) | |
mutation_score | Stryker/mutmut/PIT/go-mutesting report (critical modules) | below the configured minimum (nightly gate) | |
contract_can_i_deploy | pact-broker can-i-deploy exit code | false | |
perf_baseline_regression | k6 thresholds vs performance-budget.yaml | true |
Failing test = remediation finding, ALWAYS. There is NO soft "if failures > X% flag to the user" path. ANY failing test (tests_failing > 0) is written into drydock/qa-engineer/findings.md as a remediation finding and feeds the HARDEN remediation chain (receipt-protocol.md) exactly like a Critical finding. Never marshal a green completion while a test is red.
The only non-remediation exit is an explicit, logged override (the user chose: BLOCK, WITH an "accepted with justification" override). When the owner consciously ships past a breached gate, do NOT silently pass — capture the decision with AskUserQuestion (predefined options, never open-ended) and write an override receipt to the canonical override path drydock/.orchestrator/overrides/<gate>-<id>.json (NOT under receipts/) so Gate 3 finds it:
A gate with a matching override receipt at drydock/.orchestrator/overrides/<gate>-<id>.json stops blocking but the decision is carried into findings.md. No override file = the gate stays BLOCKED.
Brownfield Awareness
If drydock/.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 .drydock.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 drydock/qa-engineer/.
Graceful Degradation
At startup, check whether frontend/ (or paths.frontend from config) exists. If the frontend directory is not found:
- Skip all frontend-related test phases (UI E2E, visual regression, frontend contract tests, frontend-specific checks).
- Print:
[DEGRADED: frontend not found — skipping frontend tests] - Continue with all backend test phases normally.
Output Structure
This skill produces output in two locations: test deliverables (code, configs, fixtures) at tests/ in the project root, and workspace artifacts (test plan, reports, findings) in drydock/qa-engineer/. Never write test files into services/ or frontend/ directly.
Project root (`tests/`) — top-level dirs and their purpose:
unit/<service>/— handlers, services, repositories, validators, mappers, plusproperty/(property-based/fuzz tests for validators, parsers, serializers, money, authz).integration/—docker-compose.test.yml(pinned dependency containers),setup.ts(global setup/teardown), and per-servicedb/,cache/,messaging/,api/real-dependency tests.contract/—pacts/consumer/+pacts/provider/,schema/OpenAPI +problem.contract.test.ts(RFC 9457 Problem$ref),pact-broker.config.ts(connection + can-i-deploy).e2e/—api/(flows,smoke.e2e.ts, setup) andui/(Page Object Models inpages/,flows/,visual/,playwright.config.ts/cypress.config.ts).performance/—load-tests/,stress-tests/,spike-tests/(k6 scripts),baselines/<scenario>.baseline.json,compare-baseline.js(devops invokesnode tests/performance/compare-baseline.js),thresholds.js(DERIVED fromdocs/architecture/performance-budget.yaml).fixtures/—factories/(fishery/factory-girl),seed-data/(*.seed.json+seed-runner.ts),mocks/(MSW/nock mock servers + service stubs).flags/<flag>.matrix.test.ts— on/off + provider-down safe-default matrix, parameterized overconfig/feature-flags.yaml.mutation/stryker.config.json(or mutmut/PIT/go-mutesting) — scoped to critical modules, gating min score.coverage/thresholds.json— single source for coverage numbers, WIRED into the runner somake testexits non-zero on breach; includes patch threshold.
Workspace (`drydock/qa-engineer/`) — test-plan.md (master plan + traceability matrix), coverage-report.md, findings.md (QA findings and remediation).
Phases
Execute each phase sequentially. Do NOT skip phases. Each phase builds on the outputs of the previous one.
Parallel Execution Strategy
After Phase 1 (Test Planning), Phases 2-6 run in parallel — each test type is independent. After the test plan is written, spawn all test types simultaneously with bounded foreground fan-out — up to 3 concurrent general-purpose sub-tasks (Agent tool), batching in groups of 3 if there are more than 3. Do NOT pass isolation/background/mode at call time (not documented Agent-tool parameters; this subagent is already isolated). Sub-task prompts:
- Write unit tests following Phase 2 (phases/02-unit-tests.md) rules. Readdrydock/qa-engineer/test-plan.mdfor traceability. Write totests/unit/.- Write integration tests following Phase 3 (phases/03-integration-tests.md) rules. Readdrydock/qa-engineer/test-plan.md. Write totests/integration/.- Write contract tests following Phase 4 (phases/04-contract-tests.md) rules. Readdrydock/qa-engineer/test-plan.md. Write totests/contract/.- Write E2E tests following Phase 5 (phases/05-e2e-tests.md) rules. Readdrydock/qa-engineer/test-plan.md. Write totests/e2e/.- Write performance tests following Phase 6 (phases/06-performance-tests.md) rules. Readdrydock/qa-engineer/test-plan.md. Write totests/performance/.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/qa-engineer/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sundarshahi/drydock/qa-engineer)