Integrations
Laravel Boost
The skill that teaches your coding agent to write inside layers.
Laravel OSDD ships a Laravel Boost skill. With it, a coding agent knows that an OSDD project has no app/ folder: it creates layers with osdd:layer, generates classes with the osdd:* commands and --layer, and wires seeders, config and routes through the layer's provider.
Installation
Install Boost in your project, then pick lomkit/laravel-osdd when it lists the packages that ship guidelines and skills:
composer require laravel/boost --dev
php artisan boost:install
Boost copies the laravel-osdd skill into your agent's skills folder and records the package in boost.json:
boost.json
{
"packages": [
"lomkit/laravel-osdd"
]
}
Keeping it up to date
The skill follows the package version. Refresh it after each update of lomkit/laravel-osdd:
php artisan boost:update
Upgrading from 2.x? Update the package name in
boost.json before you run boost:update, or Boost removes the skill. The upgrade guide shows the change.What the skill covers
- Detecting an OSDD project and finding the layer that owns a concept, starting from
osdd:list --jsonandosdd:graph --format=json. - Never writing to
app/,database/or the rootconfig/, and never running a baremake:*command. - Creating a layer with
--requires, and generating code inside it with--layer. Without a terminal,--layeris required andosdd:startorosdd:removeneed--force: the skill only passes it when you asked for the change. - Wiring migrations, seeders, config overrides, routes, views, components and commands in the layer's
LayerServiceProvider. - Declaring a layer before using its classes, and running
osdd:check --format=jsonbefore finishing a change. - Running
osdd:seedandosdd:phpunitafter a change.