AI-powered Laravel development toolkit designed to enhance AI assistants across multiple CLI tools. Provides intelligent Preset system, comprehensive documentation, and automation scripts for rapid Laravel development.
This skill is NOT a replacement for Laravel's official tools.
Laravel Dev Skill enhances AI assistants (Claude Code, Cursor, Windsurf, Continue, etc.) by providing:
- Intelligent Context: Understands development scenarios and recommends optimal solutions
- Smart Presets: Out-of-the-box project configurations for common use cases
- Comprehensive Knowledge: Multi-version Laravel documentation (10.x, 11.x, 12.x)
- Developer-First: Designed to help developers work faster, not replace their workflow
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI CLI Tools Layer β
β Claude Code β Cursor β Windsurf β Continue β Others β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Laravel Dev Skill (AI Intelligence) β
β βββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Intent Understanding - Analyze requirements β β
β β Knowledge Retrieval - Search Laravel docs β β
β β Code Generation - Generate project code β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Data Layer β
β βββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β laravel-dev-presets (Remote Repository) β β
β β - api/10.json, api/11.json, api/12.json β β
β β - filament/v4.json, filament/v5.json β β
β β - framework/10.json, framework/11.json, etc. β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Laravel Documentation (Local Cache) β β
β β - references/v10/ (Laravel 10.x) β β
β β - references/v11/ (Laravel 11.x) β β
β β - references/v12/ (Laravel 12.x) β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tool Layer (Official Tools) β
β Laravel Installer β Composer β Artisan β npm/pnpm β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Presets are fetched from the laravel-dev-presets repository.
10.json- Laravel 10.x API project with Sanctum authentication11.json- Laravel 11.x API project with Sanctum authentication12.json- Laravel 12.x API project with Sanctum authentication
v4.json- Filament v4 admin panel configurationv5.json- Filament v5 admin panel configuration
10.json- Laravel 10.x base framework setup11.json- Laravel 11.x base framework setup12.json- Laravel 12.x base framework setup
blade-component.json- Blade component development presetfilament-plugin-skeleton.json- Filament plugin skeletonmeta-package.json- Meta package templatepackage-skeleton-laravel.json- Laravel package skeletonpackage.json- Generic package template
livewire.json- Livewire starter kitreact.json- React starter kitsvelte.json- Svelte starter kitvue.json- Vue starter kit
This skill is designed to work with various AI CLI tools. Install it according to your tool's documentation:
Claude Code:
# Add to Claude Code project
# File: .claude/skills/laravel-dev/Cursor:
# Add to Cursor's skills directory
# File: .cursor/skills/laravel-dev/Windsurf:
# Add to Windsurf's skills directory
# File: .windsurf/skills/laravel-dev/Continue:
# Add to Continue's skills directory
# File: ~/.continue/skills/laravel-dev/- Clone this repository:
git clone https://github.com/x-multibyte/laravel-dev-skill.git- Copy to your AI tool's skills directory:
cp -r laravel-dev-skill ~/.your-ai-tool/skills/- Verify installation:
bash laravel-dev-skill/scripts/preset_manager.sh --listThe Preset system provides out-of-the-box Laravel project configurations. AI assistants can intelligently recommend the best preset based on your development scenario.
Preset Features:
- β Dual Version Control - File name = Laravel version, JSON version = preset version
- β Smart Recommendation - AI analyzes requirements and suggests optimal presets
- β Dependency Management - Auto-install required Composer and NPM packages
- β Environment Configuration - Pre-configured .env files
- β Lifecycle Hooks - Support for custom scripts at different stages
- β Template Injection - Support custom code templates
- β Git Sync - Dynamically update from remote repository
Ask your AI assistant:
"Create a Laravel 12 API project with Sanctum authentication"
β AI recommends api/12.json preset
β Generates project with authentication, API resources, rate limiting
"Build a full-stack app with Filament admin panel"
β AI recommends filament/v5.json + fullstack preset
β Generates project with admin panel, authentication, real-time features
"Create a Laravel package for blade components"
β AI recommends laravel-package/blade-component.json
β Generates package skeleton with component templates
# List all available presets
bash scripts/preset_manager.sh --list
# View preset summary
bash scripts/preset_manager.sh --summary api 12
# Check dependency compatibility
bash scripts/preset_manager.sh --check api 12
# Validate preset format
bash scripts/preset_manager.sh --validate api 12
# Parse preset configuration
bash scripts/preset_manager.sh --parse api 12AI assistants can query Laravel documentation by topic:
# Database documentation
read_file('references/current/database.md')
# Authentication documentation
read_file('references/current/auth.md')
# Routing documentation
read_file('references/current/routing.md')
# Artisan commands
read_file('references/current/artisan.md')# List available Laravel versions
python scripts/version_manager.py --list
# Switch to Laravel 11.x documentation
python scripts/version_manager.py --set-current 11.x
# Compare versions
python scripts/version_manager.py --compare 11.x 12.xQuick configuration for Laravel ecosystem packages:
# Configure all packages (Sail, Reverb, Echo)
bash scripts/setup-ecosystem.sh --all
# Configure Sail only
bash scripts/setup-ecosystem.sh --sail
# Configure Reverb and Echo
bash scripts/setup-ecosystem.sh --reverb --echolaravel-dev-skill/
βββ SKILL.md # Skill documentation for AI assistants
βββ README.md # This file
βββ config/
β βββ packages.json # Laravel ecosystem package definitions
β βββ preset-schema.json # Preset JSON Schema for validation
β βββ settings.json # Skill configuration
βββ scripts/
β βββ preset_manager.sh # Preset management tool
β βββ setup-ecosystem.sh # Ecosystem configuration scripts
β βββ fetch_laravel_docs.py # Documentation fetcher
β βββ version_manager.py # Version management tool
βββ templates/
β βββ INDEX.md # Quick navigation index
β βββ PRESETS.md # Preset usage guide
β βββ artisan-quick-reference.md # Artisan command reference
β βββ ecosystem-config-guide.md # Detailed ecosystem guide
β βββ config/ # Configuration templates
β β βββ broadcasting.reverb.php
β β βββ docker-compose.yml
β β βββ echo.bootstrap.js
β β βββ supervisor-reverb.conf
β βββ presets/ # Cache directory (empty)
β βββ .gitkeep # Presets fetched from remote repo
βββ references/
βββ current/ # Symlink to current version
βββ v10/ # Laravel 10.x documentation
βββ v11/ # Laravel 11.x documentation
βββ v12/ # Laravel 12.x documentation
Developer: "I need to build a REST API for a mobile app"
AI Assistant:
- Analyzes requirement β Recommends
api/12.json - Applies preset with Sanctum authentication
- Configures API resources, rate limiting
- Sets up testing infrastructure
Developer: "I need an admin panel for content management"
AI Assistant:
- Analyzes requirement β Recommends
filament/v5.json - Applies preset with Filament v5
- Generates CRUD resources, forms, tables
- Configures permissions and roles
Developer: "I want to create a Laravel package"
AI Assistant:
- Analyzes requirement β Recommends
laravel-package/package.json - Generates package skeleton
- Sets up service providers, facades
- Configures testing and documentation
Developer: "I need a complete web application with real-time features"
AI Assistant:
- Analyzes requirement β Recommends combination of presets
- Applies
framework/12.json+realtime-app.json - Configures Reverb for WebSocket
- Sets up Laravel Echo client
- Generates frontend and backend
- Intent Understanding: Parse developer's natural language requirements
- Preset Recommendation: Match requirements to optimal presets
- Configuration Application: Apply preset configurations
- Code Generation: Generate project code based on preset
- Documentation Lookup: Provide relevant Laravel documentation
- Best Practices: Suggest improvements and optimizations
Developer: "Create a Laravel 12 project with Filament admin panel"
AI Assistant: "I'll create a Laravel 12 project with Filament v5 admin panel.
Recommended preset: filament/v5.json
Version: 2.0.0
Features: Admin panel, authentication, resources, permissions
Steps:
1. Create Laravel project using official installer
2. Apply filament/v5.json preset
3. Install dependencies (Filament v5, Spatie Permission)
4. Generate admin resources
5. Configure authentication and permissions
Shall I proceed?"
- laravel-dev-presets - Preset repository with 6 preset categories
- laravel-dev-cli - Composer CLI tool (coming soon)
- Preset JSON Schema with validation
- Remote Presets repository
- 6 Preset categories (API, Filament, Framework, Laravel Package, Starter Kits)
- Multi-version documentation (10.x, 11.x, 12.x)
- Ecosystem configuration guides
- AI assistant integration patterns
- Preset sync script (sync_presets.sh)
- Enhanced preset_manager.sh with remote fetching
- Environment compatibility checker
- More preset categories (e-commerce, CMS, microservices)
- Community preset contribution system
- Preset validation and testing automation
- AI-powered preset recommendation engine
- Faster Development - Start with pre-configured projects
- Fewer Errors - Validated configurations from experts
- Consistency - Standardized project structures
- Flexibility - Create and share custom presets
- Learning - Understand best practices through examples
- Intelligent Context - Understand development scenarios deeply
- Smart Recommendations - Suggest optimal solutions automatically
- Simplified Interaction - Natural language β working project
- Programmability - Structured data for easy processing
- Dynamic Updates - Always access latest presets from remote
Contributions are welcome! Please:
- For Presets: Fork laravel-dev-presets and add your preset
- For Documentation: Improve this skill's documentation
- For Scripts: Enhance automation scripts
- Fork laravel-dev-presets
- Choose the appropriate category folder
- Create a new JSON file following the schema
- Validate against
preset-schema.json - Submit a pull request
MIT License - see LICENSE file for details
For issues, questions, or suggestions:
- Open an issue on GitHub
- Check laravel-dev-presets for preset-related issues
- Consult the documentation in
templates/directory
Important: This skill enhances AI assistants' capabilities for Laravel development. It does NOT replace Laravel's official tools or documentation. Always refer to laravel.com for official documentation and github.com/laravel/laravel for the framework source code.