Demo:生成可编辑微服务图
好的 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.