In Cursor’s Composer you can point to an MD file as a prompt instead of typing it. Just use “@”
Composer Prompt
@make_app_look_better.md only apply to @app2.py
Prompt File
Enhance the visual appeal and user experience of this Streamlit app by implementing the following improvements:
1. Add a favicon:
- Choose a relevant icons.
- Implement it as the app's favicon using Streamlit's page configuration.
2. Improve the app title:
- Create a catchy, professional title for the app.
- Update the browser tab title to reflect this new app name.
4. Implement a color scheme:
- Choose a cohesive color palette appropriate for a medical app.
- Apply these colors to various elements (background, buttons, headers) using custom CSS.
5. Improve typography:
- Select and apply appropriate fonts for headers and body text.
- Ensure text is easily readable and professional-looking.
6. Add visual elements to main pages:
- Include relevant icons or small illustrations for each main section.
- Use these visual elements consistently across the app.
7. Enhance button and input field styling:
- Style buttons to be more visually appealing and clearly clickable.
- Improve the appearance of input fields and selectors.
8. Implement responsive design:
- Ensure the app looks good and functions well on both desktop and mobile devices.
9. Add subtle animations or transitions:
- Consider adding minimal animations for page transitions or when displaying new information.
10. Improve error and success messages:
- Style error and success messages to be more noticeable and user-friendly.
Implement these improvements in this Streamlit app, focusing on both functionality and aesthetic appeal.
Results
Before
After
See also https://discuss.streamlit.io/t/lets-make-a-prompt-library-for-cursor-streamlit/79937