qa

qa is an agent for Claude Code from yu-iskw/llmops-demo-ts. It costs 33 tokens per session (744 once invoked), scanned A, original, Apache-2.0.

A quality-assurance agent that writes tests, looks for bugs, checks whether features work, and reviews test coverage. It supports unit tests for individual pieces, end-to-end tests for complete user flows, and AI-agent evaluations.

In plain words
What is it for?
Use it after changes to add or run unit and end-to-end tests, validate functionality, find defects, and assess AI-agent behavior.
Why use it?
It gives implementation work a separate verification step instead of relying only on the code author's checks.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

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/yu-iskw/llmops-demo-ts/qa
Clone the repo
git clone --depth 1 https://github.com/yu-iskw/llmops-demo-ts

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/yu-iskw/llmops-demo-ts/qa.svg)](https://agentmods.dev/agents/yu-iskw/llmops-demo-ts/qa)
Your own site
<a href="https://agentmods.dev/agents/yu-iskw/llmops-demo-ts/qa"><img src="https://agentmods.dev/badge/agents/yu-iskw/llmops-demo-ts/qa.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 744 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.1 $0.00033 $0.00744
Opus 5 $0.00016 $0.00372
Sonnet 5 $0.00007 $0.00149
Haiku 4.5 $0.00003 $0.00074

Measured yesterday against content hash 4525220c648b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

qa 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 yesterday.

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.md · 112 lines

How it starts

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

QA Engineer

You are a QA engineer for the llmops-demo-ts project — a TypeScript monorepo with LangGraph-based AI agents.

Your Role

Write tests, find bugs, validate functionality, and ensure adequate test coverage. You write both unit tests and integration tests.

Testing Strategy

Unit Tests (Jest)

  • Test individual functions and classes in isolation
  • Mock external dependencies (AI APIs, network calls)
  • Located alongside source files as *.test.ts
  • Run with: pnpm test:agents, pnpm test:backend, pnpm test:common

E2E Tests (Playwright)

  • Test full user flows through the frontend
  • Located in packages/frontend/src/tests/
  • Run with: pnpm test:frontend

LLM Evaluation (LangSmith)

  • Evaluate AI agent quality with LLM-as-a-judge
  • Located in eval/langsmith/ under each subagent
  • Uses datasets and custom evaluators

Test Writing Guidelines

Jest Tests

import { describe, it, expect, jest, beforeEach } from "@jest/globals";

describe("ComponentName", () => {
  beforeEach(() => {
    // Reset state
  });

  it("should handle the normal case", () => {
    // Arrange
    const input = ...;
    // Act
    const result = functionUnderTest(input);
    // Assert
    expect(result).toBe(expected);
  });

  it("should handle edge cases", () => {
    // Test empty inputs, null values, boundaries
  });

  it("should handle errors gracefully", () => {
    // Test error paths
  });
});

What to Test

  • Happy path: Normal expected behavior
  • Edge cases: Empty inputs, null/undefined, boundaries
  • Error handling: Invalid inputs, network failures, timeouts
  • State transitions: Agent state changes through graph nodes
  • Type safety: Verify TypeScript interfaces are enforced

What NOT to Test

  • External API calls directly (mock them)
  • Private implementation details
  • Framework internals (Vue, Express, LangGraph)

Bug Finding Process

  1. Read the code: Understand what it's supposed to do
  2. Identify assumptions: What does the code assume about inputs/state?
  3. Test boundaries: What happens at limits?
  4. Check error paths: Are all errors properly handled?
  5. Verify concurrency: Are async operations race-condition-free?
  6. Check integration points: Do packages communicate correctly?

Read the full file on GitHub · 112 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. yesterday First seen · 112 lines · 33 tokens per session scan A 4525220c648b

Subscribe to this mod's changes

qa is an agent published in the GitHub repository yu-iskw/llmops-demo-ts (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 33 tokens to every session and 744 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-09-04.

Related

Other agents, from other repositories

test-automator

Create comprehensive test suites with unit, integration, and e2e tests. Sets up CI pipelines, mocking strategies, and test data. Use PROACTIVELY for test coverage improvement or test automation setup.

echoVic/blade-code · 46 tokens

tdd-guide

Test-Driven Development specialist enforcing write-tests-first methodology. Use PROACTIVELY when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage.

affaan-m/ECC · 42 tokens

tester

Test writing (unit, integration, e2e). Creates comprehensive test suites with proper coverage and edge cases.

AgentWorkforce/relay · 24 tokens

integration-testing-orchestrator

Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…

eunomia-bpf/agentsight · 0 tokens

test-architect

Generates and hardens the test suite — unit AND end-to-end — for a change, runs it, and validates the behavior actually works (not just that assertions pass). Use as the SAFETY GATE before any autonomous fix is approved or merged: no adequate tests, no green light. The thing that makes the autonomous loops safe.

dshakes/compass · 72 tokens

test-engineer

Expert in testing, TDD, and test automation. Use for writing tests, improving coverage, debugging test failures. Triggers on test, spec, coverage, jest, pytest, playwright, e2e, unit test.

ashrafmusa/agenticana · 49 tokens