What it does
A Cursor rules file for building HTMX apps on Flask. It guides the AI toward server-side rendering with Jinja2 templates, Flask-WTF forms with CSRF protection, Flask-SQLAlchemy, Blueprints and the application factory pattern, with a suggested folder structure.
Use cases
- 01Scaffold a Flask app with HTMX partial updates
- 02Add a form with CSRF protection using Flask-WTF
- 03Split routes into Blueprints and models