Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By camoa Verifiedv1.6.3MITIn 1 marketplace
Ranks a Drupal module's AJAX by migration complexity, then shows before-and-after HTMX code for each file. Requires Drupal 11.3+ and is built for custom code rather than core or contrib.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
drupal, ajax-migration, drupal-forms, dynamic-content, accessibility, drupal-11, code-migration, ajax ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Verified owner:Carlos Ospina
Migrating Drupal AJAX to HTMX by hand is fiddly and easy to get wrong: it is easy to drop onlyMainContent() and ship a full page where a fragment belongs, to miss an aria-live region a screen reader needed, or to guess at a pattern that Drupal core already has a cleaner answer for. This plugin gives you an analyzer that finds the AJAX worth migrating, a recommender for the right HTMX pattern before you write new code, a guided step-by-step migration, and a validator that checks the result against Drupal 11.3+'s native HTMX support, so the decision is informed and the result is checked instead of guessed at.
Not using Claude Code? See the marketplace PORTABILITY.md: skills work in Cursor, Codex CLI, Copilot, Gemini CLI, Cline, and more.
A migration on one form, real commands, output trimmed to the lines that matter.
$ /drupal-htmx:htmx-analyze modules/custom/my_module
## AJAX Analysis Report: my_module
Files with AJAX: 3, patterns: 5 (3 simple, 1 medium, 1 complex)
Simple: src/Form/MyForm.php:45 - Dependent dropdown
Next steps: Run /htmx-migrate src/Form/MyForm.php for guided migration
$ /drupal-htmx:htmx-migrate modules/custom/my_module/src/Form/MyForm.php dropdown
Shows the current #ajax callback next to the Htmx-class equivalent, then a
migration checklist: remove #ajax, add the Htmx configuration, move callback
logic into buildForm(), delete the now-unused callback method.
$ /drupal-htmx:htmx-validate modules/custom/my_module
## HTMX Validation Report: my_module
Issues found: 2
Critical: MyForm.php:67 - missing onlyMainContent() (full page HTML returned)
Warning: MyForm.php:89 - no aria-live attribute on the dynamic region
Nothing here is auto-applied. /htmx-migrate shows you the before and after and you make the edit; /htmx-validate then tells you what it still owes, including the accessibility check most hand-written migrations skip.
/htmx-analyze./htmx-pattern./branch tip below for comparing both paths on the same context.| Command | Purpose |
|---|---|
/htmx [path] | Quick status scan; suggests the next command. |
/htmx-analyze <path> | Analyze a module's AJAX patterns and rank migration candidates by complexity. |
/htmx-migrate <file> [pattern] | Guided before/after migration for one file. |
/htmx-pattern <use-case> | Recommend the HTMX pattern for a use case, with a code example. |
/htmx-validate <path> | Check an implementation for correctness and accessibility. |
Three read-only agents back the commands that need deeper scanning (ajax-analyzer, htmx-recommender, htmx-validator; all sonnet, Read/Glob/Grep only). The htmx-development skill auto-activates on HTMX and AJAX-migration topics so it can surface guidance even outside these commands. Full command reference, the skill's effort-adaptive depth, and how it fits with the rest of the marketplace: docs/usage.md.
# Add the marketplace
/plugin marketplace add https://github.com/camoa/claude-skills
# Install
/plugin install drupal-htmx@camoa-skills
Requirements: Drupal 11.3+ (this is where native HTMX support landed; there is no legacy-AJAX guidance here by design) and Claude Code.
Recommended companion: dev-guides-navigator, for the Drupal forms/routing/render-API context the skill pulls in at high effort and above.
Deciding HTMX vs AJAX with /branch. When a migration could go either way, use Claude Code's /branch to fork the session at the decision point and try each path against the same loaded context: implement the HTMX version in one branch, keep the AJAX version in another, then compare. The original session is unchanged and stays in the session picker.
Effort-adaptive depth. The htmx-development skill scales to the active effort level: low emits HTMX scaffolding and stops; medium and above also run the validation checklist inline; high/xhigh/max additionally cross-reference the Drupal forms and JS-development dev-guides.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub camoa/claude-skills --plugin drupal-htmx