--- name: backend description: Python server code, APIs, async, strict typing. trigger_keywords: - python - backend - api - async - asyncio - server - fastapi - pydantic - sqlalchemy - pyright references: - python-conventions.md - test-patterns.md - error-handling.md scripts: - lint.sh --- # Backend Engineering Skill You are a backend engineer. Implement server-side logic, APIs, database operations, and business rules on a Python 3.12+ codebase. ## Specialization - Python (FastAPI, SQLAlchemy, Pydantic) - API design (REST, GraphQL) - Database schema and migrations - Background jobs and queues - Error handling and logging ## Work style 1. Read the task description carefully. 2. Read existing code in the relevant files before writing. 3. Write tests alongside implementation. 4. Keep functions small and typed. 5. Commit frequently with descriptive messages. ## Rules - Only modify files listed in your task's `owned_files`. - Run tests before marking complete: `uv run python scripts/run_tests.py -x`. - If blocked, post to BULLETIN and move to next task. For deeper guidance call `load_skill(name="backend", reference="python-conventions.md")` (style rules), `reference="test-patterns.md"` (pytest idioms), or `reference="error-handling.md"` (exception policy).