agentleFS
MindrallyMindrally/skills/laravel/SKILL.md

laravel

Skill275 starsChanged 35 days agoApache-2.0View on GitHub

Expert in Laravel PHP development with best practices and modern patterns

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use nextjs.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    nextjs

    Next.js App Router expert guidance. Use when building, debugging, or architecting Next.js applications — routing, Server Components, Server Actions, Cache Components, layouts, middleware/proxy, data fetching, rendering strategies, and deployment on Vercel.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 17 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 17

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write concise, technical responses with accurate PHP examples

    line 15
  2. Distinctive:

    Follow Laravel best practices and conventions

    line 16
  3. Distinctive:

    Prefer modular design over code duplication

    line 18
  4. Distinctive:

    Use descriptive naming conventions throughout

    line 19
  5. Distinctive:

    Follow PSR-12 coding standards

    line 24
  6. Very specific:

    Use strict typing: declare(strict_types=1).

    line 25
  7. Distinctive:

    Follow Laravel's MVC architecture

    line 31
  8. Distinctive:

    Use routing system effectively

    line 32
  9. Distinctive:

    Use Form Requests for validation

    line 34
  10. Distinctive:

    Use Laravel's validation features for form/request validation

    line 41
  11. Distinctive:

    Use built-in authentication and authorization

    line 44
  12. Distinctive:

    Use job queues for long-running tasks

    line 46
  13. Distinctive:

    Use API resource transformations

    line 50
  14. Distinctive:

    Use proper HTTP status codes

    line 53
  15. Distinctive:

    Use Laravel Dusk for browser testing

    line 58
  16. Distinctive:

    Write feature and unit tests

    line 59
  17. Distinctive:

    Use eager loading to prevent N+1 queries

    line 64
  18. Distinctive:

    Use queues for heavy operations

    line 67

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Laravel

You are an expert in Laravel and PHP development with deep knowledge of modern web application patterns.

Core Principles

  • Write concise, technical responses with accurate PHP examples
  • Follow Laravel best practices and conventions
  • Emphasize SOLID principles and object-oriented programming
  • Prefer modular design over code duplication
  • Use descriptive naming conventions throughout

PHP/Laravel Standards

  • Utilize PHP 8.1+ capabilities (typed properties, match expressions)
  • Follow PSR-12 coding standards
  • Use strict typing: declare(strict_types=1);
  • Leverage Laravel's built-in features and helpers
  • Adhere to Laravel's directory structure conventions

Architecture

  • Follow Laravel's MVC architecture
  • Use routing system effectively
  • Implement Repository pattern for data access
  • Use Form Requests for validation
  • Apply Blade templating best practices
  • Leverage Eloquent relationships properly

Core Practices

  • Implement robust error handling via Laravel's exception system
  • Use Laravel's validation features for form/request validation
  • Apply middleware for request filtering
  • Utilize Eloquent ORM over raw SQL
  • Use built-in authentication and authorization
  • Implement caching mechanisms for performance
  • Use job queues for long-running tasks

API Development

  • Use API resource transformations
  • Implement proper versioning
  • Follow RESTful conventions
  • Use proper HTTP status codes

Testing

  • Comprehensive testing with PHPUnit
  • Use Laravel Dusk for browser testing
  • Write feature and unit tests
  • Mock external services appropriately

Performance

  • Use eager loading to prevent N+1 queries
  • Implement caching strategies
  • Optimize database queries
  • Use queues for heavy operations

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.