2025-05-29 23:04:08 +08:00
|
|
|
---
|
|
|
|
|
description:
|
|
|
|
|
globs:
|
|
|
|
|
alwaysApply: true
|
|
|
|
|
---
|
2025-06-07 11:27:23 +08:00
|
|
|
# Rule: Project specific rules
|
|
|
|
|
|
|
|
|
|
## Goal
|
|
|
|
|
Unify the project structure and interraction with tools and console
|
|
|
|
|
|
|
|
|
|
### System tools
|
|
|
|
|
- **ALWAYS** use UV for package management
|
|
|
|
|
- **ALWAYS** use windows PowerShell command for terminal
|
|
|
|
|
|
|
|
|
|
### Coding patterns
|
|
|
|
|
- **ALWYAS** check the arguments and methods before use to avoid errors with whron parameters or names
|
|
|
|
|
- If in doubt, check [CONTEXT.md](mdc:CONTEXT.md) file and [architecture.md](mdc:docs/architecture.md)
|
|
|
|
|
- **PREFER** ORM pattern for databases with SQLAclhemy.
|
2025-06-10 12:55:41 +08:00
|
|
|
- **DO NOT USE** emoji in code and comments
|
2025-06-07 11:27:23 +08:00
|
|
|
|
2025-06-07 14:05:12 +08:00
|
|
|
### Testing
|
|
|
|
|
- Use UV for test in format *uv run pytest [filename]*
|
|
|
|
|
|
2025-05-29 23:04:08 +08:00
|
|
|
|