AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

fastapi-router-py

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.

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read microsoft--fastapi-router-py at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 2

references/capabilities.md

fastapi-router-py capability coverage

SDK/package: fastapi

This reference captures additional non-hero capabilities and API breadth so the main SKILL.md can stay focused on copy/paste hero flows.

Hero scenarios covered in SKILL.md

  • Quick Start
  • Authentication Patterns
  • Response Models
  • HTTP Status Codes

Important non-hero scenarios to include when needed

  • Integration Steps
  • Best Practices

API breadth checklist

  • Verify dependency lifetimes (Depends with yield) for resources like DB connections and HTTP clients.
  • Confirm request/response validation uses Pydantic models with appropriate field constraints.
  • Include proper error responses with HTTPException and correct status codes.
  • Avoid blocking I/O in async def endpoints; use run_in_executor or a thread-pool for sync calls.
  • Validate middleware, background tasks, and lifespan event patterns for production paths.