Implement changes following Quay conventions. Reads the relevant AGENTS.md and agent_docs/ for the area being worked on, then guides implementation, quality checks (pre-commit, tests), and commit with proper message format.
Implement code changes following Quay project conventions.
Read AGENTS.md for universal conventions. Then load the area-specific doc:
| Area | Doc |
|---|---|
| API endpoints, auth | agent_docs/api.md |
| Database, migrations | agent_docs/database.md |
| Testing | agent_docs/testing.md |
| Architecture | agent_docs/architecture.md |
| React frontend | web/AGENTS.md |
Follow AGENTS.md conventions:
endpoints/exception.pyalembic revision -m "description" firstPre-commit hooks run automatically on git commit. To run manually:
bash .claude/scripts/format-and-lint.sh # staged files
bash .claude/scripts/format-and-lint.sh --all-files # all files
Run relevant tests:
TEST=true PYTHONPATH="." pytest path/to/test.py -v # Single test
make unit-test # All unit tests
make registry-test # Registry protocol
make types-test # mypy
Format:
<subsystem>: <what changed> (PROJQUAY-####)
<why this change was made>
See .github/CONTRIBUTING.md for full conventions. Pre-commit hooks run on commit — fix any failures and re-commit.