aggregate-tests-implementator

aggregate-tests-implementator is an agent for Claude Code from voro6yov/spec-driven-development. It costs 0 tokens per session (2,540 once invoked), scanned A, original, Apache-2.0.

A writer that turns an aggregate test plan into pytest test functions. Pytest is a Python testing tool, and an aggregate root is the main object responsible for a related group of domain objects.

In plain words
What is it for?
Use it after the fixture writer to create unit-test files and functions for every aggregate root listed in the domain test plan.
Why use it?
It removes the manual work of translating a test list into test code and uses the previously generated fixtures and specifications for consistency.

Agent for Claude Code

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

Part of the domain-spec plugin — 2 skills, 1 command, 12 agents shipped together

Good fit Use it after the fixture writer to create unit-test files and functions for every aggregate root listed in the domain test plan.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/voro6yov/spec-driven-development/aggregate-tests-implementator
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/voro6yov/spec-driven-development

Made for: Claude Code.

Or install domain-spec, the plugin that ships this one along with the rest of its 2 skills, 1 command, 12 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 aggregate-tests-implementator

README.md
[![agentmods](https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/aggregate-tests-implementator/github.svg)](https://agentmods.dev/agents/voro6yov/spec-driven-development/aggregate-tests-implementator)
Your own site
<a href="https://agentmods.dev/agents/voro6yov/spec-driven-development/aggregate-tests-implementator"><img src="https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/aggregate-tests-implementator/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 aggregate-tests-implementator

Your own site · 80×15
<a href="https://agentmods.dev/agents/voro6yov/spec-driven-development/aggregate-tests-implementator"><img src="https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/aggregate-tests-implementator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,540 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.00000 $0.02540
Opus 5.5 $0.00000 $0.01016
Sonnet 5.5 $0.00000 $0.00508
Haiku 4.5 $0.00000 $0.00254

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

Security

Grade A, and why

aggregate-tests-implementator 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.

plugins/domain-spec/agents/aggregate-tests-implementator.md · 217 lines

How it starts

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

You are a DDD aggregate test implementor. Read the # Test Plan from <stem>.domain/test-plan.md, then write pytest test functions for every <<Aggregate Root>> class into <tests_dir>/unit/<snake_aggregate>/test_<snake_aggregate>.py. Follow the aggregate-unit-tests pattern doc for test structure, naming, and assertion rules. Do not ask for confirmation before writing.

Arguments

  • <domain_diagram>: path to the source diagram file. The plugin folder is derived from its stem:
    • <stem>.domain/test-plan.md — contains the Test Plan written by aggregate-tests-planner
    • <stem>.domain/specs.md — contains the merged class specification (for import resolution)
    • <stem>.domain/exceptions.md — contains all domain exception class names
  • <tests_dir>: path to the tests/ directory (must already exist, with conftest.py written by aggregate-fixtures-writer)

Path convention

Per spec-core:naming-conventions, given <domain_diagram> at <dir>/<stem>.md:

  • <stem> = basename of <domain_diagram> with .md suffix stripped
  • Test plan: <dir>/<stem>.domain/test-plan.md (read)
  • Specs: <dir>/<stem>.domain/specs.md (read)
  • Exceptions: <dir>/<stem>.domain/exceptions.md (read)

Workflow

Step 1 — Load the pattern doc

Resolve <patterns_dir> as the directory containing the domain-spec:patterns umbrella SKILL.md (auto-loaded via this agent's frontmatter; its loaded context reveals its location). Before any analysis, Read the pattern doc in full:

  • <patterns_dir>/aggregate-unit-tests/index.md + template.md

If the folder is missing, abort with Error: pattern 'aggregate-unit-tests' has no folder under the domain-spec:patterns umbrella at <patterns_dir>.

Step 2 — Read and validate inputs

Derive <stem> from <domain_diagram>.

Read <dir>/<stem>.domain/test-plan.md.

Precondition check: if the file does not exist or contains no # Test Plan section, stop and report:

Error: No '# Test Plan' found in <stem>.domain/test-plan.md.
Run @aggregate-tests-planner <domain_diagram> first.

Read the full file on GitHub · 217 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. 1mo ago First seen · 217 lines · 0 tokens per session scan A c99815c3705e

Subscribe to this mod's changes

aggregate-tests-implementator is an agent published in the GitHub repository voro6yov/spec-driven-development (5 stars, last pushed 13d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,540 tokens. 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

python-test-engineer

Use proactively for generating Python tests with pytest, unittest, and comprehensive strategies. Expert in async testing, mocking, and property-based testing.

ProjAnvil/MindForge · 32 tokens

python-tests-reviewer

Python test quality review for pytest fixtures, parametrize, mock/patch patterns, pytest-asyncio, hypothesis property-based testing, and factoryboy.

vladolaru/claude-code-plugins · 35 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

NOMARJ/sigil · 51 tokens

parity-checker

Use this agent to differentially test CPython's dual-implementation stdlib modules — the C accelerator against its shipped pure-Python twin (pydecimal/decimal, pyio/io, pydatetime/datetime, and the from X import accelerator families). The twin is a free oracle: the same adversarial input through both backends…

ReviewToolkits/cpython-review-toolkit · 355 tokens

test-generator

Generate focused pytest tests for a target function by studying reference implementation. Use during test curation (phase 2) after test discovery.

theogbrand/yoink · 30 tokens

python-expert

Master advanced Python features, optimize performance, and ensure code quality. Expert in clean, idiomatic Python and comprehensive testing.

0xfurai/claude-code-subagents · 28 tokens