Skip to content

Conversation

@ashleyhindle
Copy link
Collaborator

@ashleyhindle ashleyhindle commented Aug 28, 2025

What & Why

Some people only have Inertia in part of their project, they don’t want Boost's guidelines recommending to create every new page with Inertia.

They should be able to put a file in .ai/guidelines/inertia-laravel/core.blade.php that we use instead of Boost's.

This opens up the door for a lot of customisation.

  • Update README.md
  • If overridden file exists, use that instead of Boost's
    • even/especially if it's empty.

How I tested

  1. Ran the tests
  2. Ran boost:install in a demo project with custom guidelines and verified the guideline files include the overridden files, not the Boost files.

This makes sure custom guidelines still work, and overriding Boost guidelines works.

❯ tree .ai
.ai
└── guidelines
    ├── enforce-tests.blade.php
    ├── livewire
    │   └── 3
    │       └── core.blade.php
    └── tdd.blade.php

Notes/thoughts

  • There's a future task to enable publishing guidelines to modify. And possibly a future task to allow excluding guidelines in the config.
  • I think we should soon move Boost guidelines into .ai/guidelines/ in the package too, to match the custom guidelines, so they're the same.
@ashleyhindle ashleyhindle marked this pull request as ready for review August 28, 2025 12:00
Copy link
Member

@pushpak1300 pushpak1300 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ! 🚀
Tested locally with custom guidelines. works as expected.
Thanks.

@ashleyhindle ashleyhindle merged commit 149986e into main Sep 3, 2025
10 checks passed
@ashleyhindle ashleyhindle deleted the ai-96-allow-guideline-exclusion-overriding branch September 3, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants