// HTMX with Django .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-htmx-djangoProvides high-level Django+HTMX guidance but lacks actionable trigger conditions and step-by-step agent instructions
1// HTMX with Django .cursorrules23// HTMX and Django best practices45const htmxDjangoBestPractices = [6 "Use Django's template system with HTMX attributes",7 "Implement Django forms for form handling",8 "Utilize Django's URL routing system",9 "Use Django's class-based views for HTMX responses",10 "Implement Django ORM for database operations",11 "Utilize Django's middleware for request/response processing",12];1314// Folder structure1516const folderStructure = `17project_name/18 app_name/19 templates/20 static/21 css/22 js/23 models.py24 views.py25 urls.py26 project_name/27 settings.py28 urls.py29manage.py30`;3132// Additional instructions3334const additionalInstructions = `351. Use Django's template tags with HTMX attributes362. Implement proper CSRF protection with Django's built-in features373. Utilize Django's HttpResponse for HTMX-specific responses384. Use Django's form validation for HTMX requests395. Implement proper error handling and logging406. Follow Django's best practices for project structure417. Use Django's staticfiles app for managing static assets42`;4344
Full transparency — inspect the skill content before installing.