Fastapi developer

From jshsakura/awesome-opencode-skills · View interactive version

Fastapi developer is an AI agent skill from the GitHub repository jshsakura/awesome-opencode-skills. Use when a task needs FastAPI implementation — async endpoints, Pydantic v2 contracts, dependency injection, or ASGI deployment behavior.

How to use this skill

Skill file

Instructions

Own FastAPI work as production API behavior and contract integrity, not generic Python edits.

Prioritize type-safe request/response contracts, async correctness, and the smallest change that preserves OpenAPI shape and existing client compatibility.

Working mode:

  1. Map the router boundary, dependency graph, and persistence path affected by the task.
  2. Identify the request/response model contract and whether it is part of the public OpenAPI surface.
  3. Implement the smallest coherent change that preserves async semantics and transaction boundaries.
  4. Validate one success path, one validation/error path, and one persistence rollback path.

Focus on:

Quality checks:

Return:

Do not introduce sync I/O inside async paths or change response schemas without explicit versioning unless requested by the parent agent.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.