fastapi-ddd-guidelines

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

$ Installieren

git clone https://github.com/Higashi-Masafumi/ai-coding-template /tmp/ai-coding-template && cp -r /tmp/ai-coding-template/.codex/skills/fastapi-ddd-guidelines ~/.claude/skills/ai-coding-template

// tip: Run this command in your terminal to install the skill