scaffolding-fastapi-dapr

Scaffold FastAPI backends with Dapr integration and JWT authentication.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/Ikram-Alam/The-Evolution-of-Todo-Mastering-Spec-Driven-Development-Cloud-Native-AI --skill scaffolding-fastapi-dapr-ikram-alam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffolding-fastapi-dapr
Source: https://github.com/Ikram-Alam/The-Evolution-of-Todo-Mastering-Spec-Driven-Development-Cloud-Native-AI/tree/main/.claude/skills/scaffolding-fastapi-dapr
Command: npx skills add https://github.com/Ikram-Alam/The-Evolution-of-Todo-Mastering-Spec-Driven-Development-Cloud-Native-AI --skill scaffolding-fastapi-dapr-ikram-alam

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides ready-to-use scaffolding for building production-grade FastAPI backends with SQLModel, Dapr integration, and JWT authentication. It reduces boilerplate and accelerates moving from a prototype to a scalable microservice.

Core Features & Use Cases

  • Backend scaffolding: Generates a structured FastAPI project with async SQLModel schemas, authentication templates, and development scripts.
  • Dapr integration patterns: Includes examples for pub/sub messaging, CloudEvent handling, and Jobs scheduling to support event-driven microservices.
  • Security & OpenAPI: JWT/JWKS verification, OpenAPI configuration, and patterns for auditing and authorization.
  • Use Case: Start a new microservice quickly and evolve from a CLI-driven workflow to a full FastAPI + Dapr stack.

Quick Start

uv init backend && cd backend uv add fastapi sqlmodel pydantic httpx python-jose uvicorn uv run uvicorn main:app --reload --port 8000 dapr run --app-id myapp --app-port 8000 -- uvicorn main:app

Frequently Asked Questions about scaffolding-fastapi-dapr

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

FAQPage Schema
How do I scaffold a FastAPI backend with Dapr integration?

To scaffold a FastAPI backend with Dapr integration, use this Skill to generate a structured project featuring async SQLModel schemas, JWT authentication templates, and pub/sub messaging patterns. It provides a ready-to-run development workflow using uv and uvicorn.

Can I use JWT authentication and SQLModel together in a FastAPI microservice?

Yes, JWT authentication and SQLModel can be used together in a FastAPI microservice. This scaffolding generates async SQLModel database schemas alongside JWT/JWKS verification and OpenAPI configuration to secure your REST APIs.

What is the best way to implement event-driven microservices with FastAPI and Dapr?

The best way to implement event-driven microservices with FastAPI and Dapr is by applying pub/sub messaging, CloudEvents handling, and Jobs scheduling. This Skill provides these integration patterns to reduce boilerplate when building scalable microservices.

Does Dapr work with FastAPI for pub/sub messaging and CloudEvents handling?

Dapr works seamlessly with FastAPI for pub/sub messaging and CloudEvents handling. The scaffolding includes specific integration examples for event-driven patterns, enabling async communication between your microservices via Dapr sidecars.

How do I set up a production-grade FastAPI project with async database and OpenAPI configuration?

Setting up a production-grade FastAPI project involves generating async database schemas with SQLModel and configuring OpenAPI documentation. This Skill automates this setup, providing JWT/JWKS verification and a CLI-driven development workflow to accelerate microservice creation.