Skip to content
SkillModel-led1,405 tokens in use

FastAPI Expert

Builds async Python APIs with FastAPI: Pydantic V2 schemas, async SQLAlchemy, dependency injection, JWT and OAuth2 login, and pytest with httpx.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/fastapi-expert
/plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing FastAPI Expert costs

92tokens idle
1,405tokens in use
12,692tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure22/25
  • Examples15/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

FastAPI Expert guides Claude through async API work in five steps: analyze requirements, design Pydantic V2 schemas, implement endpoints with dependency injection, add authentication and test with pytest and httpx. A checkpoint after each step confirms schemas, status codes and the /docs page.

Six reference files cover Pydantic V2, async SQLAlchemy, routing, authentication, async testing and a guide for migrating from Django and DRF to FastAPI.

What You Get

  • Pydantic V2 request and response schemas with validators
  • Routers with typed dependencies and correct HTTP status codes
  • Async SQLAlchemy models and CRUD functions
  • JWT and OAuth2 password flow with role checks and refresh tokens
  • Async tests with pytest and httpx, plus auto-generated OpenAPI docs

Common Use Cases

  • Starting a REST API with validated request bodies
  • Adding login with JWT and role-based access
  • Moving a Django REST Framework project to FastAPI
  • Writing async tests and dependency overrides for endpoints

What Makes It Unique

It bans Pydantic V1 syntax (the validator decorator and the inner Config class) and synchronous database calls, and prefers X | None over Optional. A dedicated migration reference maps Django and DRF concepts such as serializers and viewsets to Pydantic models and routers, which few framework skills include.

Under The Hood

The skill is a SKILL.md with six reference files and no scripts, and the references load by topic. The workflow tells the agent to run pytest after each endpoint group and to open the /docs page to check the API surface. The examples create password hashes and signed tokens from a secret key that should come from the environment, and use a database session. The skill itself does not fetch web pages or call outside APIs.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers