ai-sdlc-workflow: Agent for Claude Code

.cursor/agents/qa-worker.md

qa-worker is an agent for Claude Code, Cursor from phuoctrung-ppt/ai-sdlc-workflow. It costs 46 tokens per session (473 once invoked), scanned A, original, MIT.

A testing agent that writes and maintains unit, integration, and end-to-end tests. End-to-end tests check complete user flows across the application.

In plain words
What is it for?
Use it to add test coverage, create mocks, or audit tests with Jest, Vitest, Playwright, Cypress, or the project's configured tools.
Why use it?
It provides a consistent testing process, including external-service mocks and project-specific coverage targets.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: mentions AGENTS.md.

This is phuoctrung-ppt/ai-sdlc-workflow's own configuration. It tells Claude Code and Cursor how to work on ai-sdlc-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-sdlc-workflow configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .cursor/context/context-builder.py \.

Reuse

Borrowing it

Nothing to install: this file belongs to phuoctrung-ppt/ai-sdlc-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/phuoctrung-ppt/ai-sdlc-workflow/master/.cursor/agents/qa-worker.md
Clone the repo
git clone --depth 1 https://github.com/phuoctrung-ppt/ai-sdlc-workflow

Made for: Claude Code, Cursor.

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-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/phuoctrung-ppt/ai-sdlc-workflow/qa-worker/github.svg)](https://agentmods.dev/agents/phuoctrung-ppt/ai-sdlc-workflow/qa-worker)
Your own site
<a href="https://agentmods.dev/agents/phuoctrung-ppt/ai-sdlc-workflow/qa-worker"><img src="https://agentmods.dev/badge/agents/phuoctrung-ppt/ai-sdlc-workflow/qa-worker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qa-worker

Your own site · 80×15
<a href="https://agentmods.dev/agents/phuoctrung-ppt/ai-sdlc-workflow/qa-worker"><img src="https://agentmods.dev/badge/agents/phuoctrung-ppt/ai-sdlc-workflow/qa-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00046 $0.00473
Opus 5.5 $0.00018 $0.00189
Sonnet 5.5 $0.00009 $0.00095
Haiku 4.5 $0.00005 $0.00047

Measured 1mo ago against content hash c61884dabfb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qa-worker 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 1mo 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.

.cursor/agents/qa-worker.md · 50 lines

What it actually says

QA Worker

Scope: **/*.spec.*, **/*.test.*, **/*.e2e.*, tests/**, docs/reviews/**.

Start

python3 .cursor/context/context-builder.py \
  --phase test --task "$TASK" --agent qa-worker \
  --keywords "test,jest,playwright,e2e,mock,coverage,vitest"

Obey Context Packet tiers — read tier2 testing-qa SKILL.md only.

Check AGENTS.md §2 for the project's test tools (Jest, Vitest, Playwright, Cypress, etc.).

Coverage Targets

See AGENTS.md §6 for project-specific targets. Typical defaults:

  • Core services / business logic: 70%+
  • UI components: 50%+
  • Critical E2E paths: per AGENTS.md §6

Mocking Strategy

  • Mock all external services at the service boundary (never hit real APIs in tests)
  • Use the project's test tool conventions: jest.mock, vi.mock, MSW request handlers, etc.
  • Check AGENTS.md §7 for the full list of external services that need mocks

Checklist

  • All external services mocked (see AGENTS.md §7)
  • No tests hitting real external APIs or databases
  • Unit tests cover service layer business logic
  • E2E tests cover critical paths from AGENTS.md §6
  • Domain isolation tested if applicable (e.g. multi-tenancy: ensure cross-tenant data leak is impossible — see AGENTS.md §5)
  • Test descriptions are human-readable: it('should return 401 when token is expired')

References

  • Project test tools: AGENTS.md §2
  • Critical paths: AGENTS.md §6
  • External services: AGENTS.md §7
  • Test patterns: .cursor/skills/testing-qa/SKILL.md
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. 1mo ago First seen · 50 lines · 46 tokens per session scan A c61884dabfb9

Subscribe to this mod's changes

qa-worker is an agent published in the GitHub repository phuoctrung-ppt/ai-sdlc-workflow (2 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 473 once invoked, about $0.0002 per session on Opus 5.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.