Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs.

Apache-2.0Auto-check: notesBackend & APIs

Install Fastapi App

skills CLI
$ npx skills add ccplugins/awesome-claude-code-plugins --skill fastapi-app -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ccplugins/awesome-claude-code-plugins fastapi-app --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ccplugins/awesome-claude-code-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/app-starter/skills/fastapi-app .claude/skills/fastapi-app && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fastapi-app
GitHub stars
967
Token cost
~1.1k tokens
SKILL.md length
468 words
Files
6 (incl. scripts, references)
Skills in repo
68
Repo updated
First seen
Licence
Apache-2.0

At a glance

Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs.

  • Works in 6 steps: Get the brief, then ask the variant… → Verify environment and current versions → Scaffold the project → …
  • The user wants to start
  • SKILL.md covers Step 0. Get the brief, then…, Step 1. Verify environment and…, Step 2. Scaffold the project and Step 3. Apply structure and…, plus 2 more sections
  • Runs Shell scripts from its folder; calls uv, python3 and ruff

What it does

Fastapi App is an agent skill from ccplugins/awesome-claude-code-plugins. Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs. Use when the user wants to start, scaffold, or set up a new FastAPI service, a Python REST API, an async backend, or asks to "create a new fastapi app" or "new python backend". Handles JWT auth, layered app structure, Docker + Postgres, and Vercel or container deploy.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/best-practices.md`, `references/quality-gates.md` and `references/stack.md`).

It sits in Backend & APIs, covering Backend development, ORMs and data access and Authentication. It works with FastAPI, Python, SQLAlchemy and Pydantic. The repository describes itself as: Awesome Claude Code plugins — a curated list of slash commands, subagents, MCP servers, and hooks for Claude Code. The licence is Apache-2.0.

When your agent uses it

  • The user wants to start
  • Set up a new FastAPI service
  • A Python REST API
  • An async backend

Example prompts

  • “create a new fastapi app”
  • “new python backend”
  • “/fastapi-app”

Requirements

  • Python 3
  • A Bash shell
  • Docker

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Get the brief, then ask the variant questions (hard stop)
  2. Verify environment and current versions
  3. Scaffold the project
  4. Apply structure and conventions
  5. Git, CI, docs, security
  6. Verify before declaring done

What it can do on your machine

Read from SKILL.md and the folder at commit 5bd4f16. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • uv
    • python3
    • ruff

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fastapi App loads about 1.1k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 468 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:77
    - Gitignore `.env*` and any service-account JSON. Provide `.env.example`.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ccplugins/awesome-claude-code-plugins at commit 5bd4f16, republished under its Apache-2.0 licence (© ccplugins). 468 words, ~1,051 tokens.

Download SKILL.mdSave it as .claude/skills/fastapi-app/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
fastapi-app
description
Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs. Use when the user wants to start, scaffold, or set up a new FastAPI service, a Python REST API, an async backend, or asks to "create a new fastapi app" or "new python backend". Handles JWT auth, layered app structure, Docker + Postgres, and Vercel or container deploy.

fastapi-app

Bootstrap a new FastAPI backend the way this owner builds them: async SQLAlchemy 2.0 with asyncpg, Alembic migrations, Pydantic v2 settings, a layered structure (routers, services, models, schemas), JWT auth, and the house git and CI workflow. Deployable to a container or Vercel.

First read the shared rules (they override anything you remember): ../shared/house-rules.md, ../shared/no-ai-attribution.md, ../shared/git-and-ci.md, ../shared/docs-and-context.md, ../shared/hardening.md, and (for public repos) ../shared/open-source-docs.md.

Step 0. Get the brief, then ask the variant questions (hard stop)

This is a hard stop. Do not run any scaffolding command until the user has answered.

First, get the project brief: one paragraph on what the service does, its main resources and endpoints, who calls it, and any hard constraints. If the user has not given one, ask for it. The brief drives naming, the domain modules, and the data model.

Then ask the variant questions. If a choice has multiple options, ask; do not assume. Ask in one batch, then proceed.

  1. Repo visibility: private, open-source, or private-plus-open-source.
  2. Auth: JWT (python-jose or PyJWT), OAuth (Google), API-key, or none yet.
  3. Database: Postgres via async SQLAlchemy + asyncpg (default), or none yet.
  4. Dependency tooling: uv (default, fast) or pip + requirements.txt.
  5. Admin UI: SQLAdmin, or none.
  6. Deploy target: Docker container (default) or Vercel serverless.

If the user already answered some, do not re-ask.

Step 1. Verify environment and current versions

  • Check Python (python3 --version, want a current supported 3.x).
  • Run scripts/check-latest.sh for current stable versions from PyPI. Pin those, not versions from memory (../shared/house-rules.md rule 2).
  • Pull current FastAPI, SQLAlchemy 2.0, and Pydantic v2 docs via Context7 before writing code (../shared/docs-and-context.md). SQLAlchemy 2.0 async and Pydantic v2 both broke v1 patterns; do not write v1-era code from memory.
Show full SKILL.md (182 more words)Show less

Step 2. Scaffold the project

Create a virtualenv and the layout from references/structure.md. With uv:

uv init <name> && cd <name>
uv add fastapi "uvicorn[standard]" "sqlalchemy[asyncio]" asyncpg alembic \
       pydantic-settings python-jose[cryptography] httpx python-multipart
uv add --dev ruff pytest pytest-asyncio

With pip, install the same set and freeze into requirements.txt. Let the tool resolve current versions; do not force numbers you remember.

Step 3. Apply structure and conventions

  • Layered app structure, async DB session, dependency-injected DB, settings, JWT auth: references/structure.md.
  • Best practices, scalable domain-modular architecture, and nothing hardcoded: references/best-practices.md.
  • Dependency set and version-boundary notes: references/stack.md.
  • Production hardening (docs and schema disabled or gated in prod, generic error bodies, debug off, CORS locked): ../shared/hardening.md.

Step 4. Git, CI, docs, security

  • Git branch model, conventional commits, auto-merge: ../shared/git-and-ci.md.
  • CI (ruff + pytest), Docker, migrations: references/quality-gates.md.
  • Gitignore .env* and any service-account JSON. Provide .env.example. Settings load from env through pydantic-settings, never hardcoded.
  • Add docs/ and a README. For a public repo, ship the full open-source docs set per ../shared/open-source-docs.md and run the open-source hard gate in ../shared/no-ai-attribution.md before the first push.

Step 5. Verify before declaring done

Run the gates in references/quality-gates.md: ruff check, pytest, the app imports and starts, /health responds, and Alembic can generate a revision. Report real results.

© ccplugins, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in plugins/app-starter/skills/fastapi-app of ccplugins/awesome-claude-code-plugins.

  • SKILL.md
  • references/best-practices.md
  • references/quality-gates.md
  • references/stack.md
  • references/structure.md
  • scripts/check-latest.sh

Open the folder on GitHubat commit 5bd4f16

Compare with similar skills

Fastapi App next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fastapi App compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fastapi App this skillccplugins/awesome-claude-code-plugins967—~1.1kAutomated safety check: NotesApache-2.0
FastAPI ExpertJeffallan/claude-skills12k—~1.8kAutomated safety check: PassMIT
Mastering Python SkillSpillwaveSolutions/agent-brain120—~1.4kAutomated safety check: NotesMIT
Fastcrudbenavlabs/fastcrud1.6k—~5kAutomated safety check: PassMIT
Fastapi Prodavila7/claude-code-templates32k7 repos~1.6kAutomated safety check: PassMIT
Backend Fastapi Pythonavibebuilder/claude-prime120—~997Automated safety check: PassMIT

Similar skills

  • FastAPI Expert

    Jeffallan/claude-skills

    Builds async Python APIs with FastAPI and Pydantic V2, covering endpoints, JWT authentication, async SQLAlchemy, WebSockets and pytest checks against the OpenAPI docs.

    12k GitHub stars~1.8k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Mastering Python Skill

    SpillwaveSolutions/agent-brain

    Modern Python coaching covering language foundations through advanced production patterns.

    120 GitHub stars~1.4k tokensUpdated 17 days ago
    DevelopmentAuto-check: notes
  • Fastcrud

    benavlabs/fastcrud

    A skill your agent uses when building or modifying CRUD endpoints with FastCRUD (the fastcrud PyPI package) in a FastAPI project — covers FastCRUD, crudrouter, EndpointCreator, FilterConfig…

    1.6k GitHub stars~5k tokensUpdated 12 days ago
    Backend & APIsAuto-check passed
  • Fastapi Pro

    davila7/claude-code-templates

    Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2.

    32k GitHub starsUsed in 7 repos~1.6k tokens
    Backend & APIsAuto-check passed
  • Backend Fastapi Python

    avibebuilder/claude-prime

    A skill your agent uses for any Python backend work in this project: building FastAPI endpoints, writing service functions, defining Pydantic/SQLModel schemas, running Alembic migrations, or…

    120 GitHub stars~997 tokensUpdated 4 mo ago
    Backend & APIsAuto-check passed
  • Python Fastapi Development

    aiskillstore/marketplace

    Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic, authentication, and production API patterns.

    430 GitHub starsUsed in 3 repos~1.2k tokens
    Backend & APIsAuto-check passed

More from ccplugins/awesome-claude-code-plugins

All 68 skills in this repo
  • AI Meeting

    ccplugins/awesome-claude-code-plugins

    Run structured AI meetings for plans, product ideas, technical designs, business decisions, feature proposals, and strategy choices.

    967 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check: notes
  • Flutter App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new Flutter mobile app with clean architecture, Riverpod, FVM-pinned SDK, current packages, and no deprecated APIs.

    967 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Nextjs App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new Next.js (App Router, TypeScript) web app with current packages and no deprecated APIs.

    967 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Dev Report

    ccplugins/awesome-claude-code-plugins

    Write up a coding session for a non-technical stakeholder — the context, what was built, and the engineering reasoning behind it — the way a senior engineer briefs a product manager who does not…

    967 GitHub stars~3.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Difesa Attacchi

    ccplugins/awesome-claude-code-plugins

    Aggiunge a un sito/app un agente di difesa che rileva e blocca richieste malevole (SQL injection, XSS, path traversal, brute force, bot) con rate limiting, blocklist IP e modalità lockdown che…

    967 GitHub stars~781 tokensUpdated 1 mo ago
    Auto-check passed
  • Audit

    ccplugins/awesome-claude-code-plugins

    A skill your agent uses when the user asks for a code review, "review this change", "review my PR", "review the diff", or wants quality/spec/security/perf feedback on recent changes.

    967 GitHub stars~719 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Fastapi App

What does Fastapi App do?

Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs. Fastapi App is an agent skill from ccplugins/awesome-claude-code-plugins.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs.

When should I use Fastapi App?

Fastapi App fits situations like: the user wants to start; set up a new FastAPI service; A Python REST API; an async backend.

How do I install Fastapi App in Claude Code?

Run `npx skills add ccplugins/awesome-claude-code-plugins --skill fastapi-app -a claude-code`. Or copy the skill folder (plugins/app-starter/skills/fastapi-app in ccplugins/awesome-claude-code-plugins) into .claude/skills/fastapi-app in your project. Claude Code loads it when a task matches its description.

How do I install Fastapi App in Codex?

Run `npx skills add ccplugins/awesome-claude-code-plugins --skill fastapi-app -a codex`. Or copy the skill folder (plugins/app-starter/skills/fastapi-app in ccplugins/awesome-claude-code-plugins) into .agents/skills/fastapi-app in your project. Codex loads it when a task matches its description.

Can I use Fastapi App in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccplugins/awesome-claude-code-plugins --skill fastapi-app -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fastapi-app, .gemini/skills/fastapi-app, .github/skills/fastapi-app and .opencode/skills/fastapi-app in your project.

What does Fastapi App need to run?

Going by SKILL.md and its folder, Fastapi App needs a shell for the scripts in its folder and the command-line tools its instructions call (uv, python3 and ruff). Our summary lists: Python 3; A Bash shell; Docker.

Does Fastapi App access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Fastapi App safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Fastapi App use?

Fastapi App is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fastapi App use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.

What are the alternatives to Fastapi App?

Skills that share tags, products or a category with Fastapi App: FastAPI Expert (Jeffallan/claude-skills, 12k stars), Mastering Python Skill (SpillwaveSolutions/agent-brain, 120 stars), Fastcrud (benavlabs/fastcrud, 1.6k stars) and Fastapi Pro (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fastapi App?

ccplugins (a GitHub organization) maintains it in ccplugins/awesome-claude-code-plugins, which has 967 GitHub stars. The repository holds 68 skills in this directory. The repository was last updated on August 12, 2026.

Source: ccplugins/awesome-claude-code-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.