Demo:生成可编辑微服务图的 prompt
好的 prompt 会说明边界、主要服务和流向。不要只写“画一个系统图”,否则生成的 .drawio 很难直接用于文档。
- 明确外部用户和托管服务。
- 按 checkout、fulfillment、analytics 等领域分组。
- 要求可编辑节点和带标签的连线,而不是漂亮但不可维护的图片。
Create an editable draw.io microservice diagram for an ecommerce checkout flow. Include browser, CDN, Next.js app, API gateway, auth service, checkout service, payment provider, order database, Redis cache, event bus, inventory service, shipping service, and analytics warehouse. Label synchronous calls and async events.下载的 .drawio 应先 review,再成为正式架构图。