-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.cursorrules
More file actions
29 lines (22 loc) · 933 Bytes
/
.cursorrules
File metadata and controls
29 lines (22 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Cursor AI Instructions for tsugi-php
This project uses a generic `AI_INSTRUCTIONS.md` file for AI assistant instructions.
See that file for the complete guidelines. Key instructions below:
## Testing
After making code changes, always run the full test suite using one of these shortcuts:
**Preferred (composer script):**
```bash
composer test
```
**Alternative (direct command):**
```bash
./vendor/bin/phpunit tests --bootstrap vendor/autoload.php
```
Verify all tests pass before considering the task complete. Some skipped tests are acceptable, but all non-skipped tests must pass.
## Code Style
- Follow existing PHP code style in the project
- Use PSR-12 coding standards where applicable
- Maintain consistency with existing code patterns
## Documentation
- Add appropriate comments for complex logic
- Update inline documentation when modifying functions
- Keep test files well-documented with clear test descriptions