Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
fastapi-practices avatar

Fba

  • 347 installs
  • 11 repo stars
  • Updated July 12, 2026
  • fastapi-practices/skills

fba is a Skillselion skill that helps developers apply FastAPI backend API practices when building Python services.

About

fba is a Skillselion skill from the fastapi-practices/skills repository that targets FastAPI-oriented backend work for Python developers. fba is designed to be invoked when a developer is implementing or refactoring an API service and wants concrete guidance on FastAPI patterns such as route organization, request/response validation, and OpenAPI-friendly design. fba fits best during day-to-day backend development tasks where code structure and framework conventions matter, especially in projects that use Pydantic models and async endpoints. fba is most useful when you need consistent API behavior and maintainable FastAPI code across routers, dependencies, and service layers.

  • fba
  • AI & Agent Building
  • AI-coding skill

Fba by the numbers

  • 347 all-time installs (skills.sh)
  • Ranked #2,146 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/fastapi-practices/skills --skill fba

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs347
repo stars11
Last updatedJuly 12, 2026
Repositoryfastapi-practices/skills

How do I structure a FastAPI backend cleanly?

Helps with ai & agent building tasks.

Who is it for?

fba is best for Python developers building or refactoring FastAPI HTTP APIs who want framework-aligned conventions.

Skip if: fba is not for teams that are not using FastAPI or are only doing frontend-only work.

When should I use this skill?

Invoke fba when a task mentions FastAPI routes, routers, dependencies, Pydantic models, OpenAPI, or async endpoint patterns.

What you get

A clearer FastAPI project structure, consistent route and dependency patterns, and improved request/response model usage.

Files

SKILL.mdMarkdownGitHub ↗

FastAPI Best Architecture

Official documentation: https://fastapi-practices.github.io/fastapi_best_architecture_docs/

Core Architecture

Project adopts Three-tier architecture:

LayerResponsibility
APIRoute processing, parameter validation, and response return
SchemaData transfer objects, request/response data structure definitions
ServiceBusiness logic, data processing, exception handling
CRUDDatabase operations (inherits CRUDPlus)
ModelORM models (inherits Base)

Development Workflow

1. Define database models (model) 2. Define data validation models (schema) 3. Define routes (router) 4. Write business logic (service) 5. Write database operations (crud)

Detailed Guides

ModuleDocument
APIreferences/api.md
Schemareferences/schema.md
Modelreferences/model.md
Namingreferences/naming.md
Pluginreferences/plugin.md
Coding Stylereferences/coding-style.md
Configreferences/config.md

CLI

Execute fba -h for more details.

Related skills

How it compares

Pick this when your task explicitly targets FastAPI conventions and OpenAPI/Pydantic-driven API design rather than general Python architecture guidance.

FAQ

What does fba help with in FastAPI?

fba helps developers apply FastAPI-oriented backend practices, typically around route organization, dependency patterns, and request/response validation that plays well with OpenAPI. fba is most relevant when a task explicitly mentions FastAPI endpoints, routers, or Pydantic mode

When should I invoke fba during development?

fba should be invoked when you are implementing or refactoring a Python HTTP API built with FastAPI and you need consistent conventions for routers, dependencies, and schemas. fba is a fit when your prompt includes FastAPI, Pydantic, OpenAPI, or async endpoint behavior.

Is fba a good fit for non-FastAPI Python services?

fba is primarily a FastAPI-practices skill, so it is not the best fit for Django-only, Flask-only, or non-web Python codebases. fba is most useful when the framework-specific details of FastAPI, Pydantic schemas, and OpenAPI output matter.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.