In short.
HTMX Development is an assistant skill for Drupal developers adding interactive features, but its code snippets require completion and validation in the intended application. Version 1.6.0 covers Drupal 11.3+ Htmx configuration, form request detection, partial HTML responses, browser history and AJAX migration. Its strongest material is the mapping between existing AJAX patterns and HTMX equivalents. The supplied HTMX route examples omit access requirements, and no examples were executed; runtime correctness, security and accessibility remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
The resource covered is drupal-htmx/skills/htmx-development at commit bdf188b957cb5360675dbeacf47133ed89fac64d: SKILL.md and all four files in its references directory. The repository-root LICENSE supplies the related licence notice. Other repository content, the separate dev-guides navigator, online guides and referenced Drupal Core files are outside this scope. No installation or code execution occurred; assistant integration, Drupal compatibility, security, accessibility and performance are unassessed.
The overview
Identity
The resource is the htmx-development skill in camoa/claude-skills. Its SKILL.md declares version 1.6.0, user invocation support and access to Read, Glob and Grep tools. It supplies instructions and reference material for an assistant; it does not itself provide a Drupal module.
The original folder at the supplied revision is [https://github.com/camoa/claude-skills/tree/bdf188b957cb5360675dbeacf47133ed89fac64d/drupal-htmx/skills/htmx-development]. It contains SKILL.md and four Markdown references covering implementation, migration patterns, AJAX and quick lookup tables.
Assessment
The skill is useful as a focused guide for translating Drupal AJAX interactions into requests that return HTML fragments. It connects familiar callbacks and commands to Htmx methods, helping developers understand both the replacement code and the change in structure.
Its guidance also identifies cases where keeping AJAX makes sense, including dialogs, complex command sequences and contributed modules expecting AJAX callbacks. The examples establish the intended approach, but their correctness in a particular Drupal application has not been demonstrated.
Users
The main audience is Drupal developers implementing dependent dropdowns, content loading, validation or forms with multiple steps. Developers maintaining existing AJAX code can use the side-by-side examples to plan incremental migration.
Beginners get named patterns and explanations of response targets and swap strategies. Using the examples still requires knowledge of PHP, Drupal forms, render arrays and routing. Experienced developers gain compact API and event mappings, with application-specific access control, caching and behavior integration left to resolve.
Capabilities
Seven migration patterns cover dependent dropdowns, cascading selects with URL updates, button-triggered loading, multi-step wizards, validation when a field loses focus, infinite scroll or load more, and adding fields dynamically.
The references explain request methods, response selection, content replacement and insertion, request detection, browser history and JavaScript events. They also cover out-of-band swaps, which let one response update additional page regions beyond its primary target, and Drupal behavior attachment after content changes.
Using it
Requirements
The guide targets Drupal 11.3+ and assumes the Drupal Core Htmx API is available. Its troubleshooting guidance says to verify that the core/drupal.htmx library is attached. The examples also assume suitable routes, render elements, selectors and application data methods.
An assistant host must be able to load the skill and access its relative reference files. No minimum assistant version, model or exact installation procedure is supplied. The skill references a separate /dev-guides-navigator for deeper Drupal context; that component and its documentation are outside this folder, and portability to other assistant hosts is unassessed.
Mechanism
The documented approach configures requests through Drupal's Htmx class and applies that configuration to render elements. A controller or form returns a render array, Drupal renders an HTML response, and HTMX replaces or inserts content in the selected page region. The guide describes Drupal integration for loading assets and attaching behaviors afterward.
For migration, callback logic moves into buildForm(), with getHtmxTriggerName() identifying the triggering field. The assistant instructions also vary their depth using CLAUDE_EFFORT: basic scaffolding at low effort, a validation checklist at medium effort, and delegation to the separate navigator at higher settings. Support for that behavior depends on the assistant environment.
Setup
Keep SKILL.md and the references directory together so the relative links remain usable, then load the folder through the assistant host's supported skill mechanism. The supplied files do not establish a particular installation command or destination.
For the documented Drupal integration, configure Htmx with a route URL, response target and swap strategy, then apply it to the render element. The guide uses onlyMainContent() for requests needing minimal HTML and _htmx_route: TRUE for routes intended always to return minimal responses. Complete the route access rules and verify the library attachment in the application.
Example
For a category dropdown that updates a subcategory dropdown, the guide configures post($form_url), onlyMainContent(), select('#edit-subcategory--wrapper'), target('#edit-subcategory--wrapper') and swap('outerHTML'), then applies the configuration to the category element. The response selector extracts the relevant wrapper, and the target identifies where it replaces existing content.
In buildForm(), the migration example checks whether getHtmxTriggerName() returns category and rebuilds subcategory options from the submitted category. This is a partial pattern: the surrounding form class, data methods and matching rendered wrapper markup are not supplied as a complete application.
Assessment & evidence
Limitations
The examples are snippets rather than a complete installable Drupal application. They depend on surrounding code, route definitions and matching markup. The supplied files do not establish compatibility with each Drupal release covered by the stated 11.3+ target.
The HTMX route snippets omit access requirements, and the text does not demonstrate HTMX-specific CSRF protection. Accessibility and operation without JavaScript are checklist requirements, not demonstrated outcomes. No code was executed, so runtime behavior, security, performance and accessibility remain unassessed.
Fit rationale
The strongest fit is an interaction whose server response can be expressed as rendered HTML: replacing a field, appending results or updating several regions. The resource explains those operations directly and maps them to familiar Drupal AJAX concepts.
Its incremental migration advice is valuable where an application mixes simple content updates with dialogs or contributed-module integrations. The examples illustrate changes in code structure; they do not establish faster development, lower latency or fewer defects.
Alternatives
The resource's main alternative is Drupal's existing AJAX system. It recommends retaining AJAX for complex command sequences, modal dialogs, jQuery method calls and contributed modules that expect AJAX callbacks. It also describes coexistence, including AJAX responses that insert HTMX-enabled content.
For direct API inspection, the guide points to Drupal Core files such as Htmx.php, HtmxRequestInfoTrait.php and ConfigSingleExportForm.php. Their contents are not included here, so they provide follow-up locations rather than independently established support for the examples.
Evidence
The source material comprises SKILL.md, references/ajax-reference.md, references/htmx-implementation.md, references/migration-patterns.md and references/quick-reference.md, plus the repository's LICENSE. The files provide assistant instructions, API tables, code examples and migration guidance.
The referenced Drupal Core implementations, online dev-guides and separate navigator are not included. No runtime logs, benchmark results or completed validation results are supplied. The evidence supports describing the resource's content and intended use, with operational claims remaining unverified.
Access & freshness
Costs
The supplied files state no purchase price, usage fee or required assistant subscription. Total cost is unknown. Assistant charges, implementation effort and Drupal hosting costs are not quantified, and no evidence establishes cost savings.
Rights
The supplied repository-level MIT licence names Carlos Ospina as the 2025 copyright holder. It permits use, copying, modification, publication, distribution, sublicensing and sale of the software and accompanying documentation.
Copies or substantial portions must retain the copyright and permission notices. The licence provides the material without warranty and disclaims liability. Redistribution of the skill files should therefore include the supplied LICENSE notice.
Freshness
The skill declares version 1.6.0. The supplied source was captured on 17 November 2026 at commit bdf188b957cb5360675dbeacf47133ed89fac64d and targets Drupal 11.3+. Changes after that revision and compatibility with the latest Drupal API are unknown.
Next steps
Before adopting generated code, compare the documented methods with the installed Drupal Core API and complete route access, request protection and render-cache requirements. Begin with one bounded interaction, such as a dependent dropdown, and confirm that its selectors match the actual rendered markup.
Then verify operation without JavaScript, validation errors, dynamic-region announcements, focus behavior, asset loading, behavior attachment and detachment, and browser history where applicable. Retain AJAX where existing command or contributed-module dependencies require it. These are recommended validation tasks; no results are established.
