htmx2

Applies htmx 2.0 attributes, SSE streaming, and View Transitions to server-rendered HTML UI updates.

6|1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/cedricziel/assistant --skill htmx2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: htmx2
Source: https://github.com/cedricziel/assistant/tree/main/.claude/skills/htmx2
Command: npx skills add https://github.com/cedricziel/assistant --skill htmx2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The assistant web UI relies on dynamic, server-rendered HTML patterns to deliver fast, interactive experiences. This skill codifies comprehensive htmx 2.0 usage to ensure consistent, secure, and scalable UI behavior across components.

Core Features & Use Cases

  • Comprehensive references for htmx 2.0 attributes, SSE streaming, and View Transitions for the assistant web UI.
  • Vendored dependencies and module-system support to ensure offline, reproducible builds with stable asset delivery.
  • Real-world workflows include incremental UI updates, partial page swaps, streaming chat content, and safe, configurable UI behavior.

Quick Start

Install and wire up the vendored htmx 2.0 assets in the web UI and enable the SSE extension for streaming.

Frequently Asked Questions about htmx2

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

FAQPage Schema
How do I implement SSE streaming for chat interfaces using htmx 2.0?

Implement SSE streaming in htmx 2.0 by enabling the SSE extension and wiring up vendored assets to deliver incremental chat content updates via server-sent events. This ensures fast, real-time streaming responses within the web UI.

What is the best way to manage vendored dependencies for reproducible htmx 2.0 builds?

Manage vendored dependencies for htmx 2.0 by installing and wiring up module-based assets directly, ensuring offline, reproducible builds with stable asset delivery and predictable UI behavior.

Can I use htmx 2.0 partial templates for incremental UI updates across full-page responses?

Yes, htmx 2.0 supports partial page swaps and incremental UI updates, allowing you to render and swap specific template fragments efficiently across full-page and partial responses.

Does htmx 2.0 provide security defaults for safe content swaps and UI behavior?

Htmx 2.0 includes security defaults and configuration options specifically designed to enforce safe, predictable swaps and secure UI behavior across all interactive components.

How do View Transitions work with htmx 2.0 partial page swaps?

View Transitions in htmx 2.0 integrate with partial page swaps to smooth dynamic content replacement, applying visual transition effects during incremental UI updates without full page reloads.

Why do I need module-based asset management for htmx 2.0 web interfaces?

Module-based asset management for htmx 2.0 ensures reproducible builds and offline stability by vendoring dependencies, preventing external network failures from breaking dynamic web interfaces.