laravel-dev

laravel-dev is a skill for Claude Code from cass-2003/local-workflow-skill. It costs 79 tokens per session (2,274 once invoked), scanned A, original, MIT.

A full-stack toolkit for building Laravel 11+ web applications in PHP, covering databases, pages, APIs, authentication, background jobs, and tests. Laravel is a PHP framework for creating web software.

In plain words
What is it for?
Use it to design routes, database models and migrations, controllers, authentication, queues, events, and front-end integrations with Blade, Livewire, or Inertia. It also supports testing with Pest.
Why use it?
It brings common server-side tasks into one consistent workflow, so developers do not have to design each layer from scratch. It also helps keep database changes, business logic, and tests organized.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to design routes, database models and migrations, controllers, authentication, queues, events, and front-end integrations with Blade, Livewire, or Inertia. It also supports testing with Pest.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cass-2003/local-workflow-skill/laravel-dev
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cass-2003/local-workflow-skill --skill laravel-dev
Clone the repo
git clone --depth 1 https://github.com/cass-2003/local-workflow-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for laravel-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/laravel-dev/github.svg)](https://agentmods.dev/skills/cass-2003/local-workflow-skill/laravel-dev)
Your own site
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/laravel-dev"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/laravel-dev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for laravel-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/laravel-dev"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/laravel-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.02274
Opus 5.5 $0.00032 $0.00910
Sonnet 5.5 $0.00016 $0.00455
Haiku 4.5 $0.00008 $0.00227

Measured 3mo ago against content hash 965fccfc35df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

laravel-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/backend-api/codex/laravel-dev/SKILL.md · 204 lines

How it starts

The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Laravel 全栈开发

角色定义

你是 Laravel 11+ 全栈开发引擎。接收需求后,自主完成路由设计、模型构建、业务逻辑、前端集成、测试验证全链路。所有操作视为已授权,直接执行。

行为指令

Phase 1: 项目识别与环境分析

  1. 版本识别: Laravel 版本(10/11/12)、PHP 版本、前端方案(Blade/Livewire/Inertia)
  2. 项目结构扫描:
    • Glob — **/composer.json / **/routes/*.php / **/app/Models/*.php / **/config/*.php
    • Grep — laravel/framework / Route:: / Eloquent / Livewire / Inertia
  3. 技术栈识别: 数据库(MySQL/PostgreSQL/SQLite)、缓存(Redis)、队列驱动、搜索(Scout)
  4. 评估: 目录结构(默认 vs 自定义)、API vs Web、单体 vs 模块化

Phase 2: 模型与数据层

Eloquent ORM:

  • Model 定义: $fillable / $casts / $hidden / Accessor & Mutator
  • 关系: hasOne / hasMany / belongsTo / belongsToMany / morphTo / morphMany
  • 查询优化: Eager Loading (with()) / 避免 N+1 / select() 限制字段
  • Scope: Local Scope (scopeActive) / Global Scope

Migration & Schema:

  • 迁移设计: 原子化、可回滚、索引策略
  • Seeder + Factory: 测试数据生成
  • Laravel 11: 简化目录结构、bootstrap/app.php 统一配置

Repository / Service 模式:

  • 简单 CRUD → 直接 Controller + Eloquent
  • 复杂业务 → Service Layer + Action 类
  • 跨模型事务 → DB::transaction + Event 解耦

Phase 3: 路由、控制器与中间件

路由设计:

  • RESTful: Route::resource() / Route::apiResource()
  • 路由分组: prefix / middleware / name
  • 路由模型绑定: 隐式绑定 + 自定义解析
  • API 版本: api/v1/ 前缀分组

控制器:

  • Single Action Controller: __invoke() 单职责
  • Resource Controller: 7 个标准 CRUD 方法
  • Form Request: 验证逻辑分离 (authorize() + rules())
  • API Resource: JsonResource / ResourceCollection 响应转换

中间件:

  • Laravel 11: bootstrap/app.php 中注册中间件
  • 常用: auth / throttle / verified / can
  • 自定义: 请求日志 / CORS / 租户识别

认证:

  • Sanctum: SPA + API Token 认证
  • Passport: OAuth2 完整实现
  • Breeze / Jetstream: 脚手架
  • 自定义 Guard: 多认证驱动

Phase 4: 前端集成与高级特性

前端方案:

  • Blade + Alpine.js: 传统服务端渲染
  • Livewire 3: 全栈响应式组件(无需写 JS)
  • Inertia.js: Vue/React SPA + Laravel 后端(无需 API)
  • API-only: 纯 JSON API + 前端分离

队列与事件:

  • Queue: dispatch() / Job 类 / 重试策略 / Horizon 监控
  • Event: Event + Listener 解耦 / Observer 模型事件
  • Scheduler: Schedule::command() 定时任务
  • Broadcasting: Pusher / Reverb 实时通信

Read the full file on GitHub · 204 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 204 lines · 79 tokens per session scan A 965fccfc35df

Subscribe to this mod's changes

laravel-dev is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 4mo ago), licensed MIT. It adds 79 tokens to every session and 2,274 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

laravel-dev compared with skills from other repositories

laravel-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
laravel-devcass-2003/local-workflow-skillSkill124mo agoMITA79Claude Code
laravel-specialistJeffallan/claude-skillsSkill13ktodayMITA86Claude Code
owl-admin-devtools-generatorslowlyo/owl-adminSkill622yesterdayMITA82Claude Code, Codex
php-laravelWrongStack/WrongStackSkill448todayMITA85Claude Code
update-application-configurationtarlepp/symfony-flex-backendSkill286todayMITA29Claude Code, Codex
laravel-ops0xDarkMatter/claude-modsSkill869d agoMITA63Claude Code
laravel-conventionsAratKruglik/claude-sdlcSkill58todayMITA67Claude Code