- Use
uv runfor Python commands - Use
uv run ruff check src/ tests/anduv run ruff format --check src/ tests/for linting - Use
uv run ty check src/ alembic/anduv run pytest tests/ --ignore=tests/integration -vfor local verification
- Keep docstrings general; avoid implementation details that become stale
- Avoid comments that explain temporary or in-progress changes
- Design classes with stable interfaces; avoid coupling methods to specific fields
- Adapt tests to match source code, not the reverse
- Ask before adding or modifying tests alongside functional changes