Logo: Laravel 13 App Guidelines

Laravel 13 App Guidelines

Communautéit
thienanblog
laravel-13-app-guidelines

Implement Laravel 13 changes or upgrade Laravel 12 to 13 using verified package versions and project conventions. Use only for the installed or requested major; optional framework features are not required dependencies.

Iwwersiicht

Editeurthienanblog
Repositoryawesome-ai-agent-skills
Skill-Nummlaravel-13-app-guidelines
Stären
66
Forks
21
Matgeliwwert Dateien
4
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    thienanblog huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Laravel 13 App Guidelines an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/thienanblog/awesome-ai-agent-skills/tree/main/plugins/laravel-app-skills/skills/laravel-13-app-guidelines
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thienanblog/awesome-ai-agent-skills.git /tmp/awesome-ai-agent-skills
mkdir -p .claude/skills
cp -r /tmp/awesome-ai-agent-skills/plugins/laravel-app-skills/skills/laravel-13-app-guidelines .claude/skills/laravel-13-app-guidelines
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Laravel 13 App Guidelines an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Laravel 13 App Guidelines automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Laravel 13 App Guidelines net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Laravel 13 App Guidelines

Overview

Use a repository-first workflow for Laravel 13 work. Detect the actual framework, packages, frontend, command runner, and local conventions before selecting a Laravel pattern; do not turn optional Laravel 13 capabilities into dependencies.

Working agreement

Follow the user's request and applicable repository instructions over these defaults. Use existing authorization; ask only about missing decisions that materially affect scope, cost, safety, or the result. Continue independent authorized work while awaiting an answer.

Run in the main conversation by default. Delegation can increase usage: obtain explicit approval for the proposed agent count and scope before using subagents. Reuse that approval within its bounds; ask again before expanding the approved count or scope.

Execute the Workflow

  1. Read repository instructions such as AGENTS.md, CLAUDE.md, and relevant docs/ files before making decisions.
  2. Inspect composer.json, composer.lock, package.json, frontend lockfiles, bootstrap/app.php, bootstrap/providers.php, routes, configuration, and tests. Use php artisan about or composer show when dependencies are installed and the repository's command runner permits it.
  3. Identify the supported command path: host PHP, Sail, Docker Compose, or a repository wrapper. Reuse that path consistently and do not assume Sail.
  4. Confirm the application shape: API-only or full-stack; Blade, Livewire, or Inertia; frontend framework and major version; authentication; test runner; queue, cache, search, and database drivers.
  5. Consult version-matched guidance before changing framework behavior. Prefer Laravel Boost search-docs when Boost is installed and available; otherwise use Laravel 13.x or the installed package's official documentation.
  6. Follow existing architecture and naming. Implement the smallest coherent change, add or update focused tests, and run focused checks for the affected surface, plus required repository checks. Broaden only when changed contracts or unresolved risks justify it, within the authorized testing budget.

Do not install, upgrade, or replace packages merely because this skill lists them. Confirm a task requirement and compatibility first.

Apply the Laravel 13 Baseline

  • Require PHP 8.3 or newer for Laravel 13 and respect the exact platform range declared by the repository and its deployment environment.
  • Configure application routing, middleware, and exception handling through bootstrap/app.php when the project follows the modern skeleton. Register application providers through bootstrap/providers.php.
  • Treat routes/web.php and routes/console.php as fresh-application defaults. routes/api.php and routes/channels.php are optional and may be installed by install:api and install:broadcasting; do not assume they exist.
  • Preserve an upgraded application's established structure when it remains supported. Do not reorganize it to resemble a fresh Laravel 13 application unless the task requires that migration.
  • Use named arguments for Laravel framework methods cautiously because parameter names are outside Laravel's backward-compatibility promise.

Design HTTP and Domain Changes

  • Keep controllers and route closures thin. Put reusable domain behavior in the application's existing action, service, job, model, or domain layer instead of introducing a new abstraction by default.
  • Use Form Requests for reusable or non-trivial validation and authorization. Inline validation remains reasonable for a small one-off endpoint when it matches local conventions.
  • Enforce authorization with policies, gates, or the repository's established authorization layer; validation is not authorization.
  • Prefer Eloquent models and relationships for domain-oriented work. Use the query builder or bound raw expressions when they make bulk or complex queries clearer and measurable; never interpolate untrusted SQL.
  • Prevent N+1 queries with deliberate eager loading, constrain selected columns when useful, and use whenLoaded in API resources. Paginate, cursor, or chunk large result sets according to consistency and memory requirements.
  • Wrap multi-write invariants in transactions and make queued side effects safe for retries. Dispatch after commit when consumers require committed data.
  • When changing a column with change(), restate every modifier that must be retained because omitted modifiers are dropped. Inspect the current schema first and make migrations reversible when practical.
  • Require authorization covering the target and data effects of destructive operations such as migrate:fresh, db:wipe, broad deletes, and irreversible drops. Reuse permission already given; a code edit alone does not grant it.

Build APIs Deliberately

  • Add or use routes/api.php only when the project exposes a stateless API. Use install:api only when adding that surface is part of the requested change.
  • Follow the existing response envelope, error format, pagination, and versioning contract. Use standard API Resources by default when the project uses them.
  • Use Laravel 13 JSON:API Resources only when the API contract requires JSON:API; do not silently convert an established API format.
  • Detect Sanctum, Passport, session authentication, WorkOS AuthKit, or custom authentication from installed packages and configuration. Preserve its guard and token semantics.
  • Keep API-only work independent of Vite, Tailwind, and Node unless those tools are already part of the requested surface.

Follow the Detected Frontend Stack

  • Discover page, component, and layout paths from the repository; casing and locations vary. Do not assume resources/js/Pages.
  • For Inertia, use the APIs supported by the installed Inertia major version. Official Laravel 13 starter kits use Inertia 3 for React, Vue, and Svelte, but existing Laravel 13 apps may use another compatible version.
  • Use Inertia links, forms, visits, partial reloads, deferred data, and SSR only where the installed adapter and local patterns support them. Provide loading, empty, validation, and error states for affected interactions.
  • Use Wayfinder only when installed. Prefer generated named imports where the project supports them and run the repository's route-generation or build command after route changes.
  • For Livewire, follow the installed Livewire version and component style. Use Flux UI only when present; do not replace Blade or existing components merely to match a starter kit.
  • For Tailwind CSS 4, preserve the project's CSS-first configuration, tokens, component library, responsive rules, and dark-mode strategy. Do not migrate a working Tailwind 3 setup unless requested.
  • Read references/stack-guidance.md when the task touches starter kits, authentication, Inertia, Livewire, Blade, Wayfinder, or Tailwind.

Adopt Laravel 13 Features Only When They Fit

Laravel 13 adds first-party AI primitives, JSON:API resources, semantic and vector search, and stronger request-forgery defaults. Treat each as an optional design choice with package, provider, database, security, cost, and operational consequences. Read references/laravel-13-features-and-upgrade.md before using a new Laravel 13 feature or upgrading an application from Laravel 12.

Test, Format, and Verify

  • Preserve Pest or PHPUnit according to the repository. Laravel 13 supports both; do not force PHPUnit into a Pest project or vice versa.
  • Prefer feature tests for behavior crossing framework boundaries and focused unit tests for isolated logic. Add regression tests when they provide durable protection.
  • Confirm generator flags with php artisan help make:test before using them. For upgrades, expect Pest 4 or PHPUnit 12 only after dependency compatibility has been verified.
  • Run the smallest relevant test target. Use the repository wrapper and test database; never point tests at production.
  • Run focused formatting, static analysis, frontend lint, type-check, build, and browser or E2E checks when they can fail for the changed surface. Complete required checks and reuse passing results unless relevant changes invalidate them. Follow explicit approval requirements for broader suites.
  • Report the exact checks run, results, and any checks that could not run.

Use Laravel Boost Safely

  • Read application information before relying on framework or package versions.
  • Use search-docs with short topic queries before implementing version-sensitive behavior. Let Boost filter documentation by installed package versions.
  • Discover the tools exposed by the installed Boost server instead of assuming every Boost release has the same names or capabilities.
  • Keep database inspection read-only and scope executable-code tools to local or test environments. Never use Tinker or database tools to mutate production data without explicit authorization.
  • Read references/boost-tools.md for the current tool-selection and fallback workflow.

Preserve Project Integrity

  • Reuse existing dependencies, components, factories, policies, resources, and conventions before creating replacements.
  • Keep credentials in environment configuration and never expose secrets in logs, fixtures, frontend bundles, or agent output.
  • Update durable documentation when behavior, setup, public APIs, or operational procedures change.
  • Distinguish framework facts from recommendations and from repository-specific conventions in the final handoff.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Laravel 13 App Guidelines?

Implement Laravel 13 changes or upgrade Laravel 12 to 13 using verified package versions and project conventions. Use only for the installed or requested major; optional framework features are not required dependencies.

Firwat Laravel 13 App Guidelines op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Laravel 13 App Guidelines besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Laravel 13 App Guidelines an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/thienanblog/awesome-ai-agent-skills/tree/main/plugins/laravel-app-skills/skills/laravel-13-app-guidelines an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Laravel 13 App Guidelines benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Laravel 13 App Guidelines benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Laravel 13 App Guidelines domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Laravel 13 App Guidelines gratis?

Jo. thienanblog huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇