Agent skill

fastapi-endpoint-generator

Generate FastAPI endpoint files with Pydantic models, dependency injection, and async handlers. Triggers on "create fastapi endpoint", "generate fastapi router", "python API endpoint", "fastapi route".

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/fastapi-endpoint-generator

SKILL.md

FastAPI Endpoint Generator

Generate FastAPI router files with Pydantic models, dependency injection, and async handlers.

Output Requirements

File Output: *.py router files Format: Valid Python 3.10+ with FastAPI Standards: FastAPI best practices

When Invoked

Immediately generate a complete FastAPI router with CRUD endpoints and Pydantic models.

Example Invocations

Prompt: "Create FastAPI router for products" Output: Complete products.py with async CRUD endpoints.

Didn't find tool you were looking for?

Be as detailed as possible for better results