mlsanityData to 7 Oct 2026

Automating Domain-Driven Design: Experience with a Prompting Framework

arXiv 2603.26244 ↗First posted 27 Mar 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 8 of its 17 references that are in the map. First posted on arXiv 27 Mar 2026.

Builds on

8 of 17 references.

References · 8

  1. 2024The Prompt Report: A Systematic Survey of Prompt Engineering Techniquescited by 115
  2. 2025Generative AI for Software Architecture. Applications, Challenges, and Future Directionscited by 15
  3. 2024On the use of Large Language Models in Model-Driven Engineeringcited by 13
  4. 2025DRAFT-ing Architectural Design Decisions using LLMscited by 4
  5. 2024On the Utility of Domain Modeling Assistance with Large Language Modelscited by 3
  6. 2023Domain-Driven Design in Software Development: A Systematic Literature Review on Implementation, Challenges, and Effectivenesscited by 2
  7. 2025An LLM-assisted approach to designing software architectures using ADDcited by 2
  8. 2025ARLO: A Tailorable Approach for Transforming Natural Language Software Requirements into Architecture using LLMscited by 1

Built on by

Not cited yet.