News

Improved Skill and Guideline Detection in Laravel Boost v2.2.0

Published
Improved Skill and Guideline Detection in Laravel Boost v2.2.0 image

Laravel Boost v2.2.0 adds significant improvements to how skills and guidelines are detected for your app, ensuring they are always up to date.

  • Improved Vendor package guideline and skill loading
  • Restructured Inertia guidelines path

What's New

Vendor Package Guideline and Skill Loading

Boost now resolves guidelines and skills from vendor packages in addition to the built-in .ai/ directory. Package maintainers can ship guidelines in vendor/{pkg}/resources/boost/guidelines/ (Composer) or node_modules/{pkg}/resources/boost/guidelines/ (npm), and Boost will load them automatically.

Resolution follows this priority order:

  1. .ai/guidelines/ in the user project (project developer)
  2. vendor/{pkg}/resources/boost/guidelines/ (Composer package maintainer)
  3. node_modules/{pkg}/resources/boost/guidelines/ (npm package maintainer)
  4. Built-in Boost .ai/ directory (Boost team)

PR: #566

Upgrade Notes

This release includes a minor breaking change to the Inertia guidelines structure. Guidelines previously located at .ai/inertia-laravel/core.blade.php are now organized by version:

# Before
.ai/inertia-laravel/core.blade.php
 
# After
.ai/inertia-laravel/2/core.blade.php
.ai/inertia-laravel/1/core.blade.php

Update any related packages to maintain compatibility with this structural change.

References

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article