dev-server

Scaffold Python backend services with uv, FastAPI, and SQLAlchemy.

1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/yugasun/skills --skill dev-server-yugasun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-server
Source: https://github.com/yugasun/skills/tree/main/skills/server
Command: npx skills add https://github.com/yugasun/skills --skill dev-server-yugasun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers quickly scaffold and maintain Python backend services using uv, FastAPI, Pydantic, SQLAlchemy, and AI libraries, reducing setup time and boilerplate.

Core Features & Use Cases

  • Project scaffolding: Create a scalable server structure with FastAPI routers, models, and configuration for rapid iteration.
  • Database & migrations: Async SQLAlchemy integration with Alembic migrations for evolving schemas and safe migrations.
  • API-first development: Modular routing with APIRouter and Pydantic for validation and type-safe API contracts.
  • AI integration: Support for LiteLLM and Docling to enable document-based AI workflows within services.

Quick Start

Initialize a new server project in the server/ directory, then bootstrap FastAPI with modular routing, configure the database, and apply migrations. Use uv to manage dependencies and run the server:

  1. Initialize: uv init
  2. Add dependencies: uv add fastapi uvicorn sqlalchemy alembic pydantic-settings
  3. Create app structure with FastAPI and APIRouter-based modules
  4. Configure Alembic migrations and start the server with uv run uvicorn src.main:app --reload

Frequently Asked Questions about dev-server

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

FAQPage Schema
How do I scaffold a FastAPI backend with SQLAlchemy and Alembic migrations?

To scaffold a FastAPI backend with SQLAlchemy and Alembic, initialize a project using uv, add the required dependencies, create an APIRouter-based modular structure, configure asynchronous data access, and apply Alembic migrations for evolving database schemas.

What is the best way to structure a FastAPI project for modular routing and type-safe APIs?

The best way to structure a FastAPI project for modular routing is using APIRouter modules combined with Pydantic models, which enforces type-safe API contracts and separates route logic from data validation within a scalable server directory structure.

Does this FastAPI scaffolding approach support asynchronous database access with SQLAlchemy?

Yes, this FastAPI scaffolding approach supports asynchronous database access by integrating async SQLAlchemy, allowing non-blocking data queries that work seamlessly with FastAPI's asynchronous request handling for reliable production apps.

Can I integrate LiteLLM and Docling into a Python backend for document-based AI workflows?

You can integrate LiteLLM and Docling into a Python backend by adding them as dependencies through uv, enabling document-based AI workflows and processing directly within your FastAPI service endpoints.

Why use uv for Python backend dependency management instead of standard pip?

Using uv for Python backend dependency management provides faster installation and environment resolution compared to standard pip, enforcing strict project structure and configuration while bootstrapping FastAPI servers efficiently.

How do I configure Pydantic-settings for FastAPI application configuration?

To configure Pydantic-settings for FastAPI application configuration, add the pydantic-settings package via uv, define your environment variables in a settings model, and inject it into your FastAPI routers for type-safe configuration management.