# fastapi-development

Instructions for building asynchronous Python APIs using FastAPI, Pydantic validation models, and structured routing.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 451 installs · ★ 62
- Author: manutej
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/manutej/luxor-claude-marketplace/tree/HEAD/plugins/luxor-backend-toolkit/skills/fastapi-development/SKILL.md
- Updated: 2026-06-13
- HTML: https://affpapa.org/en/nevibecode/skills/manutej-fastapi-development

## What it does

This skill guides AI agents in structuring Python web applications on top of FastAPI. It directs code generation toward proper `async`/`await` usage, route operations with `Path` or `Query` parameters, and modular router patterns. Validation relies on Pydantic schemas, enforcing data types, nested models, and custom validation methods.

It also covers background tasks, dependency injection, and database integration workflows. Running the resulting API endpoints requires an external ASGI server such as `uvicorn[standard]`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill fastapi-development -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/fastapi-development/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/fastapi-development/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill fastapi-development -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/fastapi-development/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill fastapi-development -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/fastapi-development/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install manutej/luxor-claude-marketplace fastapi-development
```

2. **Manually: put the files in place**
- File: `.github/skills/fastapi-development/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill fastapi-development -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-backend-toolkit/skills/fastapi-development
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/fastapi-development/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill fastapi-development -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/manutej/luxor-claude-marketplace/tree/HEAD/plugins/luxor-backend-toolkit/skills/fastapi-development/SKILL.md

## When to use it
- build REST APIs with Pydantic request and response schemas
- implement asynchronous endpoints using `async` and `await`
- validate path and query parameters with built-in FastAPI tools
- structure nested models and custom data validators

## Example prompts
- Create a FastAPI search endpoint with validated query parameters
- Build a Pydantic schema for user registration with email validation
- Write an asynchronous CRUD router for items using dependency injection

## Similar
- [fastapi-code-review](https://affpapa.org/en/nevibecode/skills/fastapi-code-review.md) — skill · 382 installs
- [fastapi-local-dev](https://affpapa.org/en/nevibecode/skills/fastapi-local-dev.md) — skill · 347 installs
- [fastapi-python](https://affpapa.org/en/nevibecode/skills/fastapi-python.md) — skill · 13900 installs
- [python-fastapi-best-practices-cursorrules-prompt-f](https://affpapa.org/en/nevibecode/rules/python-fastapi-best-practices-cursorrules-prompt-f.md) — rule · ★ 41024
- [fastapi-developer](https://affpapa.org/en/nevibecode/agents/fastapi-developer.md) — subagent · ★ 26093
- [fastapi-expert](https://affpapa.org/en/nevibecode/skills/fastapi-expert.md) — skill · 6100 installs

## Other versions with the same name
- [fastapi-development · aj-geddes](https://affpapa.org/en/nevibecode/skills/fastapi-development.md) — 618 installs

From the same set: [manutej/luxor-claude-marketplace](https://affpapa.org/en/nevibecode/by/manutej/luxor-claude-marketplace.md) — 59 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
