Laravel Quality
Laravel Quality analyzes your Laravel codebase for potential issues, improving code quality and reducing bugs proactively.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laravel-quality npx -- -y @trustedskills/laravel-quality
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-quality": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-quality"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The laravel-quality skill enables AI agents to generate, refactor, and validate Laravel applications while enforcing strict code quality standards. It integrates directly with the development workflow to ensure adherence to best practices without manual intervention.
When to use it
- Enforcing PSR-12 coding standards across new feature branches before merging.
- Refactoring legacy monolithic controllers into smaller, testable service classes.
- Validating Eloquent query performance and identifying potential N+1 problems.
- Ensuring consistent dependency injection patterns throughout the application.
Key capabilities
- Automated code analysis for Laravel-specific best practices.
- Real-time refactoring suggestions to improve architecture.
- Integration with existing CI/CD pipelines for quality gates.
- Support for both artisan CLI commands and IDE extensions.
Example prompts
- "Refactor this controller to follow SOLID principles using the
laravel-qualityskill." - "Analyze my current Laravel project structure and suggest improvements for maintainability."
- "Generate a new model with strict validation rules that passes all quality checks."
Tips & gotchas
Ensure your environment has the latest version of PHP and Composer installed before running quality checks. The skill may flag false positives in complex legacy codebases, so review suggestions manually before applying them to production systems.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.