upgrade-assistant
Skill27 starsChanged 8 months agoMITView on GitHub
Plan a Laravel or PHP upgrade by identifying blockers, risky code paths, and the safest execution order.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-hardening-patternsSkill
- data-migration-strategySkill
- deployment-readinessSkill
- frontend-performance-reviewSkill
- migration-index-reviewerSkill
- resilient-checkSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use this skill when preparing or executing a Laravel framework, first-party package, or PHP upgrade and you need a practical upgrade plan.
- Distinctive: line 32
Prefer official upgrade guides and package changelogs over guesswork.
- Distinctive: line 35
Keep the answer concise and practical.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Upgrade Assistant
When to use
Use this skill when preparing or executing a Laravel framework, first-party package, or PHP upgrade and you need a practical upgrade plan. It is most useful when the app has custom authentication, queues, broadcasting, Horizon, Octane, Livewire, Inertia, Filament, or a large test suite.
Input parameters
- Current and target Laravel or PHP versions.
composer.json,composer.lock, and important first-party or third-party packages.- Relevant upgrade guide links, changelog snippets, or failing tests.
- Constraints such as freeze windows or required backward compatibility.
- Whether the project uses common Laravel ecosystem packages such as Sanctum, Passport, Cashier, Scout, Horizon, Reverb, Jetstream, Livewire, Inertia, Filament, or Pest.
Procedure
- Confirm the current and target Laravel and PHP versions, then decide whether the safest path is a direct jump or incremental major-version upgrades.
- Inspect
composer.json,composer.lock,phpunit.xml,bootstrap/app.php,config/*.php, custom service providers, middleware registration, exception handling, and package-specific config to identify dependency blockers or published config drift. - Review Laravel-specific hotspots such as authentication, route model binding, queued jobs, broadcasting, notifications, custom casts, console commands, macros, test helpers, and any overridden framework internals.
- Prefer official upgrade guides and package changelogs over guesswork. Call out where framework defaults changed, where published config may need review, and which ecosystem packages are most likely to block the upgrade.
- Group findings into
Dependency blockers,Code changes,Config/bootstrap changes, andValidation steps. Be explicit about what must happen beforecomposer update, immediately after it, and before deployment. - End with a phased plan using these sections:
Preparation,Dependency updates,Application changes,Test pass, andDeployment checks. Include concrete commands, targeted PHPUnit or Pest suites, and smoke-test routes when relevant. - Keep the answer concise and practical. Do not dump a generic framework changelog; focus on the changes that matter for the actual app and dependency set.
Output expectations: return dependency blockers first, then a phased upgrade plan with concrete commands, test checkpoints, and deployment checks.
Examples
Prompt 1:
Use upgrade-assistant to plan a Laravel 11 to 12 upgrade with PHP 8.3. Start with package blockers, config changes, and the safest execution order.Prompt 2:
Help me upgrade this app from PHP 8.2 to 8.3 and Laravel 10 to 12. Focus on dependency blockers, risky framework touchpoints, and test checkpoints.JSON:
{
"skill": "upgrade-assistant",
"context": {
"current": {
"laravel": "10.x",
"php": "8.2"
},
"target": {
"laravel": "12.x",
"php": "8.3"
},
"focus": ["dependency_blockers", "config_changes", "test_plan"],
"packages": ["sanctum", "horizon", "pest", "livewire"]
}
}Smoke test
Feed the skill a Laravel app with an older composer.json, published config, and a few first-party packages. Verify that the response identifies real dependency blockers, highlights Laravel-specific risk areas, and returns a short phased upgrade plan instead of a generic package-update checklist.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

