Agent Wealth HubFree public resources
中文 EN العربية

Back to catalog / Developer tools

FastAPI: scaffold a bounded asynchronous API project

Create a modular FastAPI structure with dependencies, configuration, error handling, and tests.

Skills

Confirm routes, data layer, authentication, and deployment environment. Create clear `app/api`, `core/config`, `services`, `schemas`, and `tests` boundaries. Define dependency injection and startup/shutdown lifecycles for shared resources. Load and validate configuration from environment variables; never place secrets in source. Use async for I/O-bound paths and avoid blocking the event loop. Add consistent error responses, request validation, and pytest coverage. Start the dev server and run tests, then list generated files and configuration still required from the user.

Permissions

Prerequisites

Permissions

Limitations

Use async for I/O-bound work, environment-based config, managed resource lifetimes, error handling, and runnable tests.

Pinned upstream source

https://github.com/wshobson/agents/blob/46891e7e60da0e52baf1050b7b6391b64e84c6d9/plugins/api-scaffolding/skills/fastapi-templates/SKILL.md

Repository
wshobson/agents
File path
plugins/api-scaffolding/skills/fastapi-templates/SKILL.md
Pinned commit
46891e7e60da0e52baf1050b7b6391b64e84c6d9
Source checked
2026-10-14 · Reviewed against the pinned upstream source

Repository metrics

These values describe the upstream repository, not popularity or likes for an individual skill or playbook.

Stars
Not collected
Forks
Not collected
Observed at
Not collected

No metrics snapshot is available yet.

License: MIT

Compatible tools

FastAPI application scaffold · pytest · ASGI server

View skill directory

Main topic

Take a coding Agent change from context to verification

Related resources