routing-and-controllers
Installation
SKILL.md
Routing and Controllers
When to Activate This Skill
Activate this skill whenever:
- Creating new controllers or modifying existing ones
- Registering routes in
routes/web.phpor other route files - Working with RESTful resource routing
- Understanding how routes map to Wayfinder TypeScript actions
- Troubleshooting missing controller actions or route registration issues
The Complete Workflow
When creating a new controller with a route:
- Create the controller using Artisan:
php artisan make:controller JobController --no-interaction