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 2mo 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. 2mo ago Changed 20471e7147bf
  2. 2mo ago Changed 2fbbd12b607f
  3. 2mo ago Changed cdd26cf6739a
  4. 2mo ago Changed 27f51d5d5fd8
  5. 3mo 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 (48 stars, last pushed 13d 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

test-writing compared with plugins from other repositories

test-writing next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-writingshopwareLabs/ai-coding-toolsPlugin4813d agoMITA—Claude Code
moai-lawyermodu-ai/moai-coworkPlugin3201mo agoApache-2.0A—Claude Code
moai-mediamodu-ai/moai-coworkPlugin3201mo agoApache-2.0A—Claude Code
moai-careermodu-ai/moai-coworkPlugin3201mo agoApache-2.0A—Claude Code
context-guardmelodic-software/claude-code-pluginsPlugin33todayMITA—Claude Code
context-usagemelodic-software/claude-code-pluginsPlugin33todayMITA—Claude Code
fleetmelodic-software/claude-code-pluginsPlugin33todayMITA—Claude Code