Help us improve
Share bugs, ideas, or general feedback.
From fastapi-backend
Add a specific feature to an existing FastAPI project. Features include endpoint, auth, database, model, middleware, deploy.
npx claudepluginhub vanman2024/ai-dev-marketplace --plugin fastapi-backendHow this command is triggered — by the user, by Claude, or both
Slash command
/fastapi-backend:add <feature> [options]The summary Claude sees in its command listing — used to decide when to auto-load this command
# Add FastAPI Feature **Requested Feature:** `$0` **Additional Options:** `$1` `$2` `$3` --- ## Argument Routing Based on the feature argument `$0`, route to the appropriate specialized agent: ### API Features **If `$0` = "endpoint":** **If `$0` = "model":** ### Auth Features **If `$0` = "auth":** ### Database Features **If `$0` = "database":** ### Middleware Features **If `$0` = "middleware":** ### Deployment Features **If `$0` = "deploy":** --- ## Usage Examples --- ## Feature Reference | Feature | Agent | $1 Options ...
/fastapiBuilds, configures, and optimizes production-ready FastAPI apps with Pydantic models, async SQLAlchemy/Tortoise ORM, JWT/OAuth auth, WebSockets, background tasks, and pytest/HTTPX tests. Supports feature flags like --schemas, --db, --auth.
/apiScaffolds production-ready FastAPI backend with auth (JWT/OAuth/apikey), database (Postgres/MySQL/Mongo/SQLite), OpenAPI docs, Docker, optional cache/messaging/monitoring.
/endpointGenerates complete FastAPI CRUD endpoint for MongoDB using Beanie, with Pydantic schemas, models, service layer, router, and tests. Prompts for resource name, fields, auth, caching.
/fastapi-scaffoldGenerates production-ready FastAPI REST API boilerplate with async support, JWT authentication, SQLAlchemy database, Pydantic models, Pytest tests, Alembic migrations, and Docker config. Supports --database and --auth options.
/modal-webCreates web endpoints for Modal apps using FastAPI simple endpoints or full ASGI apps, WSGI for Flask/Django, or custom servers. Supports auth, custom domains, WebSockets, GPU, and performance config.
/full-stack-featureOrchestrates interactive, phased full-stack feature development across backend, frontend, database, and infrastructure layers, producing files in .full-stack-feature/ with user checkpoints.
Share bugs, ideas, or general feedback.
Requested Feature: $0
Additional Options: $1 $2 $3
Based on the feature argument $0, route to the appropriate specialized agent:
If $0 = "endpoint":
Task(endpoint-generator-agent) Add API ENDPOINT.
Requirements:
- Endpoint name: $1 (required)
- HTTP method: $2 (get, post, put, delete, crud - default: crud)
- Create route handler
- Add request/response models
- Implement business logic
- Add documentation
If $0 = "model":
Task(database-architect-agent) Add DATABASE MODEL.
Requirements:
- Model name: $1 (required)
- Fields: $2 (optional field definitions)
- Create SQLAlchemy/SQLModel
- Add relationships
- Generate migration
- Create CRUD operations
If $0 = "auth":
Task(endpoint-generator-agent) Add AUTHENTICATION.
Requirements:
- Auth type: $1 (jwt, oauth, api-key, clerk - default: jwt)
- Configure auth scheme
- Create auth routes
- Add password handling
- Set up token generation
If $0 = "database":
Task(database-architect-agent) Set up DATABASE.
Requirements:
- Database type: $1 (postgres, sqlite, mysql - default: postgres)
- ORM: $2 (sqlalchemy, sqlmodel - default: sqlmodel)
- Configure connection
- Set up session management
- Create base model
- Configure migrations
If $0 = "middleware":
Task(fastapi-setup-agent) Add MIDDLEWARE.
Requirements:
- Middleware type: $1 (cors, logging, ratelimit, timing - required)
- Configure middleware
- Add to application
- Set parameters
If $0 = "deploy":
Task(deployment-architect-agent) Add DEPLOYMENT config.
Requirements:
- Platform: $1 (docker, railway, render, aws - default: docker)
- Create deployment files
- Configure environment
- Set up health checks
- Add monitoring
# API endpoints
/fastapi-backend:add endpoint users crud
/fastapi-backend:add endpoint health get
/fastapi-backend:add endpoint products post
# Database
/fastapi-backend:add model User
/fastapi-backend:add database postgres sqlalchemy
# Auth
/fastapi-backend:add auth jwt
/fastapi-backend:add auth clerk
# Middleware
/fastapi-backend:add middleware cors
/fastapi-backend:add middleware ratelimit
# Deployment
/fastapi-backend:add deploy docker
/fastapi-backend:add deploy railway
| Feature | Agent | $1 Options | Description |
|---|---|---|---|
endpoint | endpoint-generator | endpoint-name (required) | API endpoint |
model | database-architect | model-name (required) | Database model |
auth | endpoint-generator | jwt/oauth/api-key/clerk | Authentication |
database | database-architect | postgres/sqlite/mysql | Database setup |
middleware | fastapi-setup | cors/logging/ratelimit/timing | Middleware |
deploy | deployment-architect | docker/railway/render/aws | Deployment config |