scaffolding-fastapi-dapr

Scaffold FastAPI backends with SQLModel, Dapr pub/sub, and JWT authentication.

27|11|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/mjunaidca/mjs-agent-skills --skill scaffolding-fastapi-dapr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffolding-fastapi-dapr
Source: https://github.com/mjunaidca/mjs-agent-skills/tree/main/.claude/skills/scaffolding-fastapi-dapr
Command: npx skills add https://github.com/mjunaidca/mjs-agent-skills --skill scaffolding-fastapi-dapr

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Builds production-grade FastAPI backends with SQLModel, Dapr integration, and JWT authentication patterns.

Core Features & Use Cases

  • SQLModel Patterns: combined DB/API models with async support.
  • Dapr Pub/Sub: subscribe/publish patterns for event-driven microservices.
  • JWT/JWKS: authentication patterns for secure APIs.
  • OpenAPI & Audit Logging: API contracts and operational visibility.

Quick Start

Scaffold a FastAPI + Dapr backend and wire up JWT authentication and Dapr pub/sub patterns.

Frequently Asked Questions about scaffolding-fastapi-dapr

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

FAQPage Schema
How do I set up a production FastAPI backend with Dapr integration?

This Skill provides scaffolding for production-grade FastAPI backends with built-in Dapr pub/sub patterns, SQLModel async database models, and JWT authentication. It includes reference implementations and scripts to wire up event-driven microservices, CRUD endpoints, and secure API contracts with OpenAPI documentation.

Can I use SQLModel with async PostgreSQL in FastAPI?

SQLModel combines Pydantic and SQLAlchemy to define database and API models together with full async support. This Skill includes patterns for async database setup with Neon PostgreSQL, enabling efficient CRUD operations and OpenAPI schema generation from unified model definitions.

What's the best way to implement JWT authentication with JWKS verification in FastAPI?

JWT/JWKS authentication protects FastAPI endpoints by validating tokens against a key set. This Skill provides authentication patterns for secure APIs, including token verification and protected endpoint setup, integrated into the scaffolding for immediate deployment.

How do I set up event-driven microservices using Dapr pub/sub with FastAPI?

Dapr pub/sub enables asynchronous communication between microservices through publish and subscribe patterns. This Skill includes subscribe/publish patterns for event-driven architectures, allowing FastAPI services to send and receive events without direct coupling.

Does Dapr work with REST APIs for task scheduling and event handling?

Dapr provides pub/sub and service invocation patterns that integrate seamlessly with REST APIs for task scheduling and asynchronous event handling. This Skill scaffolds both mechanisms, enabling production-ready event-driven workflows alongside REST endpoints.

What audit logging and API documentation do I get with this FastAPI setup?

OpenAPI automatically generates interactive API documentation from your FastAPI models. This Skill includes audit logging patterns for operational visibility alongside OpenAPI contracts, providing both developer experience and production monitoring.