Logotipo de Laravel 13 App Guidelines

Laravel 13 App Guidelines

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

Descripción general

Editorthienanblog
Repositorioawesome-ai-agent-skills
Nombre de la habilidadlaravel-13-app-guidelines
Estrellas
66
Forks
21
Archivos incluidos
4
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 4

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por thienanblog en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Laravel 13 App Guidelines en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/thienanblog/awesome-ai-agent-skills/tree/main/plugins/laravel-app-skills/skills/laravel-13-app-guidelines
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Laravel 13 App Guidelines en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Laravel 13 App Guidelines automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Laravel 13 App Guidelines no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Laravel 13 App Guidelines en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Laravel 13 App Guidelines está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Laravel 13 App Guidelines en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/thienanblog/awesome-ai-agent-skills/tree/main/plugins/laravel-app-skills/skills/laravel-13-app-guidelines. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Laravel 13 App Guidelines?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Laravel 13 App Guidelines?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Laravel 13 App Guidelines con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Laravel 13 App Guidelines?

Sí. thienanblog la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇