Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs and reviews htmx endpoint contracts, covering request attributes, swap targets, HTML fragment responses, and response headers.
78% 100%+22 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 18 of 23 without it.
3 of 3 safety checks passed
Not used yet
Use this skill when the hard part is the server/browser contract: which element makes the request, which endpoint handles it, what HTML comes back, and where that HTML lands.
Define the endpoint contract before writing attributes:
GET for safe reads; POST, PUT, PATCH, or DELETE for mutations when the server/framework supports them.hx-target when using outerHTML.hx-include when one control must submit data from a nearby form or filter panel.hx-vals only for small explicit values. Avoid secrets and avoid executable js: values; prefer form fields, hidden inputs, or URL parameters instead.keyup, input, and polling.Choose the smallest response that keeps the UI honest:
| Situation | Response |
|---|---|
| Replace one component | Return that component fragment |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.