Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds and reviews HTMX partial-page interactions for Django templates, views, forms, and generated django-saas-starter apps.
77% 100%+23 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 17 of 22 without it.
3 of 3 safety checks passed
Not used yet
Use HTMX to keep Django templates, views, forms, permissions, and server-side validation in charge while adding focused partial-page updates. Prefer plain Django first, then add the smallest HTMX behavior that improves the workflow.
In generated django-saas-starter projects:
django-htmx is installed and django_htmx.middleware.HtmxMiddleware adds
request.htmx.htmx.min.js is copied from npm to frontend/static/vendors/js/ and loaded
by frontend/templates/base_app.html and frontend/templates/base_landing.html.X-CSRFToken during htmx:configRequest and
set window.htmx.config.historyRestoreAsHxRequest = false. Do not duplicate
this setup in feature templates.Use these skills for deeper htmx guidance, then translate back to Django forms, views, templates, permissions, and tests:
htmx-endpoint-design for request/response contracts, targets, swaps,
out-of-band updates, and events.htmx-recipes for active search, pagination, infinite scroll, polling,
dialogs, click-to-edit, boosted links, and other common patterns.htmx-security for XSS, sanitization, CSP, CSRF, and htmx history-cache risk.htmx-realtime for polling, SSE, and WebSocket tradeoffs.htmx-interactivity for Alpine.js coordination, event boundaries, and local
state outside replaceable targets.htmx-js-api for programmatic requests, htmx.process, and event wiring.Load only the files needed for the current task:
| Need | Read |
|---|---|
| Django view branching, response helpers, forms, validation | references/django-view-patterns.md |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.