symfony-upgrade

symfony-upgrade is a skill for Claude Code from krzysztofsurdy/code-virtuoso. It costs 87 tokens per session (2,305 once invoked), scanned C, original, MIT.

A guide for upgrading Symfony, a PHP framework, between minor or major versions. It uses a deprecation-first approach: remove old features before moving to a newer version.

In plain words
What is it for?
It helps plan Symfony upgrades, fix deprecation warnings, update bundles and configuration recipes, and check the upgrade with tests.
Why use it?
It reduces upgrade problems by checking the official change notes, updating dependencies and recipes, and dealing with warnings step by step.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the frameworks-virtuoso plugin — 4 skills shipped together

Good fit It helps plan Symfony upgrades, fix deprecation warnings, update bundles and configuration recipes, and check the upgrade with tests.

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

Made for: Claude Code.

Or install frameworks-virtuoso, the plugin that ships this one along with the rest of its 4 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/symfony-upgrade"><img src="https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/symfony-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,305 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00087 $0.02305
Opus 5 $0.00044 $0.01153
Sonnet 5 $0.00017 $0.00461
Haiku 4.5 $0.00009 $0.00231

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

Security

Grade C, and why

symfony-upgrade scanned grade C with 1 finding 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 11d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf var/cache/*
skills/frameworks/symfony/symfony-upgrade/SKILL.md · 286 lines

How it starts

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

Symfony Framework Upgrade

Symfony's upgrade model is built on one core insight: a new major version is identical to the last minor version of the previous branch, minus deprecated code. Fix all deprecations first, then the major upgrade is trivial.

Core Principles

Principle Meaning
Changelog first Before any upgrade, search the web for the actual UPGRADE-X.Y.md file or ask the user for the changelog - never rely on static knowledge alone
Deprecation-first Fix every deprecation on the current version before upgrading to the next major - Symfony 8.0 is 7.4 minus deprecations
Incremental minor upgrades Upgrade 6.2 -> 6.3 -> 6.4, never skip minors - each surfaces new deprecations
Recipes keep config current Run composer recipes:update after every upgrade to sync configuration files
Test deprecation count Use SYMFONY_DEPRECATIONS_HELPER to fail builds when direct deprecations appear
Update bundles first Third-party bundles are the most common blocker - update them before bumping Symfony

Critical First Step: Read the Changelog

Before touching any code or running any command, you MUST obtain the actual changelog for the target version:

  1. Search the web for Symfony UPGRADE-X.Y.md (e.g., Symfony UPGRADE-7.0.md github)
  2. Or ask the user to provide the changelog / release notes
  3. Read the UPGRADE file in the Symfony repository: https://github.com/symfony/symfony/blob/X.Y/UPGRADE-X.Y.md
  4. Check the Symfony blog for the release announcement with highlighted changes

This is non-negotiable. Each version has unique changes that static skill knowledge cannot fully capture. The changelog tells you exactly what broke, what was deprecated, and what was removed.


Symfony Release Model

Release Type Cycle Support Example
Patch (X.Y.Z) Monthly Bug fixes only 7.4.1 -> 7.4.2
Minor (X.Y) Every 6 months (May + November) May add deprecations, no BC breaks 7.3 -> 7.4
Major (X.0) Every 2 years (November, odd years) Removes deprecated code, may have BC breaks 7.x -> 8.0
LTS (X.4) Always the X.4 release 3 years bug fixes, 4 years security fixes 6.4 LTS, 7.4 LTS

Read the full file on GitHub · 286 lines

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. 11d ago First seen · 286 lines · 87 tokens per session scan C b55d00c64f90

Subscribe to this mod's changes

symfony-upgrade is a skill published in the GitHub repository krzysztofsurdy/code-virtuoso (21 stars, last pushed 3mo ago), licensed MIT. It adds 87 tokens to every session and 2,305 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

mvc-expert

Expert guidelines to refactor legacy PHP codebases into clean, modern, and scalable MVC-structured projects / Pedoman ahli untuk merefaktor codebase PHP lama menjadi proyek terstruktur MVC yang bersih, modern, dan skalabel.

roedyrustam/vibes-plug · 51 tokens

bd-better-route-bridge

Compose better-data DTOs with the better-route library — use BetterRouteBridge::{get, post, put, patch, delete} to register a REST route that hydrates the request into a DTO, validates, calls the handler with (DataObject, mixed $request), and presents returned DataObject values through Presenter with…

Lonsdale201/wp-agent-skills · 214 tokens

bd-data-object

Add or modify DataObject subclasses inside the better-data library — the immutable, attribute-decorated DTOs the whole library is built around. Every DTO is final readonly class extends DataObject with constructor-promoted typed parameters; sources hydrate via ::fromArray, sinks project via SinkProjection, the…

Lonsdale201/wp-agent-skills · 206 tokens

bd-hydration-coercion

Modify how raw values become typed property values in better-data — work in TypeCoercer (primitives + DateTime + Enum + Secret) or DataObject::coerceParameter (attribute-aware — ListOf, Encrypted, etc.). Critical layering — TypeCoercer is pure, must stay callable from a no-WordPress unit test, no side effects, no…

Lonsdale201/wp-agent-skills · 224 tokens

wp-plugin-architecture

Designs and reviews the internal architecture of a WordPress plugin — src/ folder layout, Composer PSR-4 one-class-per-file discipline, PascalCase filenames matching class names, no class-.php legacy layout, Schema/Constants placement, composition-root vs singleton decisions, conditional asset enqueueing, script…

Lonsdale201/wp-agent-skills · 129 tokens

wp-plugin-bootstrap

Scaffolds and reviews the main entry-point PHP file of a WordPress plugin — header (with Requires Plugins for WP 6.5+), ABSPATH guard, file/path/url/version constants, Composer PSR-4 autoload with src/ as the default class root, optional scoped fallback for release ZIP safety, PascalCase class filenames that match…

Lonsdale201/wp-agent-skills · 183 tokens