Skip to content
Back to skills

Fastapi

ASecurity

FastAPI framework patterns, best practices, and implementation guides

  • 24 stars
  • 0 votes
  • 0 copies
  • 18 views
  • Added February 7, 2026
developmentpythongobashsqlfastapitestingapidatabasebackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add Fujigo-Software/f5-framework-claude --skill fastapi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fastapi?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fastapi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fujigo-software-fastapi/badge)](https://www.skillsdirectory.com/skills/fujigo-software-fastapi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fastapi-skills
description: FastAPI framework patterns, best practices, and implementation guides
category: stacks/backend/fastapi
applies_to: fastapi
allowed-tools: Read, Write, Glob, Grep, Bash
user-invocable: true
context: inject
---

# FastAPI Skills

Modern, fast Python web framework for building APIs.

## Sub-Skills

### Architecture
- [project-structure.md](architecture/project-structure.md) - Project structure patterns
- [dependency-injection.md](architecture/dependency-injection.md) - DI with Depends
- [routers.md](architecture/routers.md) - Router organization

### Database
- [sqlalchemy-patterns.md](database/sqlalchemy-patterns.md) - SQLAlchemy patterns
- [async-sqlalchemy.md](database/async-sqlalchemy.md) - Async SQLAlchemy
- [repository-pattern.md](database/repository-pattern.md) - Repository pattern
- [alembic-migrations.md](database/alembic-migrations.md) - Alembic migrations

### Security
- [jwt-auth.md](security/jwt-auth.md) - JWT authentication
- [oauth2.md](security/oauth2.md) - OAuth2 with FastAPI
- [api-keys.md](security/api-keys.md) - API key authentication

### Validation
- [pydantic-models.md](validation/pydantic-models.md) - Pydantic validation
- [custom-validators.md](validation/custom-validators.md) - Custom validators

### Error Handling
- [exception-handlers.md](error-handling/exception-handlers.md) - Exception handlers
- [error-responses.md](error-handling/error-responses.md) - Error response patterns

### Testing
- [pytest-testing.md](testing/pytest-testing.md) - Testing with pytest
- [test-client.md](testing/test-client.md) - TestClient patterns

### Performance
- [async-patterns.md](performance/async-patterns.md) - Async patterns
- [caching.md](performance/caching.md) - Caching strategies

## Detection
Auto-detected when project contains:
- `main.py` with FastAPI
- `fastapi` or `uvicorn` packages
- `from fastapi import` imports

Files in this skill

  • SKILL.md1.9 KB
  • architecture/clean-architecture.md14.8 KB
  • architecture/dependency-injection.md8.6 KB
  • architecture/project-structure.md6.8 KB
  • database/alembic-migrations.md10.3 KB
  • database/async-sqlalchemy.md12.9 KB
  • database/repository-pattern.md18.6 KB
  • database/sqlalchemy-patterns.md11.5 KB
  • error-handling/error-responses.md14.7 KB
  • error-handling/exception-handlers.md12.9 KB
  • performance/async-patterns.md14 KB
  • performance/background-tasks.md16.4 KB
  • performance/caching.md16.2 KB
  • security/api-key-auth.md12.9 KB
  • security/oauth2-jwt.md12 KB
  • security/rbac-permissions.md13.6 KB
  • testing/fixtures.md18.5 KB
  • testing/pytest-asyncio.md12.9 KB
  • testing/test-client.md15 KB
  • validation/custom-validators.md13.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…