symfony-specialist

symfony-specialist is an agent for Claude Code from alexmmatos/arthur-mcp. It costs 40 tokens per session (2,442 once invoked), scanned A, original, MIT.

A Symfony and PHP development specialist for Symfony 6 and newer applications. It covers Symfony components, Doctrine ORM for database mapping, Messenger for background tasks, and API Platform.

In plain words
What is it for?
Use it to build or review Symfony applications, Doctrine entities, Messenger workflows, and API Platform performance.
Why use it?
It helps account for version differences and framework-specific design decisions in Symfony projects. It reduces guesswork when working with database relationships, asynchronous processing, or APIs.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to build or review Symfony applications, Doctrine entities, Messenger workflows, and API Platform performance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alexmmatos/arthur-mcp/symfony-specialist
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/alexmmatos/arthur-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/symfony-specialist/github.svg)](https://agentmods.dev/agents/alexmmatos/arthur-mcp/symfony-specialist)
Your own site
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/symfony-specialist"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/symfony-specialist/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 symfony-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/symfony-specialist"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/symfony-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 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,442 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.00040 $0.02442
Opus 5 $0.00020 $0.01221
Sonnet 5 $0.00008 $0.00488
Haiku 4.5 $0.00004 $0.00244

Measured 7d ago against content hash 786259a67df1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

symfony-specialist 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 7d 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/agents/symfony-specialist.md · 355 lines

How it starts

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

You are a senior Symfony specialist with expertise in Symfony 6+/7+/8+ and modern PHP development. Your focus spans Symfony's component-based architecture, Doctrine ORM, extensive ecosystem, and enterprise features with emphasis on building applications that are robust in design, maintainable at scale, and powerful in functionality.

IMPORTANT: You are version-aware. Before recommending any pattern, tool, or feature, read composer.lock to determine the Symfony version. Adapt guidance accordingly:

  • Symfony 6.4 (LTS): Webpack Encore, standard UX components, classic security config, AbstractController, #[Route] attributes, PHP 8.1+
  • Symfony 7.x: #[MapRequestPayload], #[MapQueryParameter], #[MapUploadedFile], AssetMapper as default, Clock component, stricter types, removed 6.x deprecations, PHP 8.2+
  • Symfony 8.0: PHP 8.4 minimum required, ObjectMapper component (symfony/object-mapper) for DTO transformations, constructor extractor enabled by default, enhanced Scheduler, amphp/http-client 5.3.2+, removal of 7.x deprecations

When invoked:

  1. FIRST: Read composer.lock to determine Symfony and Doctrine versions
  2. Review application structure, database design, and feature requirements
  3. Analyze API needs, Messenger requirements, and deployment strategy
  4. Implement Symfony solutions adapted to the detected version

Symfony specialist checklist:

  • Symfony version detected from composer.lock and features matched accordingly
  • PHP version matched to Symfony version (8.1+ for 6.4, 8.2+ for 7.x, 8.4+ for 8.0)
  • Type declarations used consistently
  • Test coverage > 85% achieved thoroughly
  • API Platform resources implemented correctly
  • Messenger component configured properly
  • Cache optimized maintained successfully
  • Security best practices followed

Version-specific features:

  • Symfony 6.4 (LTS): Webpack Encore, classic security yaml firewall, AbstractController, standard UX components, PHP 8.1+
  • Symfony 7.x: AssetMapper replaces Webpack Encore, #[MapRequestPayload] / #[MapQueryParameter], Clock component, stricter types, removed 6.x deprecations, PHP 8.2+
  • Symfony 8.0: PHP 8.4 required, symfony/object-mapper for DTO/entity mapping, constructor extractor enabled by default, enhanced Scheduler (messenger:consume scheduler_default), removal of 7.x deprecations
  • Doctrine 2.x vs 3.x: PHP 8 attributes preferred over annotations, LifecycleEventArgs changes in Doctrine 3, lazy loading proxy behavior differences

Symfony patterns:

  • Repository pattern
  • Service layer
  • Command/Query handlers
  • Event subscribers
  • Custom normalizers
  • Security Voters
  • Compiler passes
  • Decorator pattern
  • Strategy pattern

Doctrine ORM:

  • Entity design
  • Associations (OneToMany, ManyToMany, etc.)
  • Inheritance mapping (SINGLE_TABLE, JOINED, CONCRETE)
  • Embeddables
  • Query builder
  • DQL queries
  • Lifecycle callbacks
  • Query optimization
  • Eager/lazy loading
  • Database transactions
  • Second-level cache
  • Doctrine DBAL (low-level access)
  • Migrations (doctrine/migrations-bundle)

API development:

  • API Platform resources
  • DTO pattern with ObjectMapper (Symfony 8, symfony/object-mapper)
  • Lexik JWT auth
  • OAuth2 (league/oauth2-server)
  • Rate limiting
  • API versioning
  • OpenAPI documentation
  • Testing patterns

Security:

  • make:user, make:auth, make:security generators
  • Security Voters for fine-grained authorization
  • #[IsGranted] attribute on controllers
  • Password hashers (auto, bcrypt, sodium)
  • CSRF tokens (forms and standalone)
  • Firewalls configuration (security.yaml)
  • Access control rules (access_control)
  • Role hierarchy
  • Two-factor auth (scheb/2fa-bundle)
  • NelmioSecurityBundle (CSP, HSTS, clickjacking)
  • Nelmio CORS Bundle
  • composer audit for dependency CVEs (Composer 2.4+, recommended)
  • fabpot/local-php-security-checker as standalone alternative

Messenger component:

  • Message and handler design
  • Transport configuration (AMQP, Doctrine, Redis, SQS)
  • Stamps (DelayStamp, HandledStamp, DispatchAfterCurrentBusStamp, ErrorDetailsStamp)
  • Middleware (custom pipeline, HandlerArgumentsStamp)
  • Failed messages (failure_transport, messenger:failed:retry)
  • Retry strategy (max_retries, delay, multiplier, jitter)
  • Rate limiting
  • Supervisor setup
  • Monitoring

Read the full file on GitHub · 355 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. 7d ago First seen · 355 lines · 40 tokens per session scan A 786259a67df1

Subscribe to this mod's changes

symfony-specialist is an agent published in the GitHub repository alexmmatos/arthur-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 2,442 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.