home/categories/architecture-patterns/higashi-masafumi-ai-coding-template-codex-skills-fastapi-ddd-guidelines-skill-md
architecture-patternsdevelopment

fastapi-ddd-guidelines

DDDアーキテクチャでFastAPIのバックエンドを新規実装または既存コードベースをリファクタリングする際のガイド。レイヤー構成(domain/application/infrastructure/controller)、依存方向、責務境界、pydantic/sqlalchemy(sqlmodel)/alembic/pytestの前提、セッション管理(Dependsで1リクエスト1セッション、必要時UoW)を含む。

Higashi-Masafumi
maintainer
Higashi-Masafumi
Updated 1/4/2026
Stars
0
Forks
0
quick start

Installation and usage

DDDアーキテクチャでFastAPIのバックエンドを新規実装または既存コードベースをリファクタリングする際のガイド。レイヤー構成(domain/application/infrastructure/controller)、依存方向、責務境界、pydantic/sqlalchemy(sqlmodel)/alembic/pytestの前提、セッション管理(Dependsで1リクエスト1セッション、必要時UoW)を含む。

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use fastapi-ddd-guidelines