Update general project rules with additional guidelines

- Add rule for using `Current.family` instead of `current_family`
- Include new guidelines for testing, API routes, and solution approach
- Expand project-specific rules for more consistent development practices
This commit is contained in:
Josh Pigford
2025-02-27 21:43:30 -05:00
parent 209fa73e54
commit e8267618c2

View File

@@ -6,5 +6,10 @@ alwaysApply: true
### Additional project-specific rules
- Use `Current.user` for the current user. Do NOT use `current_user`.
- Use `Current.family` for the current family. Do NOT use `current_family`.
- Do not run `rails server` in your responses.
- Do not run `touch tmp/restart.txt`
- Do not run `touch tmp/restart.txt`
- Do not run `rails credentials`
- Do not create new API routes
- Write and run tests as you go to verify functionality in small pieces
- Focus on simple solutions