M
martinDTV/claude-fastapi-architect-skill
Claude Code skill for FastAPI backends that picks the right architecture for each project, from prototype to…
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
- ★ 数取值
- 0 ★ · martinDTV/claude-fastapi-architect-skill · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-10-28 · 最近见到 2026-11-14 · 共见到 19 次 · 被 2 个来源列出
- 评分构成
- 综合分 203 · 2 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
martinDTV/claude-fastapi-architect-skill;我们收录于 2026-10-28;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# fastapi-architect
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
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-linter contracts make cross-module imports and layer violations fail CI.
Ships verified code. Every snippet in the references passes ruff, mypy --strict and import-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.md holds 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 project skills directory:
bash
git clone https://github.com/martinDTV/claude-fastapi-architect-skill.git
# For every project (user scope)
cp -r claude-fastapi-architect-skill/plugins/fastapi-architect/skills/fastapi-architect ~/.claude/skills/
# Or only for one project (commit it so your team gets it too)
cp -r claude-fastapi-architect-skill/plugins/fastapi-architect/skills/fastapi-architect .claude/skills/
## Usage
The skill activates automatically when you work on a FastAPI project. Example prompts:
"Create a FastAPI backend for a clinic appointment system with patients, doctors and appointments."
"Add an invoicing module to this API."
"Our FastAPI app is getting big. Should we move to microservices?"
"Review this FastAPI project's structure and tell me what to fix first."
"Extract the notifications module into its own service."
## What's inside
.claude-plugin/marketplace.json # marketplace catalog
plugins/fastapi-architect/
├── .claude-plugin/plugin.json # plugin manifest
└── skills/fastapi-architect/
├── SKILL.md # decision workflow and non-negotiable rules
├── references/
│ ├── project-structure.md # layouts per stage, full example module
│ ├── architecture-decisions.md # stage guide, import-linter, microservice readiness, extraction playbook
> 🇲🇽 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-linter contracts make cross-module imports and layer violations fail CI.
Ships verified code. Every snippet in the references passes ruff, mypy --strict and import-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.md holds 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 project skills directory:
bash
git clone https://github.com/martinDTV/claude-fastapi-architect-skill.git
# For every project (user scope)
cp -r claude-fastapi-architect-skill/plugins/fastapi-architect/skills/fastapi-architect ~/.claude/skills/
# Or only for one project (commit it so your team gets it too)
cp -r claude-fastapi-architect-skill/plugins/fastapi-architect/skills/fastapi-architect .claude/skills/
## Usage
The skill activates automatically when you work on a FastAPI project. Example prompts:
"Create a FastAPI backend for a clinic appointment system with patients, doctors and appointments."
"Add an invoicing module to this API."
"Our FastAPI app is getting big. Should we move to microservices?"
"Review this FastAPI project's structure and tell me what to fix first."
"Extract the notifications module into its own service."
## What's inside
.claude-plugin/marketplace.json # marketplace catalog
plugins/fastapi-architect/
├── .claude-plugin/plugin.json # plugin manifest
└── skills/fastapi-architect/
├── SKILL.md # decision workflow and non-negotiable rules
├── references/
│ ├── project-structure.md # layouts per stage, full example module
│ ├── architecture-decisions.md # stage guide, import-linter, microservice readiness, extraction playbook
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/martindtv-claude-fastapi-architect-skill/)
- 来源
- github · https://github.com/martinDTV/claude-fastapi-architect-skill
- 按领域浏览
- 开源项目
- 收录来源
- 2 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。