fastapi-senior-dev

fastapi-senior-dev is a skill for Claude Code from georgekhananaev/claude-skills-vault. It costs 39 tokens per session (2,999 once invoked), scanned A, original, MIT.

A set of practices for building and reviewing FastAPI applications in Python. FastAPI is a Python framework for creating web APIs, including services that handle requests and return data.

In plain words
What is it for?
Use it to scaffold an API, apply a clean project structure, connect PostgreSQL, MongoDB, or Redis, add OAuth2, JWT, or OIDC authentication, build microservices, and review code for security and performance.
Why use it?
It helps organize larger backend projects and addresses common concerns such as database access, authentication, security, asynchronous code, and performance. It also provides guidance for starting, restructuring, and auditing FastAPI projects.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to scaffold an API, apply a clean project structure, connect PostgreSQL, MongoDB, or Redis, add OAuth2, JWT, or OIDC authentication, build microservices, and review code for security and performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/georgekhananaev/claude-skills-vault/fastapi-senior-dev
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add georgekhananaev/claude-skills-vault --skill fastapi-senior-dev
Clone the repo
git clone --depth 1 https://github.com/georgekhananaev/claude-skills-vault

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fastapi-senior-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/fastapi-senior-dev/github.svg)](https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/fastapi-senior-dev)
Your own site
<a href="https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/fastapi-senior-dev"><img src="https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/fastapi-senior-dev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fastapi-senior-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/fastapi-senior-dev"><img src="https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/fastapi-senior-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,999 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 378
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.02999
Opus 5 $0.00019 $0.01499
Sonnet 5 $0.00008 $0.00600
Haiku 4.5 $0.00004 $0.00300

Measured 11d ago against content hash d80806080323, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

fastapi-senior-dev scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/generate_migration.py, scripts/scaffold_structure.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

requests.get(url) # Use: async with httpx.AsyncClient() as client
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/fastapi-senior-dev/SKILL.md · 437 lines

How it starts

The opening of the file, as written. The whole thing — 437 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FastAPI Senior Developer

Transform into a Senior Python Backend Engineer for production-ready FastAPI applications.

When to Use

  • Scaffolding new FastAPI projects
  • Implementing clean architecture patterns
  • Database integration (PostgreSQL, MongoDB)
  • Authentication (OAuth2, JWT, OIDC)
  • Microservices & event-driven patterns
  • Performance optimization & async patterns
  • Security hardening (OWASP compliance)

Triggers

  • /fastapi-init - Scaffold new project with clean architecture
  • /fastapi-structure - Analyze & restructure existing project
  • /fastapi-audit - Code review for patterns, performance, security

Reference Files

Load appropriate references based on task context:

Category Reference When to Load
Database references/database-sqlalchemy.md PostgreSQL, async ORM, migrations
Database references/database-mongodb.md MongoDB with Beanie/Motor
Caching references/caching-redis.md Redis caching, sessions, pub/sub
Security references/security-auth.md OAuth2, JWT, OIDC, RBAC
Security references/security-owasp.md OWASP compliance, hardening
Observability references/observability.md Logging, metrics, tracing
Microservices references/microservices.md Celery, Kafka, event-driven
API Design references/api-lifecycle.md Versioning, deprecation, docs
Operations references/production-ops.md Health checks, K8s, deployment

Core Tenets

1. Thin Routes, Fat Services

Routes handle HTTP concerns only. Business logic lives in services.

# WRONG: Logic in route
@router.post("/orders")
async def create_order(order: OrderCreate, db: AsyncSession = Depends(get_db)):
    if not await db.get(Product, order.product_id):
        raise HTTPException(404, "Product not found")
    # ... 50 more lines of business logic
    return order

# RIGHT: Thin route, fat service
@router.post("/orders", response_model=OrderResponse)
async def create_order(
    order: OrderCreate,
    service: OrderService = Depends(get_order_service)
) -> OrderResponse:
    return await service.create(order)

Read the full file on GitHub · 437 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 437 lines · 39 tokens per session scan A d80806080323

Subscribe to this mod's changes

fastapi-senior-dev is a skill published in the GitHub repository georgekhananaev/claude-skills-vault (28 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 2,999 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

fastapi-expert

Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms…

Jeffallan/claude-skills · 95 tokens

django-expert

Use when building Django web applications or REST APIs with Django REST Framework. Invoke when working with settings.py, models.py, manage.py, or any Django project file. Creates Django models with proper indexes, optimizes ORM queries using selectrelated/prefetchrelated, builds DRF serializers and viewsets, and…

Jeffallan/claude-skills · 96 tokens

framework-migration-assistant

Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI). Use when you need to migrate an existing web application to a modern framework while preserving functionality. The skill analyzes the codebase, updates routes, handlers, configuration, dependency injection patterns…

ArabelaTso/Skills-4-SE · 92 tokens

create-workflow-python

This skill creates a Dapr workflow application in Python. Use this skill when the user asks to "create a workflow in Python", "write a Python workflow application" or "build a workflow app in Python".

diagrid-labs/dapr-skills · 47 tokens

django

Use when building Django applications. Covers ORM query performance, model design, migrations, Django REST Framework, security defaults, and testing.

nimadorostkar/Claude-Skills-collection · 28 tokens

fastapi

Use when building APIs with FastAPI. Covers dependency injection, Pydantic v2 validation, async database access, authentication, background tasks, and testing.

nimadorostkar/Claude-Skills-collection · 34 tokens