fastapi-service

Scaffold a FastAPI microservice with domain, API, and CI/CD templates.

2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/hamzaPixl/pixl-ai --skill fastapi-service
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fastapi-service
Source: https://github.com/hamzaPixl/pixl-ai/tree/main/packages/crew/skills/fastapi-service
Command: npx skills add https://github.com/hamzaPixl/pixl-ai --skill fastapi-service

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates scaffolding of a FastAPI microservice inside an EXISTING monorepo, generating a complete domain layer, API endpoints, infrastructure wiring, Dockerfile, and CI/CD templates to accelerate service delivery.

Core Features & Use Cases

  • Domain layer scaffolding with entities and repositories aligned to monorepo conventions.
  • API layer generation including Pydantic schemas, CRUD routes, and OpenAPI documentation.
  • Infrastructure wiring with DB configuration, migrations, and environment-based configs.
  • Dockerfile boilerplate and a GitHub Actions CI/CD workflow to deploy the new service.
  • Routing patterns support both a standalone Python API at /fastapi-api and a TypeScript SaaS service with DDD at /saas-microservice for multi-service architectures.

Quick Start

Run the scaffold to generate a new FastAPI service inside your existing monorepo, then customize the domain, endpoints, and deployment pipeline.

Frequently Asked Questions about fastapi-service

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a FastAPI microservice in an existing monorepo?

To scaffold a FastAPI microservice in an existing monorepo, run the scaffold command to automatically generate the domain layer, API endpoints, infrastructure wiring, Dockerfile, and CI/CD templates aligned with your monorepo conventions.

What is included when scaffolding a FastAPI service with Domain-Driven Design?

Scaffolding a FastAPI service with Domain-Driven Design includes generating domain entities, repositories, Pydantic schemas, CRUD routes, database configurations, migrations, and OpenAPI documentation for production-ready deployment.

Does this FastAPI scaffolder support both Python and TypeScript microservices?

Yes, the FastAPI scaffolder supports both a standalone Python API routing pattern and a TypeScript SaaS service with DDD, enabling multi-service architectures within a single monorepo structure.

Can I generate Docker and CI/CD pipelines for a new FastAPI microservice?

Yes, you can generate Docker and CI/CD pipelines for a new FastAPI microservice. The scaffolder delivers Dockerfile boilerplate and GitHub Actions workflow templates to automate the deployment of the newly created service.

When do I need to scaffold a FastAPI microservice with DDD patterns?

You need to scaffold a FastAPI microservice with DDD patterns when adding a new Python service or integrating a TypeScript SaaS application into a monorepo, ensuring domain logic, API routes, and infrastructure are properly isolated.