testing-symfony

testing-symfony is a skill for Claude Code from TheBeardedBearSAS/claude-craft. It costs 36 tokens per session (531 once invoked), scanned A, original, MIT.

A testing strategy for Symfony 8.1 and PHP 8.5 applications. It covers backend tests, browser tests, mutation testing, static analysis, architecture checks, and test data.

In plain words
What is it for?
Use it when writing or reviewing Symfony tests, setting coverage and mutation targets, checking architecture, or testing browser behaviour.
Why use it?
It helps you check Symfony code at several levels and detect problems that ordinary tests or type checks may miss.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

Good fit Use it when writing or reviewing Symfony tests, setting coverage and mutation targets, checking architecture, or testing browser behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thebeardedbearsas/claude-craft/testing-symfony
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.

Any agent
npx skills add TheBeardedBearSAS/claude-craft --skill testing-symfony
Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

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 testing-symfony

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thebeardedbearsas/claude-craft/testing-symfony"><img src="https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/testing-symfony.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 531 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00036 $0.00531
Opus 5 $0.00018 $0.00266
Sonnet 5 $0.00007 $0.00106
Haiku 4.5 $0.00004 $0.00053

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

Security

Grade A, and why

testing-symfony 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 5d 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.

.claude/skills/testing-symfony/SKILL.md · 45 lines

What it actually says

Stratégie de Tests Symfony 8.1 / PHP 8.5

Versions : Symfony 8.1+ | PHP 8.5 | Pest 4.5+ | PHPUnit 12 | Playwright

Abandonner Panther (lourd) et Behat (verbeux) — Pest 4 intègre tout nativement.

Stack recommandée 2026

Type Outil Usage
Unit/Integration Pest 4.5+ (PHPUnit 12, arch tests) Tests backend Symfony
Browser/E2E Pest 4 Browser Testing (Playwright natif) Tests frontend intégrés
Mutation Infection Qualité des tests (MSI >= 80%)
Static Analysis PHPStan Level 10 Vérification statique

Sources : Pest 4, Infection

Invariants non-négociables

  • Couverture >= 80% (line + branch)
  • Mutation Score Indicator (MSI) >= 80% via Infection
  • PHPStan Level 10 — aucun mixed non justifié
  • Arch tests : domain indépendant de l'infrastructure
  • Fixtures via doctrine/data-fixtures — pas de données hard-codées
  • Pattern AAA (Arrange-Act-Assert) dans chaque test
  • Tests browser dans tests/Browser/, unit dans tests/Unit/, feature dans tests/Feature/

Checklist par type

Type Vérification
Unit Isolation totale, pas de DB, mocks Prophecy/Mockery
Integration KernelTestCase, fixtures chargées, DB de test
Browser Playwright natif Pest 4, assertions sur l'UI réelle
Arch pest()->arch() — namespaces, dépendances, interdictions
Mutation vendor/bin/infection --threads=4, MSI >= 80

Détails complets, exemples de code, configs et checklists : voir REFERENCE.md

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 45 lines · 36 tokens per session scan A 55717af6d22d

Subscribe to this mod's changes

testing-symfony is a skill published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 6d ago), licensed MIT. It adds 36 tokens to every session and 531 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-03.

Related

Other skills, from other repositories

test-execution

Run unit and integration tests, generate coverage reports, and view results. Use to validate code changes before committing or merging.

Yoshikemolo/mcp-jira-devflow · 28 tokens

javascript-testing-patterns

Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.

FluxonLab/Skillry · 63 tokens

adk-verify-snippets

Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail report with per-snippet coverage. Use when the user asks to verify, test, or validate the code samples in a README, a guide…

google/adk-python · 149 tokens

adk-setup

Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test run. Runs only when explicitly requested, never on its own. Use when asked to set up, bootstrap, or repair a development…

google/adk-python · 146 tokens

backend/testing-guide

A guide for writing backend tests: small unit tests, tests that check connected parts such as an API and database, and end-to-end tests that follow a complete user flow.

echoVic/boss-skill · 30 tokens

qa/test-strategy

A testing strategy based on the testing pyramid: many small unit tests, fewer integration tests, and a smaller set of end-to-end tests that follow real user journeys. It also defines checks for security, boundaries, permissions, and business consistency.

echoVic/boss-skill · 33 tokens