htmx-devtools-extension

Inspect HTMX request lifecycles, events, and DOM swaps in a DevTools panel.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/Aradotso/devtools-skills --skill htmx-devtools-extension
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: htmx-devtools-extension
Source: https://github.com/Aradotso/devtools-skills/tree/main/skills/htmx-devtools-extension
Command: npx skills add https://github.com/Aradotso/devtools-skills --skill htmx-devtools-extension

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Troubleshooting HTMX applications is slow because request lifecycles, swap results, event flows, and failure causes (like target mismatches) are hard to see from the page itself.

Core Features & Use Cases

  • Request Inspector: Track the full HTMX request lifecycle with timing breakdown, request/response headers, bodies, and correlated event trace for rapid diagnosis.
  • Element Inspector: Explore and resolve htmx-related elements and attributes, then jump to element-specific request history.
  • Event Timeline: Filter and drill into HTMX event sequences to understand ordering and payload details.
  • Swap Visualizer: Compare DOM before/after swaps with diff-style highlighting, helping pinpoint why UI updates are incorrect.
  • Error Panel: Detect and group common HTMX issues such as HTTP errors, target-not-found, timeouts, and swap errors.

Quick Start

Install the HTMX DevTools extension for your browser and open any page running HTMX, then use the HTMX DevTools panel to record requests and inspect swaps and errors.

Frequently Asked Questions about htmx-devtools-extension

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug HTMX request lifecycles and inspect HX-* headers?▼

Debug HTMX request lifecycles by using a DevTools panel to record requests and inspect HX-* headers, bodies, and timing breakdowns. This provides full visibility into network interactions and correlated event traces for rapid diagnosis.

Why does my HTMX DOM swap result in incorrect UI updates?▼

Incorrect HTMX DOM swaps can be diagnosed using a Swap Visualizer that compares before and after states with diff-style highlighting. This helps pinpoint exactly why UI updates are wrong by revealing the exact DOM changes made.

Can I track and filter htmx:* event sequences during application debugging?▼

You can track htmx:* event sequences using an Event Timeline panel to filter and drill into event ordering and payload details. This allows developers to understand the exact sequence of HTMX interactions during application debugging.

How do I find HTMX target-not-found and HTTP network errors?▼

Find HTMX target-not-found and HTTP network errors using a dedicated Error Panel that detects and groups common issues. It classifies target resolution and network failures to quickly locate error causes.

Does HTMX debugging support version-aware event mapping for 2.x and 4.0?▼

HTMX debugging supports version-aware event mapping for both HTMX 2.x and 4.0. The DevTools panel UI maps events correctly according to the specific HTMX version running on the page.