mcpField
F
fastapi-templates

fastapi-templates

github.com/sickn33Development49.1k300 installsUpdated today
Repository

About fastapi-templates

fastapi-templates is a skill for creating FastAPI project structures, aimed at developers starting async APIs and services. It covers project organization, dependency injection, middleware, testing, and patterns for database-backed applications.

Key features

  1. 01FastAPI project structures
  2. 02Async API patterns
  3. 03Dependency injection and middleware
  4. 04Testing and project setup
  5. 05PostgreSQL and MongoDB app guidance

Use cases

  1. 01Starting a FastAPI project
  2. 02Building an async REST API
  3. 03Structuring a database-backed service

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/sickn33/agentic-awesome-skills --skill fastapi-templates

After installing, type/fastapi-templatesin Claude Code to confirm it loaded.

Bundled filesresources/implementation-playbook.md

Details

From the project README

FastAPI Project Templates

Starting-point FastAPI project structures with async patterns, dependency injection, middleware, and best practices for building high-performance APIs.

Use this skill when

  • Starting new FastAPI projects from scratch
  • Implementing async REST APIs with Python
  • Building high-performance web services and microservices
  • Creating async applications with PostgreSQL, MongoDB
  • Setting up API projects with proper structure and testing

Do not use this skill when

  • The task is unrelated to fastapi project templates
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Example

Create a PostgreSQL-backed user API using the playbook. First define request/output/internal schemas and object authorization, then test registration, inactive-token rejection and forbidden cross-user reads. Report missing project files before claiming a runnable service.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Comments

Markdown supported