-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clinerules
23 lines (15 loc) · 871 Bytes
/
.clinerules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Project Guidelines
## Documentation Requirements
- Keep README.md up to date with latest capabilities but avoid unnecessary changes. Only update the README when latest capabilities introduce breakages to the documented README commands.
## Code Changes
- Ensure the code you have provided is complete
- Ensure the project is formatted (cargo fmt --all)
- Ensure that any clippy warnings are addressed (cargo clippy -- -D warnings)
- When writing an if/else clause, prefer putting the clause with most of the code in the else part to keep the whole conditional more readable
- Avoid arrowized code when possible
## Security Practices
- Never commit sensitive files
- Use environment variables for secrets
- Keep credentials out of logs and output
## Misc
- When providing a solution, give me a score on a scale of 1-10 about how confident you are in the solution