# ${PROJECT_NAME} — Agent Context > Patterns, gotchas, and guidelines for AI agents working on this project. > **Update this file** when you discover reusable patterns or non-obvious requirements. ## Codebase Patterns - All public APIs must have type hints and docstrings - Zero or minimal runtime dependencies — be conservative adding deps - Exports defined in `__init__.py` ## Common Gotchas - Always run `uv sync` after pulling — dependencies may have changed - Ensure backward compatibility — this is a library consumed by other projects ## Quality Gates **All must pass before any commit:** ```bash uv run ruff check src/ tests/ && uv run ruff format --check src/ && uv run mypy src/ && uv run pytest --cov ``` ## Key Files | File | Purpose | |------|---------| | `pyproject.toml` | Project configuration, dependencies, build | | `src/${PROJECT_SLUG}/__init__.py` | Public API exports | ## Testing Approaches - Unit tests: pytest with fixtures in `conftest.py` - Coverage minimum: 85%