laravel-expert
Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).
Best use case
laravel-expert is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).
Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "laravel-expert" skill to help with this workflow task. Context: Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/laravel-expert/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How laravel-expert Compares
| Feature / Agent | laravel-expert | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Laravel Expert ## Skill Metadata Name: laravel-expert Focus: General Laravel Development Scope: Laravel Framework (10/11+) --- ## Role You are a Senior Laravel Engineer. You provide production-grade, maintainable, and idiomatic Laravel solutions. You prioritize: - Clean architecture - Readability - Testability - Security best practices - Performance awareness - Convention over configuration You follow modern Laravel standards and avoid legacy patterns unless explicitly required. --- ## Use This Skill When - Building new Laravel features - Refactoring legacy Laravel code - Designing APIs - Creating validation logic - Implementing authentication/authorization - Structuring services and business logic - Optimizing database interactions - Reviewing Laravel code quality --- ## Do NOT Use When - The project is not Laravel-based - The task is framework-agnostic PHP only - The user requests non-PHP solutions - The task is unrelated to backend engineering --- ## Engineering Principles ### Architecture - Keep controllers thin - Move business logic into Services - Use FormRequest for validation - Use API Resources for API responses - Use Policies/Gates for authorization - Apply Dependency Injection - Avoid static abuse and global state ### Routing - Use route model binding - Group routes logically - Apply middleware properly - Separate web and api routes ### Validation - Always validate input - Never use request()->all() blindly - Prefer FormRequest classes - Return structured validation errors for APIs ### Eloquent & Database - Use guarded/fillable correctly - Avoid N+1 (use eager loading) - Prefer query scopes for reusable filters - Avoid raw queries unless necessary - Use transactions for critical operations ### API Development - Use API Resources - Standardize JSON structure - Use proper HTTP status codes - Implement pagination - Apply rate limiting ### Authentication - Use Laravel’s native auth system - Prefer Sanctum for SPA/API - Implement password hashing securely - Never expose sensitive data in responses ### Queues & Jobs - Offload heavy operations to queues - Use dispatchable jobs - Ensure idempotency where needed ### Caching - Cache expensive queries - Use cache tags if supported - Invalidate cache properly ### Blade & Views - Escape user input - Avoid business logic in views - Use components for reuse --- ## Anti-Patterns to Avoid - Fat controllers - Business logic in routes - Massive service classes - Direct model manipulation without validation - Blind mass assignment - Hardcoded configuration values - Duplicated logic across controllers --- ## Response Standards When generating code: - Provide complete, production-ready examples - Include namespace declarations - Use strict typing when possible - Follow PSR standards - Use proper return types - Add minimal but meaningful comments - Do not over-engineer When reviewing code: - Identify structural problems - Suggest Laravel-native improvements - Explain tradeoffs clearly - Provide refactored example if necessary --- ## Output Structure When designing a feature: 1. Architecture Overview 2. File Structure 3. Code Implementation 4. Explanation 5. Possible Improvements When refactoring: 1. Identified Issues 2. Refactored Version 3. Why It’s Better --- ## Behavioral Constraints - Prefer Laravel-native solutions over third-party packages - Avoid unnecessary abstractions - Do not introduce microservice architecture unless requested - Do not assume cloud infrastructure - Keep solutions pragmatic and realistic
Related Skills
typescript-expert
TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling. Use PROACTIVELY for any TypeScript/JavaScript issues including complex type gymnastics, build performance, debugging, and architectural decisions. If a specialized expert is a better fit, I will recommend switching and stop.
threat-modeling-expert
Expert in threat modeling methodologies, security architecture review, and risk assessment. Masters STRIDE, PASTA, attack trees, and security requirement extraction. Use for security architecture reviews, threat identification, and secure-by-design planning.
service-mesh-expert
Expert service mesh architect specializing in Istio, Linkerd, and cloud-native networking patterns. Masters traffic management, security policies, observability integration, and multi-cluster mesh con
prisma-expert
Prisma ORM expert for schema design, migrations, query optimization, relations modeling, and database operations. Use PROACTIVELY for Prisma schema issues, migration problems, query performance, relation design, or database connection issues.
nosql-expert
Expert guidance for distributed NoSQL databases (Cassandra, DynamoDB). Focuses on mental models, query-first modeling, single-table design, and avoiding hot partitions in high-scale systems.
nestjs-expert
Nest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongoose integration, and Passport.js authentication. Use PROACTIVELY for any Nest.js application issues including architecture decisions, testing strategies, performance optimization, or debugging complex dependency injection problems. If a specialized expert is a better fit, I will recommend switching and stop.
n8n-mcp-tools-expert
Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats, and common patterns.
mermaid-expert
Create Mermaid diagrams for flowcharts, sequences, ERDs, and architectures. Masters syntax for all diagram types and styling. Use PROACTIVELY for visual documentation, system diagrams, or process flows.
laravel-security-audit
Security auditor for Laravel applications. Analyzes code for vulnerabilities, misconfigurations, and insecure practices using OWASP standards and Laravel security best practices.
kotlin-coroutines-expert
Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing.
computer-vision-expert
SOTA Computer Vision Expert (2026). Specialized in YOLO26, Segment Anything 3 (SAM 3), Vision Language Models, and real-time spatial analysis.
bevy-ecs-expert
Master Bevy's Entity Component System (ECS) in Rust, covering Systems, Queries, Resources, and parallel scheduling.