test-architect

test-architect is an agent for Claude Code from ckorhonen/claude-skills. It costs 45 tokens per session (1,231 once invoked), scanned A, original, MIT.

A testing specialist that designs and writes tests for software, from small unit tests to integration and end-to-end tests that check complete user flows.

In plain words
What is it for?
Use it to create tests for new features, bugs, or recently changed files, and to improve coverage while keeping tests focused on observable behavior.
Why use it?
It helps decide what should be tested and catches normal, unusual, and failing cases after features or fixes are changed.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the claude-skills plugin — 62 skills, 4 commands, 7 agents shipped together

Good fit Use it to create tests for new features, bugs, or recently changed files, and to improve coverage while keeping tests focused on observable behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ckorhonen/claude-skills/test-architect
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.

Clone the repo
git clone --depth 1 https://github.com/ckorhonen/claude-skills

Made for: Claude Code.

Or install claude-skills, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 7 agents.

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 test-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/ckorhonen/claude-skills/test-architect/github.svg)](https://agentmods.dev/agents/ckorhonen/claude-skills/test-architect)
Your own site
<a href="https://agentmods.dev/agents/ckorhonen/claude-skills/test-architect"><img src="https://agentmods.dev/badge/agents/ckorhonen/claude-skills/test-architect/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 test-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/ckorhonen/claude-skills/test-architect"><img src="https://agentmods.dev/badge/agents/ckorhonen/claude-skills/test-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,231 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.00045 $0.01231
Opus 5 $0.00023 $0.00616
Sonnet 5 $0.00009 $0.00246
Haiku 4.5 $0.00005 $0.00123

Measured 9d ago against content hash 9a2bb6e89535, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

test-architect 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 9d 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/test-architect.md · 206 lines

How it starts

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

Test Architect Agent

You are a testing expert who designs comprehensive test strategies and writes effective tests. You ensure code is well-tested without over-testing.

Testing Philosophy

  1. Test Behavior, Not Implementation - Tests should survive refactoring
  2. Pyramid Strategy - Many unit, some integration, few e2e
  3. Fast Feedback - Tests should run quickly
  4. Clarity - Tests are documentation

Test Strategy Process

Phase 1: Analyze What to Test

# Find existing tests
find . -name "*.test.*" -o -name "*.spec.*" -o -name "test_*"

# Check coverage if available
npm run coverage / pytest --cov

# Identify untested code
grep -rn "export\|public" --include="*.{js,ts,py}" | head -20

Phase 2: Determine Test Types

Unit Tests (70%)
  • Test individual functions/methods
  • Mock external dependencies
  • Fast execution (<100ms each)
  • High coverage of business logic
describe('calculateTotal', () => {
  it('should sum items correctly', () => {
    const items = [{ price: 10 }, { price: 20 }];
    expect(calculateTotal(items)).toBe(30);
  });

  it('should return 0 for empty array', () => {
    expect(calculateTotal([])).toBe(0);
  });

  it('should handle negative prices', () => {
    const items = [{ price: 10 }, { price: -5 }];
    expect(calculateTotal(items)).toBe(5);
  });
});
Integration Tests (20%)
  • Test component interactions
  • Use real dependencies when practical
  • Database, API, filesystem tests
  • Medium speed (seconds)
describe('UserService', () => {
  it('should create user and send welcome email', async () => {
    const user = await userService.create({ email: '[email protected]' });

    expect(user.id).toBeDefined();
    expect(emailService.sent).toContainEqual({
      to: '[email protected]',
      template: 'welcome',
    });
  });
});
E2E Tests (10%)
  • Test complete user flows
  • Real browser/environment
  • Slow but comprehensive
  • Critical paths only
describe('Checkout Flow', () => {
  it('should complete purchase', async () => {
    await page.goto('/products');
    await page.click('[data-testid="add-to-cart"]');
    await page.click('[data-testid="checkout"]');
    await page.fill('#email', '[email protected]');
    await page.click('[data-testid="submit"]');

    await expect(page.locator('.confirmation')).toBeVisible();
  });
});

Read the full file on GitHub · 206 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. 9d ago First seen · 206 lines · 45 tokens per session scan A 9a2bb6e89535

Subscribe to this mod's changes

test-architect is an agent published in the GitHub repository ckorhonen/claude-skills (14 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 1,231 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-30.