Files
main/rules-v0-deprecated/htmx-basic-cursorrules-prompt-file/htmx-additional-instructions.mdc
T
2025-03-03 23:40:27 +05:30

11 lines
469 B
Plaintext

---
description: Provides additional guidelines for HTMX development, focusing on semantic HTML, security, extensions, progressive enhancement, and server-side templating.
globs: **/*.html
---
- Use semantic HTML5 elements
- Implement proper CSRF protection
- Utilize HTMX extensions when needed
- Use hx-boost for full page navigation
- Implement proper error handling
- Follow progressive enhancement principles
- Use server-side templating (e.g., Jinja2, Handlebars)