laravel-development-workflow
Helps your agent fix and improve Laravel applications. It finds the root cause of problems and ensures everything works well.
What it does
This tool helps make correct and maintainable changes in a Laravel application. It ensures that fixes and new features fit into the existing project and are properly tested.
When to use it
- ✓When adding a new feature to a Laravel project.
- ✓When fixing a bug in a Laravel application.
- ✓When a change needs to be tested to ensure it doesn't break other parts of the system.
Example of what to ask your AI
“Fix the bug where the user cannot log in and add a test to ensure this doesn't happen again.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool first understands how the application works, identifies the exact cause of the problem or the right place for the new feature. Then, it makes the change following the project's rules and adds tests to confirm everything is working as expected.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill laravel-development-workflowOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/laravel-development-workflow/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from 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;
…
FAQ
What is Laravel?
Laravel is a popular 'framework' (a work structure) for building web applications using the PHP programming language.
What does 'root-cause diagnosis' mean?
It means finding the true reason why a problem is happening, rather than just treating the symptoms.
What are 'regression tests'?
These are tests that ensure a change made in one part of the code hasn't broken other parts that were already working.
Details
Original description by the author
Build and fix existing Laravel applications through root-cause diagnosis, repository-native implementation, regression coverage, and risk-based verification.
Popularity
- GitHub stars
- 48k
- Ranking position
- #3413
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
api-connector-builder
Has your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
affaan-m/ECC
api-design
Helps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
affaan-m/ECC
backend-patterns
Helps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.
affaan-m/ECC