Agent skill

Laravel Expert

by davila7 in davila7/claude-code-templates

Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions.

MITAuto-check passedBackend & APIs

Install Laravel Expert

skills CLI
$ npx skills add davila7/claude-code-templates --skill laravel-expert -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates laravel-expert --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/development/laravel-expert .claude/skills/laravel-expert && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
laravel-expert
GitHub stars
33k
Used in
5 other repos
Token cost
~967 tokens
SKILL.md length
420 words
Files
1
Skills in repo
479
Repo updated
First seen
Licence
MIT

At a glance

Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions.

  • Works in 5 steps: Architecture Overview → File Structure → Code Implementation → …
  • Tasks that involve Backend development
  • SKILL.md covers Skill Metadata, Role, Use This Skill When and Do NOT Use When, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Laravel Expert is an agent skill from davila7/claude-code-templates. Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Backend development and Design patterns. It works with Laravel. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve Backend development
  • Tasks that involve Design patterns

Example prompts

  • “/laravel-expert”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Architecture Overview
  2. File Structure
  3. Code Implementation
  4. Explanation
  5. Possible Improvements

What it can do on your machine

Read from SKILL.md and the folder at commit 79182c5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Laravel Expert loads about 967 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 420 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~967

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 79182c5, republished under its MIT licence (© davila7). 420 words, ~967 tokens.

Download SKILL.mdSave it as .claude/skills/laravel-expert/SKILL.md (or your agent's skills folder).
name
laravel-expert
description
Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).
risk
safe
source
community
date_added
2026-02-27

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
Show full SKILL.md (162 more words)Show less
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

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-tool/components/skills/development/laravel-expert of davila7/claude-code-templates.

Open the folder on GitHubat commit 79182c5

Used in 5 other repositories

We found 14 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Laravel Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Laravel Expert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Laravel Expert this skilldavila7/claude-code-templates33k5 repos~967Automated safety check: PassMIT
PHP ProJeffallan/claude-skills12k—~1.6kAutomated safety check: NotesMIT
Laravel Clean ArchitectureHoangNguyen0403/agent-skills-standard572—~913Automated safety check: PassMIT
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
Node Backend Development Guidelinesdiet103/claude-code-infrastructure-showcase10k2 repos~2kAutomated safety check: PassMIT

Similar skills

  • PHP Pro

    Jeffallan/claude-skills

    Writes strictly typed modern PHP 8.3+ for Laravel, Symfony and plain projects, with PHPStan level 9, PHPUnit or Pest tests, typed DTOs and secure defaults.

    12k GitHub stars~1.6k tokensUpdated 7 days ago
    Backend & APIsAuto-check: notes
  • Laravel Clean Architecture

    HoangNguyen0403/agent-skills-standard

    Implement Domain-Driven Design with typed DTOs, repository interfaces, and single-responsibility Action classes in Laravel.

    572 GitHub stars~913 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • Node Backend Development Guidelines

    diet103/claude-code-infrastructure-showcase

    Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.

    10k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Laravel Best Practices

    anonaddy/anonaddy

    Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.

    4.9k GitHub starsUsed in 13 repos~1.2k tokens
    Backend & APIsAuto-check passed

More from davila7/claude-code-templates

All 479 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    33k GitHub starsUsed in 11 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    33k GitHub starsUsed in 9 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    33k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    33k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    33k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    33k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Works with

Categories

Questions about Laravel Expert

What does Laravel Expert do?

Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Laravel Expert is an agent skill from davila7/claude-code-templates. Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions.

When should I use Laravel Expert?

Laravel Expert fits situations like: tasks that involve Backend development; tasks that involve Design patterns.

How do I install Laravel Expert in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill laravel-expert -a claude-code`. Or copy the skill folder (cli-tool/components/skills/development/laravel-expert in davila7/claude-code-templates) into .claude/skills/laravel-expert in your project. Claude Code loads it when a task matches its description.

How do I install Laravel Expert in Codex?

Run `npx skills add davila7/claude-code-templates --skill laravel-expert -a codex`. Or copy the skill folder (cli-tool/components/skills/development/laravel-expert in davila7/claude-code-templates) into .agents/skills/laravel-expert in your project. Codex loads it when a task matches its description.

Can I use Laravel Expert in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill laravel-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/laravel-expert, .gemini/skills/laravel-expert, .github/skills/laravel-expert and .opencode/skills/laravel-expert in your project.

What does Laravel Expert need to run?

SKILL.md names no scripts, command-line tools or credentials: Laravel Expert is instructions for the agent only.

Does Laravel Expert access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Laravel Expert safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Laravel Expert use?

Laravel Expert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Laravel Expert use?

About 967 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Laravel Expert?

Skills that share tags, products or a category with Laravel Expert: PHP Pro (Jeffallan/claude-skills, 12k stars), Laravel Clean Architecture (HoangNguyen0403/agent-skills-standard, 572 stars), Configuring Horizon (coollabsio/coolify, 63k stars) and Fortify Development (coollabsio/coolify, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Laravel Expert?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,552 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 11, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.