Python + FastAPIStack
by DUOMReport
APIs in Python with FastAPI: Python and FastAPI rules, current docs through Context7, and test-driven development.
Developer tools5 itemsUpdated yesterdaystack/python-fastapi
Install
Run in your project folder (DuoM CLI: risk check, then write; undo with npx duom@1 undo)
npx duom@1 add stack/python-fastapi --client claude-code
Writes to each member's own place (where Claude Code reads it).
What is in it
- General Agent RulesRule
Baseline rules for any project: read before editing, small diffs, run the checks, never touch secrets.
- PythonRule
Rules for Python projects: virtual environments, type hints, pathlib, tests with pytest, and no bare except.
- FastAPIRule
Rules for FastAPI services: Pydantic models, dependencies, async I/O, and safe error responses.
Context7MCPUp-to-date docs for AI agents
- Test Driven DevelopmentSkill
Use when implementing any feature or bugfix, before writing implementation code