feat: init

This commit is contained in:
h
2026-04-16 01:16:54 +02:00
commit 14bf1047ee
51 changed files with 2227 additions and 0 deletions

25
AGENTS.md Normal file
View File

@@ -0,0 +1,25 @@
## Code Principles
- **Simplicity**: Write simple, straightforward code
- **Readability**: Make code easy to understand
- **Performance**: Consider performance without sacrificing readability
- **Maintainability**: Write code that's easy to update
- **Reusability**: Create reusable components and functions
- **Less Code = Less Debt**: Minimize code footprint
- **NEVER write comments** - code should be self-documenting
## Checking commands
After writing code, always run:
```shell
ruff format # format
ruff check --fix # lint
ty check # type-check
```
## Common mistakes
### Motor deprecation
Remember that we use Beanie ODM > 2.0. It is using pymongo (async) instead of motor.
Prefer fetching beanie docs if doing something specific.
### Timezone-naive datetimes
While working with datetime values, especially stored in databases, ensure that you
NEVER compare timezone-naive and timezone-aware datetimes.