test-writing

test-writing is a plugin for Claude Code from shopwareLabs/ai-coding-tools. Its manifest loads nothing; the 11 skills, 3 agents it bundles cost 1,049 tokens per session together, scanned A, original, MIT.

A Shopware 6 testing plugin that generates and reviews PHPUnit tests, the PHP testing framework's unit and integration tests. It chooses patterns based on the source class or database migration being tested.

In plain words
What is it for?
Use it to create tests for DTOs, services, events, data access, exceptions, SQL migrations, controllers, message handlers, indexers, and other integration patterns. It can also review, fix, or move tests between integration and unit suites.
Why use it?
It reduces the work of deciding what each test should cover and where the test belongs, while applying Shopware-specific rules.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Good fit Use it to create tests for DTOs, services, events, data access, exceptions, SQL migrations, controllers, message handlers, indexers, and other integration patterns. It can also review, fix, or move tests between integration and unit suites.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add shopwareLabs/ai-coding-tools
/plugin install test-writing
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/shopwareLabs/ai-coding-tools

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

README.md
[![agentmods](https://agentmods.dev/badge/plugins/shopwarelabs/ai-coding-tools/test-writing/github.svg)](https://agentmods.dev/plugins/shopwarelabs/ai-coding-tools/test-writing)
Your own site
<a href="https://agentmods.dev/plugins/shopwarelabs/ai-coding-tools/test-writing"><img src="https://agentmods.dev/badge/plugins/shopwarelabs/ai-coding-tools/test-writing/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-writing

Your own site · 80×15
<a href="https://agentmods.dev/plugins/shopwarelabs/ai-coding-tools/test-writing"><img src="https://agentmods.dev/badge/plugins/shopwarelabs/ai-coding-tools/test-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 11 skills, 3 agents cost 1,049 tokens a session between them.
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.
Security

Grade A, and why

test-writing 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 29d 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/test-writing/.claude-plugin/plugin.json · 13 lines

What it actually says

{
  "name": "test-writing",
  "version": "5.2.1",
  "description": "Generate and validate PHPUnit tests for Shopware 6. Unit tests: analyzes source classes to detect category (DTO, Service, Flow/Event, DAL, Exception) and applies category-specific templates. Migration tests: analyzes SQL operations to generate pattern-appropriate migration tests with 8 migration-specific rules. Integration tests: generates wired-up tests via phpunit-integration-test-generation for controller, message-handler, indexer, DAL-flow, and multi-service patterns (defers to unit generation when the SUT is unit-shape); 8 quality rules plus a placement smoke check via phpunit-integration-test-reviewing; a separate user-invoked phpunit-integration-to-unit-migrating skill audits placement with 8 deep-reasoning rules and migrates load-bearing-free tests to the unit suite. Workflow-based team review: wave-orchestrated agents coordinated through a shared blackboard (no agent-to-agent messaging), with adversarial red team and defense rounds. Bundles test-rules MCP server for Shopware compliance rules. Orchestrator runs inline fix loop (max 4 iterations) with oscillation detection. Optional dev-tooling plugin enables PHPStan/PHPUnit/ECS validation in the fix loop.",
  "author": {
    "name": "Shopware Labs"
  },
  "license": "MIT",
  "keywords": ["testing", "phpunit", "unit-tests", "shopware", "test-generation", "test-review", "code-quality"],
  "homepage": "https://github.com/shopwareLabs/ai-coding-tools/tree/main/plugins/test-writing",
  "repository": "https://github.com/shopwareLabs/ai-coding-tools"
}
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. 29d ago Changed 20471e7147bf
  2. 1mo ago Changed 2fbbd12b607f
  3. 1mo ago Changed cdd26cf6739a
  4. 1mo ago Changed 27f51d5d5fd8
  5. 1mo ago First seen · 13 lines scan A bc81baafa748

Subscribe to this mod's changes

test-writing is a plugin published in the GitHub repository shopwareLabs/ai-coding-tools (45 stars, last pushed 3d ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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.

Related

Other plugins, from other repositories

implementation

Disciplined implementation stage: execute approved plans inline (/implementation:implement) or via orchestrated worker subagents (/implementation:implement-dispatch) with incremental validation, TDD-by-default cadence, green-checkpoint commits, scope-fence drift detection, and divergence detection that routes back.

melodic-software/claude-code-plugins · not measured

evals

LLM evaluation methodology and eval-suite design, based on Anthropic's evaluation guidance. /evals:methodology answers questions on success criteria, eval design, and grading. /evals:design interviews for measurable success criteria and scaffolds a graded eval suite for an LLM app or Claude Code skill.…

melodic-software/claude-code-plugins · not measured

mutation-testing

Measures whether a test suite can actually detect faults, not merely execute code: /mutation-testing:principles answers operator, mutant-state, and metric questions from the primary literature; /mutation-testing:setup verifies the ecosystem's mutation tool and writes the tracked config; /mutation-testing:audit ru.

melodic-software/claude-code-plugins · not measured

playwright

Live E2E browser automation via Microsoft's @playwright/cli: named sessions, accessibility-ref snapshots, click/fill by ref, screenshots, console and network capture, mocking, tracing, video, and auth state, with artifacts written to disk so only paths enter context, plus a vendored upstream baseline and maintainer…

melodic-software/claude-code-plugins · not measured

code-metrics

Read-only code measures for a change, with cited references and no verdict: lines per file (audit-size), cyclomatic, cognitive, and Halstead complexity (audit-complexity), duplication (audit-duplication), per-function coverage and CRAP from existing lcov, Cobertura, coverage.py, or Go artifacts (audit-coverage)…

melodic-software/claude-code-plugins · not measured

debugging

Debug observed failures via a disciplined six-phase loop: build a fast deterministic reproduction signal, reproduce, rank falsifiable hypotheses, instrument, fix with a regression test, then clean up and post-mortem.

melodic-software/claude-code-plugins · not measured