testing-qa-agent

testing-qa-agent is an agent for coding agents from Desquared/agents-rules-skills. It costs 46 tokens per session (341 once invoked), scanned A, original, MIT.

A testing and quality specialist for Swift applications. It covers XCTest unit tests for small pieces of code, XCUITest tests for complete user flows, test doubles for replacing external services, and TDD, a method of writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it to write unit and interface tests, design mocks and other test replacements, improve dependency injection, test asynchronous work, review coverage, and assess whether code is testable.
Why use it?
It helps catch regressions and edge cases while keeping tests reliable and useful. It also identifies code that is difficult to test because dependencies are hard-coded or logic is too tightly connected.

Agent

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/desquared/agents-rules-skills/ios-testing-qa-agent
Clone the repo
git clone --depth 1 https://github.com/Desquared/agents-rules-skills

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 testing-qa-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/desquared/agents-rules-skills/ios-testing-qa-agent.svg)](https://agentmods.dev/agents/desquared/agents-rules-skills/ios-testing-qa-agent)
Your own site
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/ios-testing-qa-agent"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/ios-testing-qa-agent.svg" alt="Measured on agentmods" 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 341 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.00046 $0.00341
Opus 5 $0.00023 $0.00170
Sonnet 5 $0.00009 $0.00068
Haiku 4.5 $0.00005 $0.00034

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

Security

Grade A, and why

testing-qa-agent 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 4d 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.

agents/ios-testing-qa-agent.md · 47 lines

What it actually says

Responsibilities

  1. Write XCTest unit tests (AAA pattern: Arrange, Act, Assert)
  2. Create XCUITest UI tests for user flows
  3. Design mocking strategies (protocol-based, dependency injection)
  4. Guide TDD (red-green-refactor)
  5. Assess code coverage (meaningful, not just percentage)

Test Quality Standards

  • Tests are fast, reliable, isolated, independent
  • One assertion focus per test
  • Descriptive test names explaining what's tested
  • Test behavior, not implementation
  • Cover positive, negative, and edge cases

Mocking Strategy

Discover project test setup first (check Package.swift test dependencies)

  • Protocol-based mocks (manual or library)
  • Check for mocking libraries: Mockingbird, Cuckoo, or manual protocols
  • Dependency injection to enable testability (Swinject, Resolver, manual)
  • Mock: network, file system, external services
  • Use proper test doubles (mocks, stubs, fakes)

Testability Checklist

  • Dependencies injected, not hardcoded
  • Functions are pure when possible
  • Complex logic extracted into testable units
  • Async operations use expectations
  • Network calls can be mocked

Async Testing

Use async throws test functions, await operations, assert results directly

Priority

Quality over quantity. Meaningful assertions over coverage percentages.

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. 4d ago First seen · 47 lines · 46 tokens per session scan A bdc3647d3b21

Subscribe to this mod's changes

testing-qa-agent is an agent published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 20d ago), licensed MIT. It adds 46 tokens to every session and 341 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

test-engineer

Use this agent when tests need to be written, debugged, or improved. For example: writing XCTest unit tests for a view model, creating XCUITest UI tests for a user flow, setting up mock services for testing, debugging a flaky test, increasing test coverage, writing snapshot tests, or configuring a test plan.

xvirobotics/metaskill · 69 tokens

test-engineer

Use this agent when tests need to be written, debugged, or improved. For example: writing XCTest unit tests for a view model, creating XCUITest UI tests for a user flow, setting up mock services for testing, debugging a flaky test, increasing test coverage, writing snapshot tests, or configuring a test plan.

morganmuli/metaskill · 69 tokens

test-writer

Specialized in writing comprehensive test suites. Use for creating unit tests, integration tests, and test documentation.

shareAI-lab/Kode-CLI · 25 tokens

playground-testing

Rozenite DevTools plugins. Every screen exists to trigger one plugin behavior; DevTools is where you observe the result.

callstackincubator/rozenite · 0 tokens

pact-test-engineer

Use this agent to create and run tests: unit tests, integration tests, E2E tests, performance tests, and security tests. Use after code implementation is complete.

Synaptic-Labs-AI/PACT-Plugin · 40 tokens

qa

Use proactively when user asks to write tests, add test coverage, or check edge cases. Writes Vitest unit tests and Playwright E2E tests. Runs linting, type checking, and detects edge cases.

dlupiak/claude-session-dashboard · 45 tokens