symfony:functional-tests

symfony:functional-tests is a skill for Claude Code, Codex from dev-toolings/superpowers-symfony. It costs 30 tokens per session (248 once invoked), scanned A, original, MIT.

A guide for functional tests in Symfony, which send requests through the application and check observable HTTP behavior. It uses Symfony’s WebTestCase and related helpers for containers, logged-in users, and database rollback.

In plain words
What is it for?
Use it to test controllers and HTTP endpoints, cover invalid or unauthorized requests, verify not-found cases, and develop changes through TDD.
Why use it?
It turns bug reports and new requirements into repeatable checks without depending on internal implementation details. It also promotes isolated tests that remain stable in continuous integration.

Skill for Claude CodeCodex

Part of the superpowers-symfony plugin — 37 skills, 13 commands, 7 agents, 1 hook shipped together

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.

agentmods
npx agentmods add skills/dev-toolings/superpowers-symfony/functional-tests
Any agent
npx skills add dev-toolings/superpowers-symfony --skill functional-tests
Clone the repo
git clone --depth 1 https://github.com/dev-toolings/superpowers-symfony

Made for: Claude Code, Codex.

Or install superpowers-symfony, the plugin that ships this one along with the rest of its 37 skills, 13 commands, 7 agents, 1 hook.

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 symfony:functional-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/dev-toolings/superpowers-symfony/functional-tests.svg)](https://agentmods.dev/skills/dev-toolings/superpowers-symfony/functional-tests)
Your own site
<a href="https://agentmods.dev/skills/dev-toolings/superpowers-symfony/functional-tests"><img src="https://agentmods.dev/badge/skills/dev-toolings/superpowers-symfony/functional-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 248 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00030 $0.00248
Opus 5 $0.00015 $0.00124
Sonnet 5 $0.00006 $0.00050
Haiku 4.5 $0.00003 $0.00025

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

Security

Grade A, and why

symfony:functional-tests 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 4d 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.

skills/functional-tests/SKILL.md · 42 lines

What it actually says

Functional Tests (Symfony)

Use when

  • Building regression-safe behavior with TDD/functional/e2e tests.
  • Converting bug reports into executable failing tests.

Default workflow

  1. Write failing test for target behavior and one boundary case.
  2. Implement minimal code to pass.
  3. Refactor while preserving green suite.
  4. Broaden coverage for invalid/unauthorized/not-found paths.

Guardrails

  • Prefer deterministic fixtures/builders.
  • Assert observable behavior, not internal implementation.
  • Keep tests isolated and stable in CI.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • RED/GREEN/REFACTOR trace.
  • Test files changed and executed commands.
  • Coverage and confidence notes.

References

  • reference.md
  • docs/complexity-tiers.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. 4d ago First seen · 42 lines · 30 tokens per session scan A 9ff549fc7bfe

Subscribe to this mod's changes

symfony:functional-tests is a skill published in the GitHub repository dev-toolings/superpowers-symfony (208 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 248 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.

Related

Other skills, from other repositories

database-performance

Database access patterns for performance. Separate read/write models, avoid N+1 queries, use AsNoTracking, apply row limits, and never do application-side joins. Works with EF Core and Dapper.

Aaronontheweb/dotnet-skills · 44 tokens

rebrand

Apply a downstream brand to a PlatformPlatform fork. Edits one config file, drops in eight supplied logo assets, renames the solution and CLI to the new brand, and rotates UserSecretsId across every csproj. Skips all other source files. Use once per downstream fork after cloning, or to re-flip a brand later.

platformplatform/PlatformPlatform · 71 tokens

pull-platformplatform-changes

Pull unmerged PlatformPlatform pull requests into a downstream project by cherry-picking each one onto the platformplatform-updates branch. Renames commits to "PlatformPlatform PR N - title" per the existing convention. Drives a ralph-loop that validates each commit (build, test, format, lint, optional e2e) before…

platformplatform/PlatformPlatform · 89 tokens

upgrade-packages

Upgrade all backend (.NET/NuGet), frontend (npm), and GitHub Actions dependencies to their latest versions, in that fixed order. Drives the developer CLI's update-packages command, parses its quiet dry-run output to separate trivial bumps from majors, ships trivial bumps as one bulk commit per side, and gives every…

platformplatform/PlatformPlatform · 127 tokens

lingui-best-practices

Implement internationalization with Lingui in React and JavaScript applications. Use when adding i18n, translating UI, working with Trans/useLingui/Plural, extracting messages, compiling catalogs, or when the user mentions Lingui, internationalization, i18n, translations, locales, message extraction, ICU…

platformplatform/PlatformPlatform · 78 tokens

enhanced-message-context

Provide additional context for messages based on the codebase and the context of the message to improve the quality of the translations.

platformplatform/PlatformPlatform · 29 tokens