laravel-architecture
БесплатноБез исполняемых скриптовНе проверенEnforce core architectural standards for scalable Laravel applications. Use when structuring controllers, service layers, action classes, Form Requests, or…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Laravel Architecture
Priority: P0 (CRITICAL)
Structure
See project structure for recommended directory layout.
Workflow
- Create Form Request for validation (
php artisan make:request StoreUserRequest). - Create Action class with single
handle()method for use case. - Inject Action into controller via constructor DI.
- Bind interfaces in
AppServiceProviderfor swappable implementations.
Controller Pattern
See implementation examples for slim controller, action class, and service container binding patterns.
Validation
- Use Form Requests with
authorize()andrules()methods. - Call
$request->validated()in controller for mass assignment. - Never use inline
$request->validate().
Anti-Patterns
- No logic in Controllers: Move to Services or Action classes.
- No manual instantiation: Use Service Container via DI.
- No inline
$request->validate(): Favor Form Request classes. - No excessive global helpers: Use class-based logic instead.
References
Установить laravel-architecture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл laravel-architecture?
Enforce core architectural standards for scalable Laravel applications. Use when structuring controllers, service layers, action classes, Form Requests, or Service Container bindings in Laravel projects.
Как установить скилл laravel-architecture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл laravel-architecture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic