- Create a folder in your project workspace (I call mine “project”, the name might be significant, I have not tried others)
- In this folder, create a file called “project-standards.md”
- Add the following markdown into this file
When creating new Python code, use the following guidance
- Generate code using the following structure and layout
├── static/
├── models/
├── routes/
├── templates/
├  app.py
- Save the file, and then you are good to go
With this file in your project workspace, code generated by /dev will adopt these norms.
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/boostrap-flask-app-in-dev.md https://promptz.dev/prompts/scaffolding/boostrap-flask-app-in-dev/2. Use with Q CLI:
q prompts use boostrap-flask-app-in-dev