一键导入
upgrade-assistant
Plan a Laravel or PHP upgrade by identifying blockers, risky code paths, and the safest execution order.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan a Laravel or PHP upgrade by identifying blockers, risky code paths, and the safest execution order.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Plan safe Laravel data migrations with phased rollout, backfills, double writes, verification, and rollback.
Review Laravel frontend performance, responsiveness, and Lighthouse-impacting best practices.
Review Laravel API endpoints for validation, authorization, abuse resistance, and safer defaults.
Review a Laravel app for deployment blockers across config, queues, caching, operations, and rollback readiness.
Review Laravel migrations and query paths for missing, redundant, or risky indexes before production.
Review Laravel workflows for retries, timeouts, idempotency, and graceful failure under partial outages.
| name | upgrade-assistant |
| description | Plan a Laravel or PHP upgrade by identifying blockers, risky code paths, and the safest execution order. |
| license | MIT |
| tags | ["laravel","php"] |
| version | 0.1.1 |
| compatible_agents | ["laravel/boost"] |
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.
composer.json, composer.lock, and important first-party or third-party packages.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.Dependency blockers, Code changes, Config/bootstrap changes, and Validation steps. Be explicit about what must happen before composer update, immediately after it, and before deployment.Preparation, Dependency updates, Application changes, Test pass, and Deployment checks. Include concrete commands, targeted PHPUnit or Pest suites, and smoke-test routes when relevant.Output expectations: return dependency blockers first, then a phased upgrade plan with concrete commands, test checkpoints, and deployment checks.
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"]
}
}
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.