scaffolding-fastapi-dapr
Build FastAPI Services with Dapr
Building consistent FastAPI microservices requires coordinated database, authentication, messaging, and testing patterns. This skill supplies reusable guidance for SQLModel, Dapr, JWT, logging, and service architecture.
Do not auto-install this skill.
The canonical policy requires operator review before any installation action.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "scaffolding-fastapi-dapr" from https://skillstore.io/skills/asmayaseen-scaffolding-fastapi-dapr.md and its manifest at https://skillstore.io/api/skills/asmayaseen-scaffolding-fastapi-dapr/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "scaffolding-fastapi-dapr". Create a task API with PostgreSQL persistence.
Expected outcome:
- A layered project structure for routes, models, database sessions, repositories, and services.
- Separate create, update, table, and response models with validated fields.
- CRUD behavior with transaction ownership, pagination, error handling, and focused tests.
Using "scaffolding-fastapi-dapr". Add Dapr events when tasks are created.
Expected outcome:
- A publishing flow through the local Dapr sidecar.
- A validated subscription handler that unwraps CloudEvents and enforces idempotency.
- Retry and dead-letter behavior that preserves failed messages.
Using "scaffolding-fastapi-dapr". Protect routes with an external JWKS provider.
Expected outcome:
- A cached JWKS retrieval design with matching key selection.
- JWT checks for algorithm, issuer, audience, expiration, and required claims.
- A FastAPI authentication dependency with generic client errors.
Security Audit
CriticalMost static findings are lexical false positives involving SQLModel query methods, Markdown formatting, local URLs, and documented configuration. Confirmed risks include an unpinned remote installer piped to bash and SQL query logging, while semantic review found weak JWT validation, unauthenticated Dapr handlers, forced message acknowledgement, and error leakage.
Confirmed security concerns (5)
Capability review items (2)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
๐ Network access (18)
โก Contains scripts (6)
โ๏ธ External commands (32)
๐ Env variables (25)
๐ Filesystem access (1)
Detected Patterns
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/asmayaseen-scaffolding-fastapi-dapr/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/asmayaseen-scaffolding-fastapi-dapr?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/asmayaseen-scaffolding-fastapi-dapr?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/asmayaseen-scaffolding-fastapi-dapr/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/asmayaseen-scaffolding-fastapi-dapr.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
Asmayaseen. (2026). scaffolding-fastapi-dapr security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/asmayaseen-scaffolding-fastapi-dapr/audits/9BibTeX citation
@techreport{asmayaseen-asmayaseen-scaffolding-fastapi-dapr-2026,
author = {Asmayaseen},
title = {scaffolding-fastapi-dapr security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/asmayaseen-scaffolding-fastapi-dapr/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "scaffolding-fastapi-dapr security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "Asmayaseen"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/asmayaseen-scaffolding-fastapi-dapr/audits/9"
identifiers:
- type: other
value: "skillstore:asmayaseen-scaffolding-fastapi-dapr:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Create a Service Foundation
Generate a consistent FastAPI structure with SQLModel schemas, database sessions, CRUD routes, and tests.
Add Event-Driven Workflows
Introduce Dapr subscriptions, event publishing, CloudEvent handling, and scheduled callbacks.
Standardize Backend Patterns
Apply repository, service, authentication, logging, versioning, and test conventions across multiple APIs.
Try These Prompts
Create a FastAPI service for [domain]. Include SQLModel create, update, table, and response models with basic CRUD routes.
Extend my FastAPI service with asynchronous PostgreSQL sessions and JWT authentication. Validate issuer, audience, expiration, and the matching JWKS key.
Add Dapr pub/sub to this service for [topic]. Include authenticated handlers, CloudEvent validation, idempotency, retries, and dead-letter handling.
Refactor this FastAPI backend into repository and service layers. Add structured logging, migrations, versioned routes, integration tests, and deployment checks.
Best Practices
- Keep API schemas separate from database table models.
- Let route or service boundaries own transactions and refresh objects after commits.
- Validate authentication claims, event sources, payload schemas, and retry behavior before deployment.
Avoid
- Do not execute remote installation scripts without pinning and integrity verification.
- Do not expose Dapr callback routes without authentication or network restrictions.
- Do not return raw exceptions or enable SQL query logging in production.
Frequently Asked Questions
Does this skill create a complete application?
Which database patterns are covered?
Which Dapr features are included?
Does it support JWT authentication?
Can I use it without Dapr?
What should I review before deployment?
Developer Details
Author
AsmayaseenLicense
MIT
Skillstore revision
r2
Version notice
The author did not declare a version.
Repository
https://github.com/Asmayaseen/hackathon-2/tree/main/.claude/skills/scaffolding-fastapi-daprRef
89edfdc710d0846129dcee6a929477b04f08052c
Maintenance freshness
7/24/2026
Usage
9 downloads ยท 227 views
File structure
๐ references/
๐ dapr-patterns.md
๐ fastapi-patterns.md
๐ sqlmodel-patterns.md
๐ scripts/
๐ verify.py
๐ SKILL.md