symfony-docs

symfony-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 30 tokens per session (2,551 once invoked), scanned A, original, MIT.

Reference material for Symfony, a PHP framework and collection of reusable components for web applications. It covers routing, controllers, templates, databases, forms, security, and testing.

In plain words
What is it for?
Use it when building PHP web backends, defining routes and controllers, rendering pages, validating forms, or adding security.
Why use it?
It gives developers practical guidance for structuring and maintaining Symfony applications.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building PHP web backends, defining routes and controllers, rendering pages, validating forms, or adding security.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pledgeandgrow/pledge-skills/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 pledgeandgrow/pledge-skills --skill symfony
Clone the repo
git clone --depth 1 https://github.com/pledgeandgrow/pledge-skills

Made for: Claude Code, Codex.

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-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/symfony"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/symfony.svg" alt="Reviewed on agentmods" width="80" 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 2,551 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.00030 $0.02551
Opus 5 $0.00015 $0.01275
Sonnet 5 $0.00006 $0.00510
Haiku 4.5 $0.00003 $0.00255

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

Security

Grade A, and why

symfony-docs 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.

skills/symfony/SKILL.md · 145 lines

How it starts

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

Symfony

Symfony is a set of reusable PHP components and a PHP framework for web applications. It provides a full-stack framework, standalone components, and a philosophy of best practices.

Version: Symfony 8.x (current)
Documentation: symfony.com/doc
GitHub: github.com/symfony/symfony

Quick Reference

Topic File
Getting Started (Setup & installation, creating pages, routing: attributes/YAML/PHP, route parameters, validation, groups, sub-domains, localized routes, generating URLs, signing URIs, controllers: base controller, request object, MapQueryParameter, MapRequestPayload, session, flash messages, JSON response, streaming, early hints, templates/Twig: templating language, naming, linking, assets, inheritance, includes, embedding, global variables, output escaping, Twig extensions, configuration: files, formats, parameters, environments, env vars, .env files, secrets) getting-started.md
Architecture & Services (Requests/Responses, Kernel, service container: fetching services, autowiring, injecting services/config, binding, parameters, public/private, tags, importing, manual wiring, abstract services, service decoration, lazy services, subscribers, linting, adapters, events: listeners, subscribers, attributes, core kernel events, custom events, bundles: creating, structure, registering, reusable bundles, contracts) architecture.md
Database, Forms & Validation (Doctrine ORM: installation, configuration, entities, field types, migrations, persisting, fetching, EntityValueResolver, updating, deleting, query builder, DQL, SQL, relationships, testing, extensions; Forms: installation, form types, building, creating in controllers/classes, rendering, processing, options, guessing, unmapped fields, multiple buttons, form events, themes; Validation: installation, basics, constraints by category: basic/string/comparison/number/date/choice/file/collection/Doctrine, groups, custom constraints, debugging) database-forms-validation.md
Security (User class, user provider, password hashing, firewall configuration, authenticating: form login, JSON login, HTTP basic, login link, access tokens, X.509, remote users, login throttling, custom auth behavior, login programmatically, logout, fetching user, access control, roles, voters, security events, password hashing: configuration, migration, algorithms, CSRF: forms, login, manual tokens, stateless, LDAP: configuration, user provider, authentication) security.md
Advanced Topics (Console: commands, arguments/options, output, tables, progress, testing; Mailer: transport, messages, Twig, attachments, images, CSS inlining, multiple transports, async, debugging; Messenger: messages/handlers, transports, routing, consuming, supervisor, retries, transport config: AMQP/Doctrine/Redis/SQS/In-Memory, envelopes, stamps, multiple buses; Scheduler: recurring messages, cron/periodical triggers, consuming; Notifier: channels: SMS/chat/email/push/desktop, sending; Serializer: serialize/deserialize, groups, ignoring, name conversion, circular refs, depth, normalizers; Translation: basics, templates, translatable objects, providers, locale handling, extraction; HTTP Client: requests, auth, streaming, concurrent, scoping, testing; Sessions: usage, flash, storage: Redis/database/MongoDB; Cache: pools, tags, clearing; Logging: Monolog, handlers; Workflow: configuration, events, guards, marking stores; Webhook: consuming, sending) advanced-topics.md
Frontend, Production & Ecosystem (Frontend: AssetMapper, importmaps, CSS/Tailwind/Sass, deploying, Symfony UX/Stimulus, Webpack Encore, WebLink/preloading/early hints; Deployment: basics, tasks, PaaS/Upsun; Performance: checklists, OPcache, profiling: Blackfire/Stopwatch; HTTP Cache: reverse proxy, expiration/validation, invalidation, ESI; Symfony AI; Best Practices: project/config/business logic/controllers/templates/forms/i18n/security/assets/tests; Contributing: bugs, environment, proposing changes, tests, docs; Reference Documents: configuration, forms, validation, formats; Create Your Own Framework; Symfony Components list) frontend-production.md
Testing & Errors (Testing: unit/integration/application/E2E tests, installation, environment, mocking, database config, making requests, interacting with response, assertions: response/browser/crawler/mailer/notifier/http/console, Panther E2E; Error Pages: overriding templates, 404/500, non-HTML formats, custom ErrorController, kernel.exception event, dumping static pages) testing-and-errors.md

Read the full file on GitHub · 145 lines

Files

What ships with it

7 files 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. 7d ago First seen · 145 lines · 30 tokens per session scan A de6515efcf23

Subscribe to this mod's changes

symfony-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 2,551 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

php-expert

Expert-level PHP development with PHP 8+, Laravel, Composer, and modern best practices. Use when the user mentions Laravel, Composer, Symfony, PHPUnit, or PSR standards, or when the task involves PHP 8+ Features, Object-Oriented PHP, Modern PHP, or Constructor Property Promotion.

personamanagmentlayer/pcl · 64 tokens

sveltekit

SvelteKit - Full-stack Svelte framework with file-based routing, SSR/SSG, form actions, and adapters for deployment.

bobmatnyc/claude-mpm-skills · 30 tokens

api-platform-identifiers

Choose and wire up API Platform 4.3 resource identifiers — UUID v7 (recommended for temporal cursor pagination), ULID, scalar (string/int), \DateTimeInterface, composite identifiers via Link(uriVariables: …), custom identifiers (slug) with #[ApiProperty(identifier: true)], decorating UriVariableTransformerInterface to…

gerard-labs/superpowers-api-platform · 0 tokens

api-platform-upgrade

Migrate an API Platform codebase from 3.x or 4.0–4.2 up to 4.3. Trigger when composer.lock shows api-platform/ < 4.3, when grep finds.

gerard-labs/superpowers-api-platform · 49 tokens

bootstrap-check

Verify a Symfony project's bootstrap state before any work — .env / .env.dist parity, config/bundles.php enabled bundles, config/services.yaml recipe-default App\ block with exclude:, config/packages/apiplatform.yaml flags (hydraprefix, eagerloading.forceeager, usesymfonylisteners), composer.lock presence, framework /…

gerard-labs/superpowers-api-platform · 125 tokens

ports-and-adapters

Apply Hexagonal Architecture / Ports & Adapters in Symfony — Domain (POPOs, no framework imports), Application (use cases orchestrating ports), Infrastructure (Symfony / Doctrine / API Platform adapters). Bounded contexts variant: one context per business domain with a Contract/ public surface. Deptrac to enforce…

gerard-labs/superpowers-api-platform · 120 tokens