Claude FastAPI Architect Skill — Development skill for Claude Code
Claude Code skill for FastAPI backends that picks the right architecture for each project, from prototype to modular monolith to microservices, and enforces module boundaries and production code stand.
How to install Claude FastAPI Architect Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open martinDTV/claude-fastapi-architect-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude FastAPI Architect Skill does
Claude Code skill for FastAPI backends that picks the right architecture for each project, from prototype to modular monolith to microservices, and enforces module boundaries and production code standards.
Alternatives in Development
- Claudes C Compiler — Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM 2.6k ★
- Academic Pptx Skill — A Claude Skill for creating academic presentations (conference talks, seminar slides, thesis defenses, grant b 811 ★
- Claude Modular — Production-ready modular Claude Code framework with 30+ commands, token optimization, and MCP server integrati 274 ★
README
fastapi-architect
A Claude Code skill that gives FastAPI projects the **right amount** of architecture: it chooses between a prototype, a modular monolith, ports and adapters, or microservices based on the project's actual requirements, enforces module boundaries mechanically, and applies production code standards.
🇲🇽 **Español** más abajo.
Why another FastAPI skill
Most FastAPI skills either teach framework syntax or impose one architecture (usually full Clean Architecture with a DI container) on every project. Both fail in practice: a CRUD API wrapped in five layers is as costly as a 40-endpoint `main.py`.
This skill instead:
- Right-sizes the architecture. Four stages, with explicit signals for moving between them. The default for production work is a modular monolith; ports and adapters are applied per module, only where the domain needs them.
- Knows when a monolith should become microservices, and when it should not. It applies hard criteria (independent scaling, team ownership, release coupling, isolation, runtime needs) plus prerequisites, and pushes back when a split would produce a distributed monolith. When extraction is justified, it follows a strangler-fig playbook.
- Enforces boundaries with tooling, not good intentions.
import-lintercontracts make cross-module imports and layer violations fail CI. - Ships verified code. Every snippet in the references passes
ruff,mypy --strictandimport-linter, and the example module's tests pass against PostgreSQL with current FastAPI, Starlette, SQLAlchemy 2.x and Pydantic v2, with warnings treated as errors. - Uses progressive disclosure.
SKILL.mdholds the decision workflow; detailed references load only when the task needs them.
Install
As a Claude Code plugin (recommended)
/plugin marketplace add martinDTV/claude-fastapi-architect-skill
/plugin install fastapi-architect@fastapi-architect
Manually
Copy the skill folder into your user or proje
Related Skills
Nestjs Backend
Apply NestJS best practices for building scalable Node.js backends with dependency injection, modules, microse
Autonomous Agent Protocol Skill
An enterprise-grade execution protocol for Claude Code agents running in autonomous mode. Enforces sacred file
SEO Sitemap
Sitemap architect. Validates XML sitemaps, generates new ones with industry templates, and enforces quality ga
Hatch3r Codebase Map
Reverse-engineer a brownfield codebase into current-state module boundaries, integration-point inventory, tech
Module Boundaries
Restructure module boundaries and dependency direction so change cost becomes local and predictable
Storeops Harness Dotnet
StoreOps API (.NET 8 / ASP.NET Core) governed by a working Claude Code harness — Planner, Generator, Evaluator
Related Agents
FastAPI Architect
Design FastAPI module boundaries and implementation plans.
Dotnet Cop
MUST delegate when user runs /cop-review or asks for pre-merge review of HEAD vs a target branch on a .NET pro
Architecture Modernizer
Software architecture modernization specialist. Use PROACTIVELY for monolith decomposition, microservices desi