Aller au contenu
Skillpedia
API et serveurs (backend)48k · #5027

laravel-development-workflow

Ce qu’il fait

Cet outil vous aide à effectuer des modifications correctes et faciles à maintenir dans une application Laravel. Il veille à ce que les corrections et les nouvelles fonctionnalités s'intègrent au projet existant et soient correctement testées.

Quand l’utiliser

  • ✓Lorsque vous ajoutez une nouvelle fonctionnalité à un projet Laravel.
  • ✓Lorsque vous corrigez un bug dans une application Laravel.
  • ✓Lorsqu'une modification doit être testée pour vérifier qu'elle ne casse pas d'autres parties du système.

Lien du skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/laravel-development-workflow/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/laravel-development-workflow/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Corrigez le bug qui empêche l'utilisateur de se connecter et ajoutez un test pour éviter que cela ne se reproduise.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'outil commence par comprendre le fonctionnement de l'application, puis identifie la cause exacte du problème ou l'emplacement adéquat pour la nouvelle fonctionnalité. Ensuite, il effectue la modification en respectant les règles du projet et ajoute des tests pour confirmer que tout fonctionne comme prévu.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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:

  1. Reproduce the failure through the narrowest reliable path.
  2. Trace the data and control flow to the actionable root cause.
  3. Add or update a regression test that fails for that cause when practical.
  4. Implement the smallest fix that restores the intended invariant.
  5. 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:

  1. Run the narrowest affected test or reproduce the original failure.
  2. Run the relevant feature, unit, or integration test group.
  3. Run static analysis, formatting, and linting configured by the repository.
  4. 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;

…

Questions fréquentes

Qu'est-ce que Laravel ?

Laravel est un « framework » (une structure de travail) populaire pour créer des applications web avec le langage de programmation PHP.

Que signifie « diagnostic de la cause racine » ?

Cela signifie trouver la véritable raison d'un problème, plutôt que de se contenter de traiter ses symptômes.

Que sont les « tests de non-régression » ?

Ce sont des tests qui vérifient qu'une modification faite dans une partie du code n'a pas cassé d'autres parties qui fonctionnaient déjà.

Détails

Description originale de l’auteur

Build and fix existing Laravel applications through root-cause diagnosis, repository-native implementation, regression coverage, and risk-based verification.

repo: sickn33/agentic-awesome-skills

Popularité

Étoiles GitHub
48k
Position au classement
#5027
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires