itsmejay18/ai-skills-for-my-development-stack/troubleshooting-backend
Claude Code and agent skill by itsmejay18/ai-skills-for-my-development-stack
- community
Checking that the SKILL.md file is still in the repository.
Troubleshooting Laravel, PHP, and backend-related errors.
Install
npx vskill@latest install itsmejay18/ai-skills-for-my-development-stack/troubleshooting-backendSKILL.md
The same SKILL.md was published earlier as itsmejay18/ai-skills-for-my-development-stack/troubleshooting-backend.
Troubleshooting Backend Issues
When to Activate This Skill
Activate this skill when encountering:
- Laravel framework errors or exceptions
- PHP errors or type errors
- Database connection or query errors
- Route registration issues
- Controller or action problems
- Artisan command failures
- Type generation failures (PHP → TypeScript)
Common Backend Issues and Solutions
Route Registration Issues
Problem: Wayfinder action file not generated, import fails Cause: Route not registered in routes/web.php Solution:
- Check
routes/web.phpfor the route registration - Verify the controller class name matches
- Run
php artisan wayfinder:generate --no-interaction - Verify the file exists in
resources/js/actions/
See the routing-and-controllers skill for detailed workflow.
Type Generation Failures
Problem: TypeScript types not updating after PHP changes Cause: php artisan typescript:transform not run Solution:
Then regenerate Wayfinder:
Artisan Command Failures
Problem: Artisan commands fail or hang Cause: Configuration cache or stale files Solution:
Then retry the command.
Database Errors
Problem: Database connection fails or queries error Cause: Environment variables, migrations not run, or schema issues Solution:
- Check
.envfile for correct database credentials - Run
php artisan migrateif migrations pending - Check database schema with
php artisan tinkerand query directly
PHP Type Errors
Problem: Static analysis or runtime type errors Cause: Missing type hints or incorrect types Solution:
- Run
composer fixto check Larastan analysis - Add proper type hints to methods and properties
- Check the error message for the exact location and fix
Diagnostic Commands
When to Activate Other Skills
- Frontend errors appearing: Activate
troubleshooting-frontend - Routing/controller questions: Activate
routing-and-controllers - Testing failures: Activate
pest-testing
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking14-Debugging-Troubleshooting/troubleshooting-backend/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/itsmejay18/ai-skills-for-my-development-stack/troubleshooting-backend)