application-tracker / fastapi
CLAUDE.md1 starsChanged 9 months agoMITView on GitHub
- Reads credentials
We found no rules to list in this file: it reads as prose or reference rather than instructions.
Files
CLAUDE.md
FastAPI Patterns
- Stack: Python 3.14 + FastAPI + asyncpg (raw SQL) + Pydantic v2, managed by
uv; port 5160 (5060 reserved by macOS SIP), DB schemapython_fastapi - Functional style: Service functions take
asyncpg.Poolas first arg — no service classes, only Pydantic model classes - Pydantic CamelModel: Base class uses
alias_generator=to_camel; usemodel_dump(by_alias=True)for API responses - Partial PATCH via
model_fields_set: Distinguishes explicitly-set fields from absent ones — required for correct partial update behavior - asyncpg DATE columns: Require
datetime.dateobjects, not strings — use theparse_date()helper insrc/services/shared.py - asyncpg SSL: Pass
ssl=Falsefor local Docker PostgreSQL — asyncpg defaults to SSL which fails locally - python-dotenv scope:
load_dotenv()walks up the directory tree — restrict it tofastapi/.envexplicitly to avoid picking up a root.env - PostgreSQL enum casts: Need explicit schema-qualified casts, e.g.
$1::python_fastapi.application_status - Dev deps:
uv sync --extra dev; run server viauv run python -m src
In this repository28 other files it gives its agents.
- angular-spring-ui/CLAUDE.mdCLAUDE.md
- angular-ui/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- go-api/CLAUDE.mdCLAUDE.md
- hono-api/CLAUDE.mdCLAUDE.md
- lambda-api/CLAUDE.mdCLAUDE.md
- nest-api/CLAUDE.mdCLAUDE.md
- nest-history-api/CLAUDE.mdCLAUDE.md
- nuxt-api/CLAUDE.mdCLAUDE.md
- rails-api/CLAUDE.mdCLAUDE.md
- spring-api/CLAUDE.mdCLAUDE.md
- svelte-ui/CLAUDE.mdCLAUDE.md
- tanstack-ui/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- vue-ui/CLAUDE.mdCLAUDE.md
- .github/agents/copilot-instructions.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- add-react-componentSkill
- add-react-hookSkill
- add-react-testSkill
- debugSkill
- document-featureSkill
- e2e-testSkill
- fix-buildSkill
- perf-auditSkill
- refactorSkill
- run-e2eSkill
- update-depsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

