htmx-development SKILL.md skillA

htmx-development from camoa/claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add camoa/claude-skills/htmx-development@v1.6.0

Pins v1.6.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
camoa/claude-skills
Path
drupal-htmx/skills/htmx-development/SKILL.md
Versions recorded
5
Latest version
v1.6.0, committed May 21, 2026
First version recorded
Feb 16, 2026
Size
6,573 bytes
Repository stars
32
License
MIT

Use when implementing HTMX in Drupal, migrating from AJAX to HTMX, building dynamic forms, dependent dropdowns, infinite scroll, real-time validation, or multi-step wizards. Use when user says "HTMX", "migrate AJAX", "dependent dropdown", "dynamic form", "infinite scroll", "load more", "real-time validation", "multi-step wizard", "hx-get", "hx-post", "Htmx class". Use PROACTIVELY for any Drupal 11.3+ dynamic interaction that could use HTMX instead of AJAX. MUST check HTMX patterns before…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# HTMX Development

Drupal 11.3+ HTMX implementation and AJAX migration guidance.

## When to Use

- Implementing dynamic content updates in Drupal
- Building forms with dependent fields
- Migrating existing AJAX to HTMX
- Adding infinite scroll, load more, real-time validation
- NOT for: Traditional AJAX maintenance (use `references/ajax-reference.md`)

## Decision: HTMX vs AJAX

| Choose HTMX | Choose AJAX |
|-------------|-------------|
| New features | Existing AJAX code |
| Declarative HTML preferred | Complex command sequences |
| Returns HTML fragments | Dialog commands needed |
| Progressive enhancement needed | Contrib expects AJAX |

**Hybrid OK**: Both systems coexist. Migrate incrementally.

## Quick Start

Attach HTMX behavior to a render element with the `Htmx` class:

```php
use Drupal\Core\Htmx\Htmx;
use Drupal\Core\Url;

(new Htmx())
  ->get(Url::fromRoute('my.content'))
  ->onlyMainContent()
  ->target('#result')
  ->swap('innerHTML')
  ->applyTo($build['button']);
```

The controller returns a render array (`['#markup' => '...']`); add
`_htmx_route: TRUE` to the route's `options` for an always-minimal response.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add camoa/claude-skills/htmx-development@sha256:b2b198face9c0e19

The line at the top of this page pins the label v1.6.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hkdxouaisvxjvwec.svg)](https://markdownregistry.com/a/art_hkdxouaisvxjvwec)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Feb 16, 2026 and May 21, 2026, about one every 23 days.

versioncommittedcommitsizeaudit
v1.6.0 latest2026-05-21 9e7b4ac 6,573 BA view · diff
v1.6.02026-05-21 a0d5cad 5,882 BA view · diff
v1.4.02026-03-16 3113db9 7,544 BA view · diff
v1.4.02026-03-14 4e639e9 7,558 BA view · diff
v1.2.02026-02-16 400e3af 7,171 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6573 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

camoa/claude-skills · 32 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hkdxouaisvxjvwec
GET https://markdownregistry.com/api/v1/resolve?ref=camoa/claude-skills/htmx-development
GET https://markdownregistry.com/api/v1/blob/b2b198face9c0e19c85300bd0ba64121f92c32fc9a525a0a08c04740b2ce3476

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from camoa/claude-skills

CLAUDE.md CLAUDE.md file
camoa/claude-skills · CLAUDE.md
git:20260913.cb6d62b · audit A · 32 stars
completion SKILL.md skill
camoa/claude-skills · aida/skills/completion/SKILL.md · This skill should be used when a reviewed task is ready to close, for example "close this task", "finish the task"…
git:20261103.a573081 · audit A · 32 stars
design SKILL.md skill
camoa/claude-skills · aida/skills/design/SKILL.md · This skill should be used when a task's criteria are grounded and it is time to decide how to build them, for example…
git:20261029.7834067 · audit A · 32 stars
implement SKILL.md skill
camoa/claude-skills · aida/skills/implement/SKILL.md · This skill should be used when a task's design has closed cleanly and it is time to begin building, for example "start…
git:20261103.a573081 · audit A · 32 stars
next SKILL.md skill
camoa/claude-skills · aida/skills/next/SKILL.md · This skill should be used when the user asks "what's next", "what should I work on", "continue", "resume", "pick up…
git:20261028.bd73fd1 · audit A · 32 stars
playbooks SKILL.md skill
camoa/claude-skills · aida/skills/playbooks/SKILL.md · This skill should be used when the user asks "which playbooks apply", "list the plays", "add a play", "capture this as…
git:20261028.99198b4 · audit A · 32 stars
project SKILL.md skill
camoa/claude-skills · aida/skills/project/SKILL.md · This skill should be used when the user asks "which project", wants to "create a project", "start a new project"…
git:20261028.99198b4 · audit A · 32 stars
research SKILL.md skill
camoa/claude-skills · aida/skills/research/SKILL.md · This skill should be used when a task's scope contract is approved and its criteria need grounding before design…
git:20261028.e2c6db6 · audit A · 32 stars
review SKILL.md skill
camoa/claude-skills · aida/skills/review/SKILL.md · This skill should be used when a task's implementation has finished and the whole task needs one pass against its…
git:20261103.a573081 · audit A · 32 stars
scope SKILL.md skill
camoa/claude-skills · aida/skills/scope/SKILL.md · This skill should be used when a task needs its scope contract written or changed, for example "define scope", "write…
git:20261103.a573081 · audit A · 32 stars
surfaces SKILL.md skill
camoa/claude-skills · aida/skills/surfaces/SKILL.md · This skill should be used when end to end or visual regression has to be set up for the current project, for example…
git:20261028.6aa4db5 · audit A · 32 stars
task SKILL.md skill
camoa/claude-skills · aida/skills/task/SKILL.md · This skill should be used when the user wants to "create a task", "start a new task", "split a task", "make this an…
git:20261103.a573081 · audit A · 32 stars

Every file in camoa/claude-skills

Browse by kind, by grade A, or by owner.