laravel-development-workflow
Что он делает
Этот инструмент помогает вносить корректные и легко поддерживаемые изменения в приложение на Laravel. Он следит за тем, чтобы исправления и новые функции вписывались в существующий проект и были должным образом протестированы.
Когда использовать
- ✓Когда вы добавляете новую функцию в проект на Laravel.
- ✓Когда вы исправляете ошибку в приложении на Laravel.
- ✓Когда изменение нужно проверить, чтобы убедиться, что оно не сломает другие части системы.
Ссылка на скилл
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/laravel-development-workflow/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Исправь баг, из-за которого пользователь не может войти в систему, и добавь тест, чтобы такая ситуация больше не повторялась.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Инструмент сначала разбирается, как устроено приложение, и находит точную причину проблемы или подходящее место для новой функции. Затем он вносит изменения по правилам проекта и добавляет тесты, чтобы подтвердить, что все работает как задумано.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Laravel Development Workflow
Make the requested Laravel behavior correct, maintainable within the existing application, and supported by evidence that matches the change's risk.
When to Use
- Use when implementing a feature in an existing Laravel application.
- Use when diagnosing and fixing a Laravel bug at its actionable root cause.
- Use when a Laravel change needs regression coverage and proportionate verification.
- Use when the project already has architectural or testing conventions that must be preserved.
Establish the Contract
Before editing:
- Read the repository instructions and inspect the relevant routes, models, controllers, actions or services, requests, policies, jobs, events, tests, and schema.
- Trace the current behavior far enough to identify the actual change boundary and existing conventions.
- Turn the request into a compact set of scenarios, important edge cases, and verifiable acceptance criteria. Keep this analysis in the working notes unless the user requests a separate artifact.
- Identify authorization, validation, transaction, queue, cache, and concurrency concerns only where they can affect this behavior.
Scale the analysis to the task. A focused validation fix does not need the same ceremony as a new multi-role workflow.
Fix Bugs at the Cause
For a bug:
- Reproduce the failure through the narrowest reliable path.
- Trace the data and control flow to the actionable root cause.
- Add or update a regression test that fails for that cause when practical.
- Implement the smallest fix that restores the intended invariant.
- Demonstrate that the regression test passes and that nearby behavior still works.
Do not substitute retries, broad exception handling, disabled validation, extra timeouts, or error suppression for a root-cause fix. If the failure cannot be reproduced locally, state what evidence is missing and use the strongest available static or targeted verification.
Build Features in the Existing Shape
- Reuse the application's established patterns and naming.
- Keep business rules in the layer where this codebase already places comparable rules.
- Use Eloquent relationships, form requests, policies, actions, services, events, or jobs when they improve this change or match local conventions—not as mandatory ceremony.
- Treat authorization and validation as explicit behavior at the system boundary.
- Preserve backwards compatibility unless the request requires a breaking change.
- Keep migrations reversible and safe for the application's supported database engines.
Create factories, seeders, fixtures, or a disposable command only when realistic data is needed for development or durable test coverage. Do not leave one-off scaffolding in the product solely to exercise a small change.
Verify Proportionately
Discover the project's supported commands from its configuration and documentation. Prefer this order:
- Run the narrowest affected test or reproduce the original failure.
- Run the relevant feature, unit, or integration test group.
- Run static analysis, formatting, and linting configured by the repository.
- Run the broader suite when the change's reach or project policy warrants it.
Cover the critical observable behavior, including the happy path and whichever edge cases, validation rules, permissions, database effects, events, notifications, jobs, or API contracts are actually affected. Avoid tests that only mirror implementation details.
Common commands may include:
php artisan test --filter=RelevantTest
vendor/bin/pest --filter=RelevantTest
vendor/bin/phpstan analyse
vendor/bin/pint --dirty
Use the commands the project provides; do not install or configure tools merely because they appear in this example.
Preserve the User's Environment
- Keep the change inside the requested application behavior and preserve unrelated working-tree changes.
- Do not run destructive database operations, production commands, deployments, credential changes, or external account actions unless the user or repository instructions explicitly place them in scope.
- Avoid exposing secrets in commands, logs, test output, or completion evidence.
- Prefer local, reversible verification and narrowly targeted data changes.
Completion Evidence
Before handing off, verify each acceptance criterion against current behavior. Report:
- what changed and why it fixes or implements the requested behavior;
…
Частые вопросы
Что такое Laravel?
Laravel - это популярный фреймворк (готовая структура для разработки) для создания веб-приложений на языке программирования PHP.
Что означает «диагностика первопричины»?
Это поиск истинной причины проблемы, а не только устранение ее внешних проявлений.
Что такое регрессионные тесты?
Это тесты, которые проверяют, что изменение в одной части кода не сломало другие части, которые уже работали.
Подробности
Оригинальное описание автора
Build and fix existing Laravel applications through root-cause diagnosis, repository-native implementation, regression coverage, and risk-based verification.
Популярность
- Звёзды на GitHub
- 48k
- Место в рейтинге
- #5027
- Лицензия
- MIT
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
00-andruia-consultant
48kПомогает агенту начинать или улучшать ИИ-проекты: анализирует код, подбирает инструменты и составляет план на испанском.
007
48kАгент проводит аудит безопасности и моделирование угроз для защиты проектов.
10-andruia-skill-smith
48kПомогает агенту создавать и улучшать ИИ-инструменты: описание работы, документация и проверка структуры.
20-andruia-niche-intelligence
48kАгент составляет обзор отрасли: контекст, правила, паттерны использования и риски по надёжным источникам.
Похожие скиллы
api-connector-builder
280kАгент создаёт новые подключения к API по существующему шаблону. Используйте, когда нужна ещё одна интеграция без нового способа делать то же самое.
api-design
280kПомогает агенту проектировать REST API по лучшим практикам: как API общаются, как показываются ошибки и как организовать данные.
backend-patterns
280kПомогает агенту с архитектурными паттернами серверной части и оптимизацией баз данных. Полезен при создании и проверке серверного кода.