Skip to content

ericrisco/rsc-harness / skills/htmx

Use when adding interactivity to a server-rendered app (FastAPI/Jinja, Django, Rails, Laravel, Go templates, Express) without adopting a JS framework — hx-get/post/put/delete with hx-target, hx-swap and hx-trigger, returning HTML fragments instead of JSON, out-of-band swaps, active search, infinite scroll, inline edit and polling. NOT a client-state SPA with routing and a store (that is `react` or `nextjs`).

FileKindSize
SKILL.mdskill md13.3 KB
evals/README.mdmarkdown73 B
evals/cases.yamlconfig2.1 KB
references/patterns.mdmarkdown3.7 KB
references/server-contract.mdmarkdown3.3 KB
scripts/verify.shexecutablescript3.8 KB

evals/cases.yaml

View on GitHub
skill: htmx

should_trigger:
  - prompt: "Swap a server-rendered partial into a div on click with htmx."
    why: "Verb/target/swap-driven htmx interaction is canonical."
  - prompt: "Return an HTML fragment on HX-Request and a full page otherwise."
    why: "Branching full page vs fragment is core htmx server contract."
  - prompt: "Update the cart count and drawer from one htmx response."
    why: "Out-of-band swaps for multi-region updates belong here."
  - prompt: "Build a live search box without React using server-rendered HTML."
    why: "Active search via hx-trigger and server fragments is htmx."
  - prompt: "Intercambiar un fragmento HTML del servidor sin montar una SPA."
    why: "Spanish hypermedia/no-SPA wording triggers htmx."

should_not_trigger:
  - prompt: "Build a client-side SPA with routes and global state."
    route_to: "react"
    why: "Client-state-heavy SPA work is not htmx."
  - prompt: "Structure this FastAPI router and dependency injection."
    route_to: "fastapi"
    why: "Server framework internals are separate from htmx fragment contracts."
  - prompt: "Audit generic XSS and CSP for this app."
    route_to: "security-audit"
    why: "Generic security review belongs to security-audit."
  - prompt: "Write browser E2E tests for this flow."
    route_to: "testing-web"
    why: "Test mechanics belong to testing skills; htmx defines the interaction contract."

capability:
  - scenario: "A server-rendered app needs live search, inline edit, and cart counter updates without a SPA."
    must_include:
      - "Returns HTML fragments for UI requests, not JSON."
      - "Uses hx-get/post/put/delete with explicit hx-target and hx-swap where defaults are wrong."
      - "Branches on HX-Request so direct navigation still returns a full page."
      - "Uses hx-trigger modifiers for debounce/reveal/polling instead of custom JavaScript."
      - "Uses hx-swap-oob for multi-region updates from one response."
      - "Keeps server as source of truth for application state."
      - "Routes server framework, security and accessibility details to matching skills when needed."
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall