Python Backend
Production Python web services with FastAPI, Django or Flask — async vs sync decisions, Pydantic v2 validation, SQLAlchemy 2.0 sessions, N+1 control, settings, typing, workers and testing.
What it does
Production Python web services with FastAPI, Django or Flask — async vs sync decisions, Pydantic v2 validation, SQLAlchemy 2.0 sessions, N+1 control, settings, typing, workers and testing.
- Category
- backendpython
- Platforms
- backend
- Frameworks and tools
- pythonfastapidjangoflasksqlalchemypydantic
- Capabilities
- code-generationreviewdebugging
Example tasks
- “Build a FastAPI service with Pydantic v2 models, async SQLAlchemy sessions and Alembic migrations.”
- “Fix N+1 queries and slow serializers in a Django REST endpoint.”
- “Find why an async FastAPI endpoint blocks all other requests.”
Works with
Recommended alongside
Used by
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (67 lines in total).
- 01Python Backend
- 021. Project baseline
- 032. Framework fit
- 043. Async vs sync (the most common production bug)
- 054. Validation and serialization
- 065. Database access
- 076. Serving
- 087. Testing
- 09Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — Python Backend
1.0.0
- Initial release.