fastapi-router-py Skill
Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications. Published by microsoft in skills.
What is fastapi-router-py Skill?
Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications. Published by microsoft in skills. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using skills
Technical details
- Install or run with Copy skill directory
When to use fastapi-router-py Skill
- Use it for developers using skills.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/skills
- Skill file: .github/plugins/azure-sdk-python/skills/fastapi-router-py/SKILL.md
What it does
Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.
Skill instructions
FastAPI Router Create FastAPI routers following established patterns with proper authentication, response models, and HTTP status codes. Quick Start Copy the template from assets/template.py and replace placeholders: - {{ResourceName}} → PascalCase name (e.g., Project) - {{resourcename}} → snakecase name (e.g., project) - {{resourceplural}} → plural form (e.g., projects) Authentication Patterns python Optional auth - returns None if not authenticated currentuser: Optional[User] = Depends(getcurrentuser) Required auth - raises 401 if not authenticated currentuser: User = Depends(getcurrentuserrequired) Response Models python @router.get("/items/{itemid}", responsemodel=Item) async def getitem(itemid: str) - Item: ... @router.get("/items", responsemodel=list[Item]) async def listitems() - list[Item]: ... HTTP Status Codes python @router.post("/items", statuscode=status.HTTP201CREATED) @router.delete("/items/{id}", statuscode=status.HTTP204NOCONTENT) Integration Steps 1. Create router in
Explore related resources
Frequently asked questions
What is fastapi-router-py?
fastapi-router-py is a open-source AI agent skill with Copy skill directory. Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models.
Who is fastapi-router-py best for?
fastapi-router-py is best for reusing agent instructions, scripts, and references.
How do I install fastapi-router-py?
Install or run fastapi-router-py using Copy skill directory. Check fastapi-router-py for the latest setup command.
Is fastapi-router-py actively maintained?
fastapi-router-py may need a closer maintenance check before production use.
Auto-fetched from GitHub.