Documentation

Everything you need to know about installing, creating, and sharing AI agent skills for Laravel.

How to Install Skills

Installing a skill adds AI-powered procedural knowledge to your coding assistant. Each skill is a curated set of instructions that teaches your AI agent how to work with specific Laravel patterns, packages, and workflows.

Quick Install

Find a skill in the directory and copy the install command. For example:

php artisan boost:add-skill owner/repo

Each skill page shows the correct install command. Copy it and run it in your Laravel project.

Steps

  1. Browse the directory -- Find a skill that matches your needs at the homepage.
  2. Copy the install command -- Click the copy button on the skill detail page.
  3. Run in your terminal -- Paste the command in your project's terminal. The skill will be available immediately.
  4. Start using it -- Your AI agent now has the skill's knowledge. Ask it about the topic covered.

How to Create a Skill

Skills are Markdown-based documents that encode procedural knowledge for AI agents. A good skill teaches an AI assistant how to approach a specific task or use a specific tool within the Laravel ecosystem.

Skill Markdown Format

---
name: Laravel Eloquent Expert
description: Best practices for Eloquent ORM
compatible_agents:
  - Claude Code
  - Cursor
tags:
  - eloquent
  - database
  - models
---

# Laravel Eloquent Expert

## Context
You are working with Laravel's Eloquent ORM...

## Rules
- Always use mass assignment protection
- Prefer query scopes for reusable queries
- Use eager loading to avoid N+1 problems

## Examples
### Creating a model with relationships
```php
class Post extends Model
{
    protected $fillable = ['title', 'body'];

    public function author(): BelongsTo
    {
        return $this->belongsTo(User::class);
    }
}
```

What to Include

  • Context -- What is the scope of this skill? What tools/packages does it cover?
  • Rules -- Clear, actionable instructions the AI should follow.
  • Examples -- Real code samples showing the correct approach.
  • Anti-patterns -- Common mistakes to avoid (optional but helpful).
  • References -- Links to official docs or relevant resources.

How Skills Are Added

Skills are imported automatically from the skills.sh ecosystem. To get your skill listed:

  1. Create a GitHub repository with a SKILL.md file in a skills/ directory.
  2. Include YAML frontmatter with name and description.
  3. Skills tagged with Laravel or PHP are automatically imported into this directory.

Security Audits

Every community skill imported into this directory must pass all three independent security audits provided by skills.sh. Skills that fail any audit are not listed.

Audit Providers

  • Gen Agent Trust Hub -- Content analysis, URL reputation, antivirus scanning, and semantic analysis for risks like remote code execution, prompt injection, and data exfiltration.
  • Socket -- Supply chain scoring across license, maintenance, quality, and vulnerability dimensions.
  • Snyk -- Vulnerability assessments with risk level ratings and detailed findings.

Official Boost skills maintained by the Laravel team are trusted by default and bypass this check. Community skills are re-evaluated on every daily import.