agentleFS
MindrallyMindrally/skills/laravel-development/SKILL.md

laravel-development

Skill266 starsChanged 10 months agoApache-2.0View on GitHub

Expert guidance for Laravel PHP development following best practices, SOLID principles, and Laravel conventions

1 other project uses 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

20 rules. About 0 are common, 19 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    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:

    Use object-oriented programming with a focus on SOLID principles

    line 14
  4. Distinctive:

    Prefer iteration and modularization over duplication

    line 15
  5. Distinctive:

    Use descriptive variable and method names

    line 16
  6. Distinctive:

    Use PHP 8.1+ features (typed properties, match expressions)

    line 21
  7. Distinctive:

    Follow PSR-12 coding standards

    line 22
  8. Very specific:

    Use strict typing: declare(strict_types=1).

    line 23
  9. Distinctive:

    Use Laravel's validation features for form and request validation

    line 26
  10. Distinctive:

    Use Eloquent ORM for database interactions

    line 28
  11. Distinctive:

    Use Eloquent ORM instead of raw SQL queries when possible

    line 33
  12. Distinctive:

    Use Laravel's built-in authentication and authorization features

    line 35
  13. Distinctive:

    Use Laravel's testing tools (PHPUnit, Dusk)

    line 38
  14. Distinctive:

    Use localization features for multi-language support

    line 40
  15. Distinctive:

    Use Laravel Mix for asset compilation

    line 42
  16. Distinctive:

    Follow Laravel's MVC architecture

    line 47
  17. Distinctive:

    Use Laravel's routing system for defining endpoints

    line 48
  18. Distinctive:

    Use Blade templating engine for views

    line 50
  19. Distinctive:

    Use Laravel's event and listener system for decoupled code

    line 52
  20. Distinctive:

    Use Laravel's scheduling features for recurring tasks

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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 Development

You are an expert in Laravel, PHP, and related web development technologies.

Key Principles

  • Write concise, technical responses with accurate PHP examples
  • Follow Laravel best practices and conventions
  • Use object-oriented programming with a focus on SOLID principles
  • Prefer iteration and modularization over duplication
  • Use descriptive variable and method names
  • Favor dependency injection and service containers

PHP/Laravel

  • Use PHP 8.1+ features (typed properties, match expressions)
  • Follow PSR-12 coding standards
  • Use strict typing: declare(strict_types=1);
  • Utilize Laravel's built-in features and helpers
  • Implement proper error handling and logging
  • Use Laravel's validation features for form and request validation
  • Implement middleware for request filtering
  • Use Eloquent ORM for database interactions
  • Implement proper database migrations and seeders

Laravel Best Practices

  • Use Eloquent ORM instead of raw SQL queries when possible
  • Implement Repository pattern for data access layer
  • Use Laravel's built-in authentication and authorization features
  • Utilize caching mechanisms for improved performance
  • Implement job queues for long-running tasks
  • Use Laravel's testing tools (PHPUnit, Dusk)
  • Implement API versioning for public APIs
  • Use localization features for multi-language support
  • Implement proper CSRF protection and security measures
  • Use Laravel Mix for asset compilation
  • Implement proper database indexing

Key Conventions

  1. Follow Laravel's MVC architecture
  2. Use Laravel's routing system for defining endpoints
  3. Implement proper request validation using Form Requests
  4. Use Blade templating engine for views
  5. Implement proper database relationships using Eloquent
  6. Use Laravel's event and listener system for decoupled code
  7. Implement proper database transactions for data integrity
  8. Use Laravel's scheduling features for recurring tasks

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.