-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cursorrules
More file actions
29 lines (23 loc) · 781 Bytes
/
Copy path.cursorrules
File metadata and controls
29 lines (23 loc) · 781 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
# AI Coding Assistant Rules for ai-config-gen
language: Python
package_manager: pip/uv/poetry
## Code Style
- Python with type hints
- Function-oriented / procedural codebase
- Use descriptive variable and function names
- Keep functions focused and under 50 lines
- Add comments only for non-obvious logic
## Architecture
- Modular structure (src)
## Testing
- Write tests for all new features
- Ensure existing tests pass before submitting changes
## Safety Rules
- Never expose secrets or API keys in code
- Validate all user inputs
- Use parameterized queries for database operations
- Handle errors gracefully with proper logging
## Git Workflow
- Write clear, descriptive commit messages
- One logical change per commit
- Use conventional commit format when applicable