Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow guideline overriding #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ashleyhindle wants to merge 9 commits into main
base: main
Choose a base branch
Loading
from ai-96-allow-guideline-exclusion-overriding

Conversation

Copy link
Collaborator

@ashleyhindle ashleyhindle commented Aug 28, 2025
edited
Loading

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@pushpak1300 pushpak1300 pushpak1300 approved these changes

@taylorotwell taylorotwell Awaiting requested review from taylorotwell

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /