fastapi-endpoint

Generate a FastAPI CRUD scaffold with router, service, and schemas.

2|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/SKNETWORKS-FAMILY-AICAMP/SKN20-FINAL-6TEAM --skill fastapi-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fastapi-endpoint
Source: https://github.com/SKNETWORKS-FAMILY-AICAMP/SKN20-FINAL-6TEAM/tree/main/.claude/skills/fastapi-endpoint
Command: npx skills add https://github.com/SKNETWORKS-FAMILY-AICAMP/SKN20-FINAL-6TEAM --skill fastapi-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill generates a ready-to-run FastAPI CRUD boilerplate for a new API resource, including router, service, and schemas.

Core Features & Use Cases

  • Boilerplate scaffolding: creates router.py, service.py, and schemas.py to rapidly expose a new resource in FastAPI.
  • Consistent architecture: provides clear separation of concerns with CRUD operations and optional models.
  • Use Case: when adding a new API resource like tasks with fields such as title: str, due_date: date, you can generate a complete module scaffold ready for customization.

Quick Start

Provide the module name, resource name, model fields, and whether authentication is required. The skill will generate the following structure under backend/apps/{module}/:

  • router.py, service.py, schemas.py
  • Optional model file as needed

Frequently Asked Questions about fastapi-endpoint

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

FAQPage Schema
How do I generate a FastAPI CRUD boilerplate for a new API resource?

To generate a FastAPI CRUD boilerplate, provide the module name, resource name, model field definitions, and an authentication requirement. The skill outputs a complete scaffold with router, service, and schemas files ready for customization.

What files are included in a FastAPI scaffold for standard API patterns?

A FastAPI scaffold for standard API patterns includes router.py, service.py, and schemas.py files. It also generates an optional model file to support clear separation of concerns for CRUD operations.

Can I add authentication requirements to generated FastAPI endpoints?

Yes, you can add authentication requirements to generated FastAPI endpoints. You specify whether authentication is required when providing the module and resource details, and the boilerplate tailors the endpoint logic accordingly.

What's the best way to structure FastAPI CRUD operations for multiple resources?

The best way to structure FastAPI CRUD operations is using a consistent architecture with separation of concerns. This skill generates modules under a dedicated directory, providing router, service, and schema layers for each resource.

Do I need to define model fields before generating FastAPI CRUD endpoints?

Yes, you need to define model fields before generating FastAPI CRUD endpoints. You provide field definitions like title as a string or due_date as a date, which are used to tailor the generated schemas and service logic.