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 →
Volker Dusch on the PHP RCE Vulnerabilities and Disclosure image

Volker Dusch on the PHP RCE Vulnerabilities and Disclosure

Read article
Decide with Jev: Turn AI Answers into Decisions with PHP Rules image

Decide with Jev: Turn AI Answers into Decisions with PHP Rules

Read article
Skuul: Open-Source School Management Built on Laravel image

Skuul: Open-Source School Management Built on Laravel

Read article
Laravel Read Replicas: Prevent Stale Reads After a Write image

Laravel Read Replicas: Prevent Stale Reads After a Write

Read article
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article