Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

brainstorming-laravel头脑风暴 Laravel

Agent Skill

brainstorming-laravel 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,882

周安装

80

GitHub Stars

35

下载量

659
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:brainstorming-laravel(头脑风暴 Laravel)
来源仓库:https://github.com/iserter/laravel-claude-agents
仓库路径:skills/brainstorming-laravel
安装命令:
npx skills add https://github.com/iserter/laravel-claude-agents --skill brainstorming-laravel
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/iserter/laravel-claude-agents --skill brainstorming-laravel

简介

专为 Laravel 项目定制的设计助手,遵循 Eloquent、Route 等最佳实践展开构思。

  • 先扫描现有 migrations/models 确定上下文,再询问具体 feature 意图。
  • 输出包含数据库 schema 草图、控制器逻辑分层与前端组件划分建议。
  • 拒绝破坏现有命名约定或引入不必要依赖的“炫技”式改动。
  • brainstorming-laravel 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Brainstorming Laravel Ideas Into Designs

Overview

Help turn Laravel feature ideas into fully formed designs and specs through natural collaborative dialogue, focusing on Laravel best practices and ecosystem patterns.

Start by understanding the current Laravel project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design in small sections (200-300 words), checking after each section whether it looks right so far.

The Process

Understanding the idea:

  • Check out the current Laravel project state first (routes, models, migrations, recent commits)
  • Ask questions one at a time to refine the idea
  • Prefer multiple choice questions when possible, but open-ended is fine too
  • Only one question per message - if a topic needs more exploration, break it into multiple questions
  • Focus on understanding: purpose, Laravel patterns, constraints, success criteria

Example Questions:

  • "Should this be a queue job or run synchronously?"
  • "Which authentication approach: Sanctum, Passport, or custom?"
  • "Will this need real-time updates via broadcasting?"
  • "Should we use Eloquent events or explicit service calls?"

Exploring approaches:

  • Propose 2-3 different Laravel approaches with trade-offs
  • Present options conversationally with your recommendation and reasoning
  • Lead with your recommended option and explain why

Example:

For the notification system, I see three approaches:

1. Laravel Notifications with database channel (recommended)
   - Built-in, follows Laravel conventions
   - Easy to add email/Slack later
   - Simple to mark as read
   Trade-off: Less flexible for complex notification logic

2. Custom Event/Listener system
   - Maximum flexibility
   - Can add complex rules
   Trade-off: More code to maintain

3. Third-party package (like Laravel Echo)
   - Real-time out of the box
   Trade-off: External dependency, overkill if not needed

I'd recommend #1 for most cases - start simple, Laravel's notification system is excellent and you can always extend it later if needed.

Which approach feels right for your use case?

Presenting the design:

  • Once you believe you understand what you're building, present the design
  • Break it into sections of 200-300 words
  • Ask after each section whether it looks right so far
  • Cover: database schema, models & relationships, routes & controllers, services/actions, queues/events, API resources, validation, testing
  • Be ready to go back and clarify if something doesn't make sense

Laravel-Specific Design Sections

1. Database Schema

First, let's look at the database design:

We'll need three tables:
1. `posts` - title, slug, content, status, published_at
2. `tags` - name, slug
3. `post_tag` - pivot table for many-to-many

The posts table will have a foreign key to users, indexed on status and published_at for common queries. We'll use an enum for status (draft, published, archived) to keep it clean.

Does this schema structure make sense for what we're building?

2. Models & Relationships

For the models, we'll have:

Post model with:
- belongsTo relationship to User
- belongsToMany relationship to Tag
- Scopes: published(), draft(), recent()
- Casts: published_at as datetime, metadata as array
- Factory for testing

Tag model with:
- belongsToMany relationship to Post
- Slug auto-generation on save

Should we add soft deletes to posts, or will hard deletes work?

3. API Design

For the API endpoints, following RESTful conventions:

GET    /api/posts           - List posts (paginated)
POST   /api/posts           - Create post
GET    /api/posts/{post}    - Show post
PUT    /api/posts/{post}    - Update post
DELETE /api/posts/{post}    - Delete post

Authentication via Sanctum, rate limited to 60 requests/minute.
API resources will transform the output, hiding sensitive data.

Does this API structure cover your needs?

4. Business Logic

The posting workflow:

When a post is published:
1. PostService validates the post is ready (has title, content)
2. Sets published_at timestamp
3. Dispatches NotifySubscribers job to queue
4. Fires PostPublished event for other listeners
5. Clears related caches

We'll use a service class to keep controllers thin, and queues for email notifications so publishing is fast.

Is this flow what you had in mind?

After the Design

Documentation:

  • Write the validated design to docs/designs/YYYY-MM-DD-<feature>-design.md
  • Include: feature overview, database schema, API endpoints, business logic flow
  • Commit the design document to git

Implementation (if continuing):

  • Ask: "Ready to set up for implementation?"
  • Create implementation checklist
  • Consider using test-driven development approach

Key Principles

  • One question at a time - Don't overwhelm with multiple questions
  • Multiple choice preferred - Easier to answer than open-ended when possible
  • YAGNI ruthlessly - Remove unnecessary features, keep it simple
  • Laravel conventions first - Use built-in Laravel features before custom solutions
  • Explore alternatives - Always propose 2-3 approaches before settling
  • Incremental validation - Present design in sections, validate each
  • Be flexible - Go back and clarify when something doesn't make sense

Laravel-Specific Considerations

When brainstorming Laravel features, consider:

Architecture:

  • Will this be a monolith or need microservices?
  • What design patterns fit best (repository, service layer, actions)?
  • How will this scale?

Database:

  • What relationships are needed?
  • What indexes for performance?
  • Should we use polymorphic relationships?

Performance:

  • Should this use queues?
  • What caching strategy?
  • Eager loading requirements?

Testing:

  • What factories are needed?
  • Feature tests vs unit tests?
  • How to test jobs/events?

Security:

  • Authorization via policies or gates?
  • What validation rules?
  • Rate limiting needs?

Example Brainstorming Session

Claude: I see you want to add a comment system. Let me understand the requirements.

First question: Should comments be nested (replies to replies) or just one level deep (replies to posts only)?

User: Just one level - comments on posts.

Claude: Got it. And for moderation, which approach:
A) All comments published immediately
B) Comments from new users require approval
C) All comments require approval

User: B - new users need approval.

Claude: Perfect. For notifications when someone comments:
A) Real-time via Laravel Echo and WebSockets
B) Email only
C) In-app notifications (database)

User: In-app notifications.

Claude: Excellent. Let me present the design...

[Design sections follow]

Common Laravel Brainstorming Topics

  • Authentication flow (SPA vs traditional)
  • API design (REST vs GraphQL)
  • Real-time features (Pusher vs Socket.io vs Reverb)
  • File upload strategy (local vs S3)
  • Multi-tenancy approach
  • Payment integration (Stripe, Paddle, Cashier)
  • Search implementation (Scout, Elasticsearch)
  • Admin panel (Nova, Filament, custom)

Remember

The goal is to arrive at a clear, actionable Laravel design that:

  • Follows Laravel conventions
  • Uses appropriate Laravel ecosystem packages
  • Is testable and maintainable
  • Solves the actual problem without over-engineering
  • Can be implemented incrementally

Ask questions until you understand, then design in small validatable chunks.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Cursor

28.7%
按下载量换算189

OpenCode

24.37%
按下载量换算161

Claude Code

18.61%
按下载量换算123

windsurf

12.57%
按下载量换算83

Antigravity

7.39%
按下载量换算49

trae

3.57%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills