Laravel Claude Skills
Skills, agents and checks for Laravel projects, on top of Laravel Boost.
Boost already ships Laravel best practices, first-party package skills and version-aware documentation search. This package adds only what Boost does not: pitfalls taken from real reviews, mechanical checks for them, a project setup step, and agents with independent gates.
Work in progress. Nothing is released yet.
The project setup (claude-skills:setup) reads an optional profile, .ai/skills-profile.json: see docs/profile.md.
Install
The order matters, and it differs a little per project kind. Each kind runs the setup, then boost:install, then the setup again. Boost's boost:install leaves .mcp.json reset to its own host command (php artisan boost:mcp), so the second setup run puts the runner's command back; --check then confirms nothing is left to change. The setup also creates an empty CLAUDE.md when the project has none: Boost writes its guidelines to AGENTS.md when CLAUDE.md is missing, and Claude Code would then never read them. The setup never edits a CLAUDE.md that exists.
Requiring the unreleased pack
Until the first tag (1.0.0-beta.1) the pack is not on Packagist. Require it from GitHub through a VCS repository in composer.json:
{
"repositories": [
{"type": "vcs", "url": "https://github.com/michtio/laravel-claude-skills"}
],
"require-dev": {
"michtio/laravel-claude-skills": "dev-main"
}
}
composer.lock pins the exact commit, so every clone and CI install the same one; composer update michtio/laravel-claude-skills moves it to the latest main. After the first release, require a version (composer require --dev michtio/laravel-claude-skills) and drop the repository block.
Boost without prompts
boost:install asks with interactive prompts, which an agent shell cannot answer, and with --no-interaction on a first run it takes its choices from boost.json, which does not exist yet. The first setup run creates this boost.json when the project has none (and never changes one that exists), so Boost installs for Claude Code, includes this pack's skills and leaves the Laravel Cloud skill off:
{"agents": ["claude_code"], "packages": ["michtio/laravel-claude-skills"], "cloud": false}
The steps below run boost:install --guidelines --skills --mcp --no-interaction, which needs that seed. To answer Boost's prompts yourself instead, drop the flags from that line.
An app
On DDEV:
ddev composer require --dev michtio/laravel-claude-skills
ddev artisan claude-skills:setup
ddev artisan boost:install --guidelines --skills --mcp --no-interaction
ddev artisan claude-skills:setup
ddev artisan claude-skills:setup --check
On the host:
composer require --dev michtio/laravel-claude-skills
php artisan claude-skills:setup
php artisan boost:install --guidelines --skills --mcp --no-interaction
php artisan claude-skills:setup
php artisan claude-skills:setup --check
On a DDEV project whose type is not laravel, use ddev exec php artisan instead of ddev artisan.
A Testbench package
A package has no artisan: every command goes through vendor/bin/testbench. The package kind needs a workbench/ directory, and workbench:install --basic --devtool creates it (without --devtool it writes only testbench.yaml). The workbench it writes is not Pint-clean, so format it once with pint workbench.
ddev composer require --dev michtio/laravel-claude-skills
ddev exec php vendor/bin/testbench workbench:install --basic --devtool --no-interaction
ddev exec vendor/bin/pint workbench
ddev exec php vendor/bin/testbench claude-skills:setup
ddev exec php vendor/bin/testbench boost:install --guidelines --skills --mcp --no-interaction
ddev exec php vendor/bin/testbench claude-skills:setup
ddev exec php vendor/bin/testbench claude-skills:setup --check
On the host, drop ddev exec (and use composer for ddev composer). Run boost:install only after the first setup: before it, Testbench's base_path() is its own @testbench skeleton in vendor/, and Boost writes its files there instead of into the package. The setup warns when it finds Boost's files there.
Boost decides whether its guidelines enforce tests with config('boost.enforce_tests'), else by running artisan test --list-tests, which a package has no artisan for, so enforcement stays off in a package. To switch it on, set config(['boost.enforce_tests' => true]); in the register() method of a provider Testbench loads (the workbench's WorkbenchServiceProvider, listed under providers: in testbench.yaml), then run boost:install again. The runner guideline tells agents to run a package's tests with vendor/bin/pest, to keep package classes under src/, and that make: generators write into the skeleton, not into src/.
After the install