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

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Load Eloquent Models From Form Request Input in Laravel image

Load Eloquent Models From Form Request Input in Laravel

Read article
Laravel FFmpeg 9: Encode Video and Stream HLS and DASH image

Laravel FFmpeg 9: Encode Video and Stream HLS and DASH

Read article
Migration Durations and Job Memory Usage in Laravel 13.45 image

Migration Durations and Job Memory Usage in Laravel 13.45

Read article
Laravel CLI: One Binary for New PHP and Rust Laravel Apps image

Laravel CLI: One Binary for New PHP and Rust Laravel Apps

Read article
Phactorial: Render LaTeX Math to SVG and PNG in PHP image

Phactorial: Render LaTeX Math to SVG and PNG in PHP

Read article
Laravel, reimagined image

Laravel, reimagined

Read article