Skip to content

Commit aa7defc

Browse files
committed
update laravel boost
1 parent 43a9205 commit aa7defc

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.ai/guidelines/core.blade.php

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Core Guidelines
2+
3+
## General Rules
4+
5+
- If you find yourself in a loop of failing, ask the user before continuing.
6+
- Don't generate redundant code. If the code is already there, use it.
7+
- Write LESS code! This is very important.
8+
9+
## Coding
10+
11+
- Always follow the same coding style that the project uses and other parts are built with
12+
- Use simplified solutions rather than complex ones
13+
- Always analyse the current codebase before adding new code
14+
- This codebase is written by human. Always check with the user if something is not clear or doesn't make sense.
15+
- Write code with less dependencies on third-party packages
16+
- Write reusable code all the time.
17+
- Never run npm build or dev or artisan serve commands because user is already running them in the background.
18+
- Avoid unnecessary code comments.
19+
20+
## Testing
21+
22+
- Don't write too many tests.
23+
- Don't test the framework or third-party packages. Only test the logic.
24+
- Always use refresh database in the tests.
25+
- Never test obvious things like command signature or transactions or etc.
26+
- Use existing tests to add more tests rather than creating focused test files. If doesn't exist, ask the user's confirmation when creating.
27+
28+
## Working with Git and Issues and PRs
29+
30+
- The system has `gh` installed. use it to view the issues and PRs.
31+
32+
## Code Formatting and Style and Linting
33+
34+
- Don't run formatters like pint or prettier. User will run them later.
35+
- When writing code, keep an eye on the PHPStan level and don't make mistakes.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ AGENTS.md
3333
.cursor
3434
.github/copilot-instructions.md
3535
boost.json
36-
.ai/

0 commit comments

Comments
 (0)