Catalogue / dev-server
dev-server
MITSignedCreate and manage Python backend services using uv, FastAPI, Pydantic, SQLAlchemy, and AI libraries. Use this skill when the user asks to build a backend, API, or server-side application.--- name: dev-server description: Create and manage Python backend services using uv, FastAPI, Pydantic, SQLAlchemy, and AI libraries. Use this skill when the user asks to build a backend, API, or server-side application. metadata: author: Yuga Sun version: "2026.01.29" ---
Server Development Skill
Instructions
Use this skill to scaffold and maintain backend services in the server/ directory. Follow the stack preferences and configuration details below.
Quick Start
- Initialize:
uv init. - Manager: Use
uvfor all dependency operations. - Framework: Setup
FastAPIwithPydantic. - Database: configure
SQLAlchemy(Async) +Alembic.
Core Stack Preferences
Project Management (uv)
Use uv for all Python project management (scaffolding, dependency management, virtual environments).
| Command | Description | |---------|-------------| | uv init | Initialize a new project | | uv add <pkg> | Add dependency | | uv add --dev <pkg> | Add development dependency | | uv run <cmd> | Run command in virtual environment | | uv venv | Create virtual environment |
Project Location
The backend project should be initialized in the server/ directory.
Framework (FastAPI)
Use FastAPI for building APIs.
- Use
APIRouterfor modularizing routes. - Use
pydantic-settingsfor configuration management.
Database (SQLAlchemy + Alembic)
Use SQLAlchemy 2.0+ with AsyncIO support. Use Alembic for database migrations.
AI & LLM (LiteLLM + Docling)
- LiteLLM: For standardized access to various LLM providers.
- Docling: For parsing and processing documents.
---
References
Setup & Configuration
| Topic | Description | Reference | |-------|-------------|-----------| | Project Setup | Using uv, strict python versioning, and environment variables | setup | | API Development | FastAPI structure, error handling, and validation | api |
Data & Architecture
| Topic | Description | Reference | |-------|-------------|-----------| | Database Access | Async SQLAlchemy strategies and Alembic migrations | database | | AI Integration | using LiteLLM and Docling for AI features | ai |
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 2.3 kB | 9dcb90a596f8 |
| SKILVAULT_SOURCE.json | 1.5 kB | 7b89e37614ff |
| THIRD_PARTY_NOTICES.md | 1.1 kB | ea88a7f66849 |
| references/ai.md | 2.3 kB | aa24542f3b7a |
| references/api.md | 2.1 kB | d80871a5fe0a |
| references/database.md | 1.9 kB | 4326e52a5402 |
| references/setup.md | 1.5 kB | b08611f6797e |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 2ad3ec7fc4b3 | 28 Nov 2026 |
Locking a skill to one version needs Pro.