agentleFS
MindrallyMindrally/skills/laravel/SKILL.md

laravel

Skill266 starsChanged 10 months agoApache-2.0View on GitHub

Expert in Laravel PHP development with best practices and modern patterns

7 other projects use a version of this.

Adopted by

Most recently taken up by

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 5 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 12
  2. Distinctive:

    Follow Laravel best practices and conventions

    line 13
  3. Distinctive:

    Prefer modular design over code duplication

    line 15
  4. Distinctive:

    Use descriptive naming conventions throughout

    line 16
  5. Distinctive:

    Follow PSR-12 coding standards

    line 21
  6. Very specific:

    Use strict typing: declare(strict_types=1).

    line 22
  7. Distinctive:

    Follow Laravel's MVC architecture

    line 28
  8. Distinctive:

    Use routing system effectively

    line 29
  9. Distinctive:

    Use Form Requests for validation

    line 31
  10. Distinctive:

    Use Laravel's validation features for form/request validation

    line 38
  11. Distinctive:

    Use built-in authentication and authorization

    line 41
  12. Distinctive:

    Use job queues for long-running tasks

    line 43
  13. Distinctive:

    Use API resource transformations

    line 47
  14. Distinctive:

    Use proper HTTP status codes

    line 50
  15. Distinctive:

    Use Laravel Dusk for browser testing

    line 55
  16. Distinctive:

    Write feature and unit tests

    line 56
  17. Distinctive:

    Use eager loading to prevent N+1 queries

    line 61
  18. Distinctive:

    Use queues for heavy operations

    line 64

“Common” is measured: kept by at least 6 in 10 of the 5 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.