fastapi-templates

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

5 stars

Best use case

fastapi-templates is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Teams using fastapi-templates should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/fastapi-templates/SKILL.md --create-dirs "https://raw.githubusercontent.com/FrancoStino/opencode-skills-collection/main/bundled-skills/fastapi-templates/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/fastapi-templates/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How fastapi-templates Compares

Feature / Agentfastapi-templatesStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# FastAPI Project Templates

Production-ready 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`.

## 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.

Related Skills

python-fastapi-development

5
from FrancoStino/opencode-skills-collection

Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic, authentication, and production API patterns.

odoo-qweb-templates

5
from FrancoStino/opencode-skills-collection

Expert in Odoo QWeb templating for PDF reports, email templates, and website pages. Covers t-if, t-foreach, t-field, and report actions.

incident-runbook-templates

5
from FrancoStino/opencode-skills-collection

Production-ready templates for incident response runbooks covering detection, triage, mitigation, resolution, and communication.

github-actions-templates

5
from FrancoStino/opencode-skills-collection

Production-ready GitHub Actions workflow patterns for testing, building, and deploying applications.

fastapi-router-py

5
from FrancoStino/opencode-skills-collection

Create FastAPI routers following established patterns with proper authentication, response models, and HTTP status codes.

fastapi-pro

5
from FrancoStino/opencode-skills-collection

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns.

employment-contract-templates

5
from FrancoStino/opencode-skills-collection

Templates and patterns for creating legally sound employment documentation including contracts, offer letters, and HR policies.

documentation-templates

5
from FrancoStino/opencode-skills-collection

Documentation templates and structure guidelines. README, API docs, code comments, and AI-friendly documentation.

defi-protocol-templates

5
from FrancoStino/opencode-skills-collection

Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and lending systems. Use when building decentralized finance applications or smart contract protocols.

templates

5
from FrancoStino/opencode-skills-collection

Project scaffolding templates for new applications. Use when creating new projects from scratch. Contains 12 templates for various tech stacks.

zustand-store-ts

5
from FrancoStino/opencode-skills-collection

Create Zustand stores following established patterns with proper TypeScript types and middleware.

zoom-automation

5
from FrancoStino/opencode-skills-collection

Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.