Skip to content

Commit fb3aa91

Browse files
committed
formatting tweaks
1 parent 56eeb56 commit fb3aa91

File tree

19 files changed

+68
-63
lines changed

19 files changed

+68
-63
lines changed

.ai/boost/core.blade.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
# URLs
2-
- Whenever you create a URL use the `get-absolute-url` tool to ensure you're using the correct scheme, domain/IP, and port.
2+
Whenever you create a URL use the `get-absolute-url` tool to ensure you're using the correct scheme, domain / IP, and port.
33

44
# Artisan
5-
- Use the `list-artisan-commands` tool when needing to call an artisan command to triple check the available params
5+
Use the `list-artisan-commands` tool when you need to call an artisan command to triple check the available parameters.
66

77
# Tinker / Debugging
8-
You should use the `tinker` tool from Boost MCP when you need to run PHP to debug code or query eloquent models directly.
9-
Use the `database-query` tool when you only need to read from the database.
8+
You should use the `tinker` tool from Boost MCP when you need to run PHP to debug code or query Eloquent models directly.
109

10+
Use the `database-query` tool when you only need to read from the database.
1111

1212
# Reading browser logs
1313
Only recent browser logs will be useful, discard any that are older than two hours or so.
1414

1515
# Searching documentation
16-
1716
Check the docs before making code changes to ensure we are approaching this in the correct way. Use multiple simple topic based queries.
1817

1918
Boost comes with a powerful `search-docs` tool you should use before any other approaches. This tool automatically passes a list of installed packages and their versions to the remote Boost API, so it returns only version-specific documentation specific for the user's circumstance. You should pass an array of packages to filter docs on if you know you need docs for particular packages.
2019

21-
'search-docs' tool is perfect for all Laravel related packages. Laravel, inertia, pest, livewire, nova, nightwatch, and more.
20+
The 'search-docs' tool is perfect for all Laravel related packages. Laravel, Inertia, Pest, Livewire, Nova, Nightwatch, and more.
2221

2322
You must use this tool to search for Laravel-ecosystem docs before falling back to other approaches.
2423

25-
## Available Search Syntax
24+
## Available search syntax
2625
You can and should pass multiple queries at once, the most relevant will be returned first. Start specific, broaden after.
2726

2827
1. Simple Word Searches with auto-stemming - query=authentication - finds 'authenticate' and 'auth'
2928
2. Multiple Words (AND Logic) - query=rate limit - finds knowledge containing both "queue" AND "worker"
30-
3. Quoted Phrases (Exact Position) - query="infinite scroll - Words must be adjacent in that order
29+
3. Quoted Phrases (Exact Position) - query="infinite scroll - Words must be adjacent and in that order
3130
4. Mixed Queries - query=middleware "rate limit" - "middleware" AND exact phrase "rate limit"
3231
5. Multiple Queries - queries=["authentication", "middleware"] - ANY of these terms
3332

.ai/core.blade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515

1616
## Conventions
1717
- You must follow all existing code conventions used in this project. When creating or editing a file, check sibling files for the correct structure, approach, naming.
18-
- Use descriptive names. e.g. `isRegisteredForDiscounts` not `discount()`
18+
- Use descriptive names. For example, `isRegisteredForDiscounts` not `discount()`.
1919

20-
## Verification scripts
21-
- Do not create verification scripts or tinker when tests cover that functionality and prove it works. Unit & feature tests are more important.
20+
## Verification Scripts
21+
- Do not create verification scripts or tinker when tests cover that functionality and prove it works. Unit and feature tests are more important.
2222

23-
## Project Structure & Architecture
23+
## Project Structure and Architecture
2424
- Stick to existing directory structure - no new base folders without approval.
2525
- No dependency changes without approval.
2626

2727
## Replies
2828
- Be concise in your explanations - focus on what's important rather than explaining obvious details.
2929

30-
## Documentation files
30+
## Documentation Files
3131
- You must only create documentation files if explicitly requested by the user.
3232

.ai/fluxui-free/core.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
<flux:button variant="primary"/>
66
</code-snippet>
77
- Fallback to standard Blade components if Flux is unavailable.
8-
- Use Laravel Boost's `search-docs` tool to get the exact documentation & code snippets available for this project.
8+
- Use Laravel Boost's `search-docs` tool to get the exact documentation and code snippets available for this project.

.ai/fluxui-pro/core.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
<flux:button variant="primary"/>
66
</code-snippet>
77
- Fallback to standard Blade components if Flux is unavailable.
8-
- Use Laravel Boost's `search-docs` tool to get the exact documentation & code snippets available for this project.
8+
- Use Laravel Boost's `search-docs` tool to get the exact documentation and code snippets available for this project.

.ai/inertia-laravel/1/core.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Inertia v1 core
1+
## Inertia v1 Core
22

33
- Inertia v1 does _not_ come with these features. Do not recommend using these Inertia v2 features directly.
44
- Polling
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
## Inertia v2 Core
2+
13
- Make use of all Inertia features from v1 & v2
24

3-
## Inertia v2 new features
5+
## Inertia v2 New Features
6+
47
- Polling
58
- Prefetching
69
- Deferred props
710
- Infinite scrolling using merging props and WhenVisible
811
- Lazy loading data on scroll
912

10-
- When using deferred props on the frontend we should add a nice empty state with pulsing/animated skeleton/blocks. Check the docs before making any changes to ensure we are approaching this in the correct way.
13+
- When using deferred props on the frontend we should add a nice empty state with pulsing / animated skeleton. Check the docs before making any changes to ensure we are approaching this in the correct way.

.ai/inertia-laravel/core.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
## InertiaJS Core
1+
## Inertia Core
22

3-
- Inertia.js components should be placed in the `resources/js/Pages` directory
4-
- Use `Inertia::render()` for server-side routing instead of traditional Blade views
3+
- Inertia.js components should be placed in the `resources/js/Pages` directory.
4+
- Use `Inertia::render()` for server-side routing instead of traditional Blade views.
55
<code-snippet lang="php" name="Inertia::render example">
66
// routes/web.php example
77
Route::get('/users', function () {

.ai/inertia-react/core.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
- Use `router.visit()` or `<Link>` for navigation instead of traditional links
1+
- Use `router.visit()` or `<Link>` for navigation instead of traditional links.
22
<code-snippet lang="react" name="Inertia client navigation">
33
import { Link } from '@inertiajs/react'
44

55
<Link href="/">Home</Link>
66
</code-snippet>
77

8-
- For form handling, use `router.post` and related methods, do not use regular forms
8+
- For form handling, use `router.post` and related methods, do not use regular forms.
99
<code-snippet lang="react" name="Form example">
1010
import { useState } from 'react'
1111
import { router } from '@inertiajs/react'

.ai/inertia-vue/core.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
- Vue components must have a single root element
2-
- Use `router.visit()` or `<Link>` for navigation instead of traditional links
1+
- Vue components must have a single root element.
2+
- Use `router.visit()` or `<Link>` for navigation instead of traditional links.
33
<code-snippet lang="vue" name="Inertia client navigation">
44
import { Link } from '@inertiajs/vue3'
55

66
<Link href="/">Home</Link>
77
</code-snippet>
88

9-
- For form handling, use `router.post` and related methods, do not use regular forms
9+
- For form handling, use `router.post` and related methods, do not use regular forms.
1010
<code-snippet lang="vue" name="Form example">
1111
<script setup>
1212
import { reactive } from 'vue'

.ai/laravel/10/core.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Laravel 10 Core
1+
## Laravel 10 Core

0 commit comments

Comments
 (0)