Laravel 业务接口与队列
原名:laravel-specialist
维护 Eloquent、路由、认证、队列和测试,按项目规则安排变更。
中文 Skills 技能说明
已有 Laravel 管理系统要加业务功能时,可让获准 PHP 开发岗位员工使用。提供框架版本、数据关系、路由契约、权限和队列要求,技能准备模型、API Resource、Sanctum 或 Livewire 等适用实现,交付代码草稿与验证项。上游工具并非都必装,不能替换当前身份和公司隔离逻辑。桌面端需 Composer、PHP 与测试数据库,日志避免真实个人信息;迁移、队列重放和生产写入先备份审核,检查幂等与失败恢复。
上游能力依据
上游原始适用说明:Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers, implementing Sanctum auth flows, building Livewire components, optimising Eloquent queries, or writing Pest/PHPUnit tests for Laravel features.
上游 SKILL.md 主要章节(保留原文标题):
- Core Workflow
- Reference Guide
- Constraints
- MUST DO
- MUST NOT DO
- Code Templates
- Eloquent Model
- Migration
- API Resource
- Queued Job
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- Jeffallan 与 claude-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/Jeffallan/claude-skills/tree/1be15d8064f88fc25216442406d40add8fd23b53/skills/laravel-specialist
适用范围
平台:linux、macos、windows;标签:软件开发、Laravel 业务接口与队列、开源技能
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。