generate-applicationflow-diagram
When asked to generate application:
search for the .drawio or the .drawio.xml diagram use python 3.9 for lambda code use python CDK V2 for infrastructure as code
If the folder contains code already, keep this code in sync with the diagram
Install Project Rule
Add this rule to your project's context:
1. Download to project rules:
mkdir -p .amazonq/rules && curl -o .amazonq/rules/keep-code-in-sync-with-drawio-diagram.md https://promptz.dev/rules/cdk/keep-code-in-sync-with-drawio-diagram/index.md