← Zurück zu ERP-Systembauer
Entdecke, wie der Skill hilft
Laravel-Codebasis erkunden
Erfasst installierten Laravel-Stack und tatsächliche Projektstruktur vor API-, Muster- und Prüfbefehlsauswahl.
laravel-codebase-discovery
Teammitglieder mit diesem Skill
Wann ist der Skill hilfreich?
Nutze diesen Skill in unbekannten Anwendungen oder zur Prüfung von Upgradeannahmen.
Wobei hilft er dir?
- Liest Composer-Versionen sowie Test-, Formatierungs- und Analysekonfiguration.
- Unterscheidet vorhandenes Anwendungsskelett von neueren Standardlayouts.
- Lernt benachbarte Controller-, Modell-, Request- und Policymuster.
Das könntest du fragen
Erkunde Kundenverwaltung, installierte Pakete und Prüfbefehle vor dem Vorschlag eines neuen Endpunkts. Verfolge eine bestehende Kundenänderung durch Route, Request, Policy und Action. Nutze diese Konventionen zur Aufwandsschätzung und Auswahl gezielter Tests.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Laravel Codebase & Version Discovery
Verify the project's actual Laravel, PHP, package versions and structure before proposing or writing code.
1. Versions, packages and tooling
- Read
composer.jsonandcomposer.lockfor the installedphpconstraint,laravel/frameworkversion and first-party or ecosystem packages (Sanctum, Horizon, Cashier, Pennant,Octane, Reverb, Inertia, Livewire, Filament, Spatie packages). - Check
composer.jsonscripts,phpunit.xml/phpunit.xml.dist,pest.php,pint.json,phpstan.neon*andrector.phpto see how the project runs tests, formatting and static analysis. - When version-specific behavior is uncertain, inspect the installed source in
vendor/laravel/frameworkor the official docs for that exact major version. Never assume a newer Laravel feature exists without checking.
2. Skeleton and lifecycle structure
- Check whether the app uses the Laravel 11+ streamlined skeleton (
bootstrap/app.phpwithApplication::configure(),withRouting(),withMiddleware(),withExceptions(),bootstrap/providers.php, Console Commands auto-discovery inapp/Console/Commands/and schedules inroutes/console.php) or the Laravel 10 structure (app/Http/Kernel.php,app/Console/Kernel.php,app/Exceptions/Handler.php). - An upgraded Laravel 11 or 12 app may intentionally keep its Laravel 10
KernelandHandlerclasses. Follow the structure that actually exists in the repository.
3. Infer local conventions from sibling files
- Read 2–3 sibling files in each directory you will touch (
app/Models,app/Http/Controllers,app/Http/Requests,app/Policies,app/Jobs,tests/Feature) before creating or editing code. - Note how business logic is organized (thin controllers with Form Requests, Action classes, Services, Events/Jobs, or domain folders) and match it; do not introduce a new layer (such as a Repository or Service layer) unless the codebase already uses it or the task genuinely requires it.
- Trace the full lifecycle for the affected path across HTTP requests, CLI commands and long-running queue workers, including how tenant or customer context is resolved in each environment.
Enthaltene Dateien 2
LICENSE.txtSKILL.md
