AIDB Daily Papers
LLMでドメイン駆動設計を自動化:プロンプトフレームワークの実践
※ 日本語タイトル・ポイントはAIによる自動生成です。正確な内容は原論文をご確認ください。
ポイント
- 大規模言語モデル(LLM)を活用し、ドメイン駆動設計(DDD)の中核活動を自動化するプロンプトフレームワークを提案した。
- DDDの各ステップをLLMで実行することで、専門家が重要なトレードオフに集中し、設計プロセスを効率化できる点が新しい。
- 初期段階では有用な成果が得られたが、後続段階では小さなエラーが蓄積し、完全な自動化には課題が残ることが示された。
Abstract
Domain-driven design (DDD) is a powerful design technique for architecting complex software systems. This paper introduces a prompting framework that automates core DDD activities through structured large language model (LLM) interactions. We decompose DDD into five sequential steps: (1) establishing an ubiquitous language, (2) simulating event storming, (3) identifying bounded contexts, (4) designing aggregates, and (5) mapping to technical architecture. In a case study, we validated the prompting framework against real-world requirements from FTAPI's enterprise platform. While the first steps consistently generate valuable and usable artifacts, later steps show how minor errors or inaccuracies can propagate and accumulate. Overall, the framework excels as a collaborative sparring partner for building actionable documentation, such as glossaries and context maps, but not for full automation. This allows the experts to concentrate their discussion on the critical trade-offs. In our evaluation, Steps 1 to 3 worked well, but the accumulated errors rendered the artifacts generated from Steps 4 and 5 impractical. Our findings show that LLMs can enhance, but not replace, architectural expertise, offering a practical tool to reduce the effort and overhead of DDD while preserving human-centric decision-making.
Paper AI Chat
この論文のPDF全文を対象にAIに質問できます。
質問の例: