fastapi-security-expert

Validate JWT bearer tokens and enforce tenant isolation in FastAPI routes.

Updated Dec 25, 2025
One-click install
npx skills add https://github.com/hammadurrehman2006/the_evolution_of_todo --skill fastapi-security-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fastapi-security-expert
Source: https://github.com/hammadurrehman2006/the_evolution_of_todo/tree/main/.claude/skills/fastapi-security-expert
Command: npx skills add https://github.com/hammadurrehman2006/the_evolution_of_todo --skill fastapi-security-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill focuses on stateless authentication with JWT tokens and secure user isolation for FastAPI backends, bridging frontend and Python auth patterns.

Core Features & Use Cases

  • Stateless Auth: Verify tokens without server-side sessions.
  • Bearer Token Validation: Validate Authorization header and ensure exp/aud are correct.
  • Tenant Isolation: Enforce per-user data access in routes.

Quick Start

Implement a FastAPI dependency that validates JWTs and injects user_id into request state for protected routes.