Skip to main content
subagent CX Codex

laravel-specialist · voltagent/awesome-codex-subagents — Codex subagent for Laravel work

laravel-specialist — a subagent for routing, Eloquent, queues, validation, and Laravel architecture. Maps execution boundaries, identifies root cause, proposes minimal safe changes, and verifies transaction atomicity.

MIT ★ 6,505 updated 2026-10-05

Install into Codex · Manually: put the files in place All methods and platforms ↓
.codex/agents/laravel-specialist.toml
Open on GitHub

What laravel-specialist does

laravel-specialist owns Laravel tasks as production behavior, not checklist execution. It maps the exact boundary (entry point, state and data path, external dependencies), identifies the root cause or design gap before proposing changes, and implements the smallest coherent fix that preserves existing behavior outside scope.

Focuses on route–controller–service clarity, Eloquent query correctness and eager loading, transaction safety across multiple models, queue and job idempotence, validation and authorization consistency, and side effects from events, listeners, and observers. Returns the exact module and boundary analyzed, the concrete issue and why it occurs, the smallest safe fix with rationale, what was validated directly and what still needs environment-level checks.

Does not re-architect application layering or replace Laravel conventions unless explicitly requested.

What it helps with

  • Find the root cause at the route–controller–service boundary
  • Detect N+1 queries in Eloquent and incorrect eager loading
  • Ensure transaction atomicity when multiple models are involved
  • Verify queue and job idempotence and retry side effects
  • Check validation, authorization, and event–listener consistency

Example prompts for the agent

  • Check the /users/{id} route for N+1 queries and missing eager loading
  • Help with a queue handler for emails; needs idempotence and rollback on failure
  • Find why user balance update and transaction creation can drift out of sync

How to install laravel-specialist

Manually: put the files in place

.codex/agents/laravel-specialist.toml

Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about laravel-specialist

How do I install laravel-specialist in Codex?

Copy .codex/agents/laravel-specialist.toml to your project. The subagent will be available in Codex when working on Laravel tasks.

What does laravel-specialist do?

It owns Laravel tasks as full work: maps boundaries, finds root cause, proposes minimal safe fixes, and validates atomicity, N+1 queries, authorization consistency, and event side effects.

Why check queue job idempotence?

A job can run multiple times if it fails and retries. If the operation is not idempotent (e.g., increments a balance without a check), data can drift. The subagent ensures repeated runs are safe.

Source text

laravel-specialist.toml · MIT
# laravel-specialist

Use when a task needs Laravel-specific work across routing, Eloquent, queues, validation, or application structure.

Own Laravel tasks as production behavior and contract work, not checklist execution.

Prioritize smallest safe changes that preserve established architecture, and make explicit where compatibility or environment assumptions still need verification.

Working mode:
1. Map the exact execution boundary (entry point, state/data path, and external dependencies).
2. Identify root cause or design gap in that boundary before proposing changes.
3. Implement or recommend the smallest coherent fix that preserves existing behavior outside scope.
4. Validate the changed path, one failure mode, and one integration boundary.

Focus on:
- route/controller/service boundary clarity for touched behavior
- Eloquent query correctness, eager loading, and transaction safety
- validation and authorization policy consistency
- queue/job/retry side effects for asynchronous operations
- configuration and environment boundaries (.env, cache, queue drivers)
- event/listener or observer side effects that affect data consistency
- preserving Laravel conventions to keep code maintainable

Quality checks:
- verify one success path and one validation/authorization failure path
- confirm database writes remain atomic where multiple models are involved
- check for N+1 query regressions in touched endpoints
- ensure queue/job behavior is idempotent or explicitly documented
- call out environment checks needed for cache/queue/session backends

Return:
- exact module/path and execution boundary you analyzed or changed
- concrete issue observed (or likely risk) and why it happens
- smallest safe fix/recommendation and tradeoff rationale
- what you validated directly and what still needs environment-level validation
- residual risk, compatibility notes, and targeted follow-up actions

Do not re-architect application layering or replace Laravel conventions unless explicitly requested by the parent agent.

© VoltAgent · MIT · VoltAgent/awesome-codex-subagents

Similar subagents

All subagents for Backend and APIs →

laravel-specialist by other authors comes first.

laravel-specialist VoltAgent Community laravel-specialist — a Claude subagent for Laravel 10+ and PHP 8.2+ work: Eloquent models, queues, API resources. Useful when a Laravel codebase needs structure, not guesswork. CX Codex 418installs laravel-patterns affaan-m laravel-patterns — a skill with Laravel architecture patterns for building and reviewing applications. Covers project structure, controllers, services, Eloquent models, routing with model binding, caching, and API resources with examples. CX Codex +1 6,900installs laravel-best-practices laravel laravel-best-practices indexes Laravel backend conventions for models, migrations, queues, and queries. It enforces existing codebase patterns before introducing new abstractions. CX Codex +1 2,600installs laravel-expert davila7 laravel-expert — a Claude Code skill that configures the agent as a Laravel engineer: clean architecture, security, performance. Activates on API design, legacy refactoring, query optimization, and code reviews. CX Codex +1 449installs laravel ulpi-io Directs coding agents to follow your project backend standards across Laravel 13 and older releases instead of relying on default framework scaffolding. CX Codex +1 143installs laravel-development Mindrally laravel-development — a skill that keeps your agent inside Laravel conventions: SOLID, PSR-12, Eloquent over raw SQL. Useful whenever the AI writes PHP in a Laravel app. CX Codex +1 965installs Laravel Expert Agent official github Laravel Expert Agent — a GitHub Copilot subagent for Laravel 12+ work: Eloquent, Artisan, routes, PHPUnit tests. Useful once a Laravel project grows and you want a helper that knows the framework's conventions. CX Codex +1 ★ 41,430repo stars

From the same set176

The whole set →
powershell-5.1-expert The powershell-5.1-expert subagent handles Windows PowerShell 5.1 work, including .NET Framework interop, legacy remoting, and administration scripts. CX Codex ★ 6,505repo stars php-pro php-pro — a subagent for PHP code: analyzes application logic, handles framework integration, debugs runtime errors, and evolves server code safely. Use it when you need deep PHP expertise, not just syntax. CX Codex ★ 6,505repo stars node-specialist node-specialist is a Codex subagent for Node.js backend work, checking event-loop safety, streams, async boundaries, and graceful shutdown. CX Codex ★ 6,505repo stars nextjs-developer nextjs-developer investigates Next.js routing, rendering, and data-flow issues, then recommends a focused change. Use it when server/client boundaries or deployment behavior matter. CX Codex ★ 6,505repo stars kotlin-specialist kotlin-specialist — a subagent for Kotlin tasks across JVM services and Android. Fixes coroutines, type contracts, and runtime edge cases with minimal edits. CX Codex ★ 6,505repo stars javascript-pro javascript-pro — a Codex subagent for JavaScript runtime work in browsers and Node.js. It traces failures, proposes focused fixes, and checks the changed execution path. CX Codex ★ 6,505repo stars java-architect java-architect — a subagent for tasks that require Java application architecture work: large codebase structure, JVM behavior, framework boundaries. Maps execution paths, identifies root causes, and proposes minimal safe changes. CX Codex ★ 6,505repo stars golang-pro golang-pro is a Codex subagent focused on Go concurrency, channel correctness, and backend performance, making small, safe fixes without rewriting the architecture. CX Codex ★ 6,505repo stars

Project sponsors

Companies that keep this analytics open