fastapi-template

Generate FastAPI CRUD modules with routers, services, repositories, schemas, and models.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/adelabdelgawad/claude-fullstack-plugins --skill fastapi-template
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fastapi-template
Source: https://github.com/adelabdelgawad/claude-fullstack-plugins/tree/main/fastapi-template/skills/fastapi-template
Command: npx skills add https://github.com/adelabdelgawad/claude-fullstack-plugins --skill fastapi-template

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill automates the generation of production-ready FastAPI CRUD modules using a repository-pattern architecture.

Core Features & Use Cases

  • Consistent scaffolding: Router, Service, Repository, Schema, and Model files generated to match a repo pattern.
  • Entity-centric generation: Create CRUD components for new or existing entities with a single command.
  • Real-world usage: Quickly bootstrap a FastAPI app segment with standardized structure and ORM integration.

Quick Start

Run the generator to scaffold a new entity, for example "Product", and integrate the produced files into your FastAPI project.

Frequently Asked Questions about fastapi-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold FastAPI CRUD modules using the repository pattern?▼

This skill scaffolds FastAPI CRUD modules by generating router, service, repository, schema, and model files using a repository-pattern architecture. It outputs standardized REST endpoints and data access layers for new entities.

What is the best way to generate FastAPI boilerplate with SQLAlchemy and Pydantic?▼

The best way to generate FastAPI boilerplate is using a templated file-generation workflow that creates SQLAlchemy models and Pydantic schemas. This ensures consistent ORM integration and standardized data validation across your application.

Can I add CRUD endpoints to existing FastAPI apps or only new projects?▼

You can add CRUD endpoints to existing apps as well as new projects. The generator supports entity-centric creation for both scenarios, allowing you to integrate standardized repository-pattern components into your current FastAPI structure.

Does the generated FastAPI code include routers, services, and repositories?▼

Yes, the generated FastAPI code includes routers, services, and repositories. It produces all five core components—router, service, repository, schema, and model files—to ensure a complete, production-ready module architecture.

How do I create a new FastAPI entity with consistent REST endpoints?▼

To create a new FastAPI entity with consistent REST endpoints, run the generator command with the entity name, such as "Product". The skill outputs templated files that match a standardized repository pattern for immediate integration.

What are the limitations of auto-generating FastAPI modules with SQLAlchemy models?▼

A limitation of auto-generating FastAPI modules is that the templated SQLAlchemy models and Pydantic schemas provide a standardized starting point, meaning you may still need to manually adjust business logic and relationships for complex use cases.