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-backend<feature> [options]# 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 ...
/addCreates a new Markdown note in your Obsidian vault with YAML frontmatter including title, description, tags, related notes, timestamps. Supports category, title, and optional flags; outputs file path.
/addResearch a package and generate a Homebrew formula via the template pipeline
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 |