Back to list
jcastillotx

laravel-best-practices

by jcastillotx

My skeleton for app builds

0🍴 0📅 Jan 23, 2026

SKILL.md


name: laravel-best-practices description: Laravel development standards. Triggers when working with Laravel applications, Eloquent ORM, Blade templates, or Livewire components. trigger_patterns:

  • laravel
  • eloquent
  • blade
  • livewire
  • artisan
  • composer.json
  • app/Models
  • app/Http auto_load_with:
  • php-best-practices
  • mysql-best-practices

Laravel Best Practices

Comprehensive coding standards for Laravel applications, optimized for AI agents and LLMs.

Overview

This skill provides 26 rules organized across 8 categories:

  1. Security (security-) - CSRF, XSS, SQL injection, mass assignment [CRITICAL]
  2. Eloquent Optimization (eloquent-) - Eager loading, chunking, lazy collections [CRITICAL]
  3. Performance (perf-) - Route caching, config caching, OPcache [HIGH]
  4. Architecture (arch-) - Service containers, repositories, actions [HIGH]
  5. API Development (api-) - Resources, rate limiting, versioning [MEDIUM-HIGH]
  6. Testing (test-) - Feature tests, mocking, factories [MEDIUM]
  7. Queue & Jobs (queue-) - Job batching, rate limiting, retries [MEDIUM]
  8. Livewire (livewire-) - Wire navigation, lazy loading, polling [LOW-MEDIUM]

Usage

Reference this skill when:

  • Building Laravel applications
  • Optimizing Eloquent queries
  • Implementing API endpoints
  • Setting up job queues
  • Writing tests

Build

pnpm build    # Compile rules to AGENTS.md
pnpm validate # Validate rule files

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon