Laravel 13 App Guidelines logo

Laravel 13 App Guidelines

Community
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.

Overview

Publisherthienanblog
Repositoryawesome-ai-agent-skills
Skill namelaravel-13-app-guidelines
Stars
66
Forks
21
Bundled files
4
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by thienanblog on GitHub. Read the source before you install it.

Installation

Install the Laravel 13 App Guidelines AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Laravel 13 App Guidelines in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Laravel 13 App Guidelines on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Laravel 13 App Guidelines is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Laravel 13 App Guidelines AI skill do?

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.

Why use Laravel 13 App Guidelines on TypingMind?

Because you install it once and use it with any model. Laravel 13 App Guidelines is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Laravel 13 App Guidelines in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/thienanblog/awesome-ai-agent-skills/tree/main/plugins/laravel-app-skills/skills/laravel-13-app-guidelines. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Laravel 13 App Guidelines?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Laravel 13 App Guidelines?

As many as you like. As long as a model supports skills, you can use Laravel 13 App Guidelines with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Laravel 13 App Guidelines AI skill free?

Yes. It is published on GitHub by thienanblog under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇