Install any skill in seconds. Free to start, no credit card required.
Get Started Free →hashgraph-online/django-htmx
Build and review HTMX interactions in Django server-rendered projects, especially generated django-saas-starter apps.
Passed 22 of 22 test cases with the skill, and 17 of 22 without it.
and 4 more in the full report
5 fixed17 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
After a successful form submission triggered dynamically via partial page interaction in Django, we want the browser to perform a client-side navigation redirect to the dashboard URL instead of swapping HTML into the current DOM target. What response object should the Django view return?
| Checked | Without skill | With skill |
|---|---|---|
| The view uses HttpResponseClientRedirect from django_htmx.http | Missed | Passed |
The instructions your model reads when the skill loads.
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 |
test cases passed, vs 17 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.