laravel-specialist
构建稳健的 Laravel 应用程序
Laravel 团队需要针对模型、API、队列、Livewire 和测试的一致模式。此技能为 Claude、Codex 和 Claude Code 提供聚焦于 Laravel 实现的指导。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "laravel-specialist" from https://skillstore.io/skills/jeffallan-laravel-specialist.md and its manifest at https://skillstore.io/api/skills/jeffallan-laravel-specialist/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“laravel-specialist”。 构建包含分类和作者的 posts API。
预期结果:
- 针对 posts、users、categories 和 comments 的清晰模型与关系计划。
- 包含请求验证和 API 资源的路由与控制器大纲。
- 针对创建、过滤、权限和分页的聚焦测试计划。
正在使用“laravel-specialist”。 为发布通知添加后台任务。
预期结果:
- 包含重试、超时和失败处理指导的队列任务设计。
- 避免慢速 Web 请求的分发策略。
- 使用队列 fake 和失败场景的测试方法。
正在使用“laravel-specialist”。 改进 Livewire 编辑表单。
预期结果:
- 包含验证、授权和加载状态的组件结构。
- 针对输入、错误和保存行为的模板计划。
- 针对有效更新、无效数据和拒绝访问的测试大纲。
安全审计
安全All 96 static findings were reviewed against the cited Laravel documentation and examples. The flagged patterns are benign framework method calls, documented Artisan commands, test fixtures, example URLs, and standard environment-backed queue configuration; no prompt injection or exfiltration intent was found.
风险因素
⚡ 包含脚本 (7)
🔑 环境变量 (2)
⚙️ 外部命令 (22)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/jeffallan-laravel-specialist/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/jeffallan-laravel-specialist?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/jeffallan-laravel-specialist?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/jeffallan-laravel-specialist/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/jeffallan-laravel-specialist.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
jeffallan. (2026). laravel-specialist security audit report (audit version 5) [Author version 1.1.0]. Skillstore. https://skillstore.io/skills/jeffallan-laravel-specialist/audits/5BibTeX 引用
@techreport{jeffallan-jeffallan-laravel-specialist-2026,
author = {jeffallan},
title = {laravel-specialist security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/jeffallan-laravel-specialist/audits/5},
note = {Author version 1.1.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "laravel-specialist security audit report (audit version 5)"
version: "1.1.0"
type: report
authors:
- name: "jeffallan"
date-released: "2026-08-07"
url: "https://skillstore.io/skills/jeffallan-laravel-specialist/audits/5"
identifiers:
- type: other
value: "skillstore:jeffallan-laravel-specialist:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
实现 Laravel 功能
为新的产品功能创建模型、迁移、控制器、资源、服务和测试。
提升 API 质量
为 Laravel API 优化路由、表单请求、API 资源、中间件、分页和版本控制。
稳定队列和 Livewire
为交互式工作流添加队列任务、Horizon 监控、Livewire 验证、授权和测试。
试试这些提示
为一篇博客文章创建 Laravel 模型和迁移。包含 fillable 字段、casts、relationships 和一个简单的功能测试。
为 posts 构建 Laravel API 端点。包含 routes、controller actions、form requests、API resources、pagination 和 authorization notes。
为图像处理设计 Laravel 队列工作流。包含 jobs、retries、failed job handling、Horizon monitoring 和 tests。
审查此 Laravel 功能计划的可扩展性、安全性、测试、队列、Eloquent 性能和 Livewire 行为。推荐具体更改。
最佳实践
- 在更改 Laravel 功能之前,只加载相关的参考文件。
- 将实现指导与验证、授权和聚焦测试配套使用。
- 根据目标 Laravel 版本和项目约定审查生成的示例。
避免
- 不要在未添加项目特定授权规则的情况下复制示例。
- 不要在未经审查的情况下将队列或 CORS 示例用作生产配置。
- 不要将控制器、模型和服务职责混合在同一层中。
常见问题
此技能面向哪些 Laravel 版本?
它能帮助提升 Eloquent 性能吗?
它包含 API 指导吗?
它支持 Livewire 工作吗?
它能设计队列系统吗?
它能替代安全审查吗?
开发者详情
作者
jeffallan许可证
MIT
作者版本
v1.1.0
Skillstore 修订
r2
引用
1c2ebded2116f8124f45dba86a2e567f56e64d8e
维护新鲜度
2026/8/9
使用量
5 次下载 · 141 次浏览
文件结构