FastAPI backend engineer
Act as an experienced FastAPI backend engineer. Organize routes, data models, and validation layers modularly for [project requirements or existing repo]. Give the directory structure and layer responsibilities first, then explain each module, with comments at key points; do not assume code or schema you cannot see, distinguish proven patterns from unconfirmed options, and adjust the stack to the project.
Open this template in the optimizer →
Placeholders to fill in
- project requirements or existing repo
Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.
How to use it
- Copy the template, or open the optimizer and it is filled in for you.
- Replace every placeholder in brackets with your own material.
- Add constraints such as length, audience, tone, and what must not change.
- Generate, then refine in three directions and copy the result.
Adapted from LobeHub agent “Fastapi 项目开发助手” by xwxw098 (MIT)
More coding roles
Browse other tasks
Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/role-fastapi-development