laravel-11-12-app-guidelines

thienanblog/awesome-ai-agent-skills · updated May 16, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/thienanblog/awesome-ai-agent-skills --skill laravel-11-12-app-guidelines
0 commentsdiscussion
summary

Structured workflow for Laravel 11/12 apps with stack detection, Docker support, and framework-specific conventions.

  • Detects and adapts to your stack: API-only, Inertia + React, Livewire, Vue, or Blade; Docker Compose/Sail or host commands
  • Enforces Laravel 11/12 conventions: bootstrap configuration, Eloquent models, Form Requests, named routes, and safe migrations
  • Integrates Laravel Boost MCP tools for docs search, Artisan commands, routing inspection, and database queries
  • Priorit
skill.md

Laravel 11/12 App Guidelines

Overview

Apply a consistent workflow for Laravel 11/12 apps with optional frontend stacks, Dockerized commands, and Laravel Boost tooling.

Quick Start

  • Read repository instructions first: AGENTS.md. If docs/ exists, read docs/README.md and relevant module docs before decisions.
  • Detect the stack and command locations; do not guess.
  • Use Laravel Boost search-docs for Laravel ecosystem guidance; use Context7 only if Boost docs are unavailable.
  • Follow repo conventions for naming, UI language, docs-first policies, and existing component patterns.

Stack Detection

  • Check composer.json, package.json, docker-compose.*, and config/* to confirm:
    • Docker Compose/Sail vs host commands
    • API-only vs full-stack
    • Frontend framework (Inertia/React, Livewire, Vue, Blade)
    • Auth (Fortify, Sanctum, Passport, custom)

Laravel 11/12 Core Conventions

  • Use the Laravel 11/12 structure: configure middleware, exceptions, and routes in bootstrap/app.php; service providers in bootstrap/providers.php; console configuration in routes/console.php.
  • Use Eloquent models and relationships first; avoid raw queries and DB:: unless truly necessary.
  • Create Form Request classes for validation instead of inline validation.
  • Prefer named routes and route() for URL generation.
  • When altering columns, include all existing attributes in the migration to avoid dropping them.
  • Ask before destructive database operations (e.g., reset/rollback/fresh).

API-Only Mode

  • Use routes/api.php; avoid Inertia and frontend assumptions.
  • Prefer API Resources and versioning if the repo already uses them.
  • Follow the repo's auth stack (Sanctum/Passport/custom) and response format conventions.
  • Do not require Vite/Tailwind/NPM unless the repo already includes them.

Inertia + React + Wayfinder (if present)

  • Use Inertia::render() for server-side routing; place pages under resources/js/Pages unless the repo says otherwise.
  • Use <Form> or useForm for Inertia forms; add skeleton/empty states for deferred props.
  • Use <Link> or router.visit() for navigation.
  • Use Wayfinder named imports for tree-shaking; avoid default imports; regenerate routes after changes if required.

Livewire / Vue / Blade (if present)

  • Follow existing component patterns and conventions; do not mix frameworks unless the repo already does.
  • Keep UI strings in the repo's expected language.

Tailwind CSS v4 (if present)

  • Use @import "tailwindcss"; and @theme for tokens.
  • Avoid deprecated utilities; use replacements (e.g., shrink-*, grow-*, text-ellipsis).
  • Use gap-* for spacing between items; follow existing dark mode conventions if present.

Testing and Formatting

  • Use PHPUnit; generate tests with php artisan make:test --phpunit and prefer feature tests.
  • Run the minimal relevant tests (php artisan test <file> or --filter=).
  • Run vendor/bin/pint --dirty before finalizing code changes.
  • After minimal tests pass, offer to run the full test suite.

Laravel Boost MCP Tools (when available)

  • search-docs before changing behavior or using framework features.
  • list-artisan-commands to confirm Artisan options.
  • list-routes to inspect routing changes.
  • tinker for PHP debugging and database-query for read-only DB checks.
  • browser-logs to inspect frontend errors.
  • get-absolute-url for sharing project URLs.
  • See references/boost-tools.md for query patterns and tool usage tips.

Output Expectations

  • Preserve existing architecture, structure, and dependencies unless the user explicitly requests changes.
  • Reuse existing components and follow local patterns.
  • Ask concise clarifying questions when repo guidance is missing or ambiguous.
how to use laravel-11-12-app-guidelines

How to use laravel-11-12-app-guidelines on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add laravel-11-12-app-guidelines
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/thienanblog/awesome-ai-agent-skills --skill laravel-11-12-app-guidelines

The skills CLI fetches laravel-11-12-app-guidelines from GitHub repository thienanblog/awesome-ai-agent-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/laravel-11-12-app-guidelines

Reload or restart Cursor to activate laravel-11-12-app-guidelines. Access the skill through slash commands (e.g., /laravel-11-12-app-guidelines) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.840 reviews
  • Dhruvi Jain· Dec 24, 2024

    Useful defaults in laravel-11-12-app-guidelines — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Advait Jackson· Dec 12, 2024

    Registry listing for laravel-11-12-app-guidelines matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Hana Rao· Dec 4, 2024

    laravel-11-12-app-guidelines is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Charlotte Abebe· Nov 23, 2024

    Useful defaults in laravel-11-12-app-guidelines — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Oshnikdeep· Nov 15, 2024

    laravel-11-12-app-guidelines is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Advait Khanna· Oct 14, 2024

    I recommend laravel-11-12-app-guidelines for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Ganesh Mohane· Oct 6, 2024

    Keeps context tight: laravel-11-12-app-guidelines is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Sakshi Patil· Sep 25, 2024

    laravel-11-12-app-guidelines has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Yusuf Thomas· Sep 25, 2024

    I recommend laravel-11-12-app-guidelines for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Isabella Singh· Sep 5, 2024

    laravel-11-12-app-guidelines fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

showing 1-10 of 40

1 / 4