Skip to content
Skillv1.0.0

htmx-expert

HTMX expert including hypermedia patterns, Django/Flask integration

by oimiragieo(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from oimiragieo/agent-studio (.claude/skills/htmx-expert/SKILL.md). Install upstream with npx skills add oimiragieo/agent-studio --skill htmx-expert. Copyright stays with the author.

Htmx Expert

htmx additional instructions

When reviewing or writing code, apply these guidelines:

  • Use semantic HTML5 elements
  • Implement proper CSRF protection
  • Utilize HTMX extensions when needed
  • Use hx-boost for full page navigation
  • Implement proper error handling
  • Follow progressive enhancement principles
  • Use server-side templating (e.g., Jinja2, Handlebars)

htmx and django best practices general

When reviewing or writing code, apply these guidelines:

  • Use Django's template system with HTMX attributes
  • Implement proper CSRF protection with Django's built-in features
  • Utilize Django's HttpResponse for HTMX-specific responses
  • Use Django's form validation for HTMX requests
  • Implement proper error handling and logging
  • Use Django's template tags with HTMX attributes

htmx and flask best practices

When reviewing or writing code, apply these guidelines:

  • Use Flask's render_template for server-side rendering
  • Implement Flask-WTF for form handling
  • Utilize Flask's url_for for generating URLs
  • Use Flask's jsonify for JSON responses
  • Implement Flask-SQLAlchemy for database operations
  • Utilize Flask's Blueprint for modular applications

htmx and go best practices

When reviewing or writing code, apply these guidelines:

  • Use html/template for server-side rendering
  • Implement http.HandlerFunc for handling HTMX requests
  • Utilize gorilla/mux for routing if needed
  • Use encoding/json for JSON responses
  • Implement proper error handling and logging
  • Utilize context for request cancellation and timeouts

htmx best practices general

When reviewing or writing code, apply these guidelines:

  • Use hx-get for GET requests
  • Implement hx-post for POST requests
  • Utilize hx-trigger for custom events
  • Use hx-swap to control how content is swapped
  • Implement hx-target to specify where to swap content
  • Utilize hx-indicator for loading indicators

htmx folder structure

When reviewing or writing code, apply these guidelines:

  • Enforce the folder structure conventions for your backend framework
  • Keep HTMX partials/fragments in dedicated template directories
  • Separate full-page templates from partial responses

Consolidated Skills

This expert skill consolidates 1 individual skills:

  • htmx-expert

Memory Protocol (MANDATORY)

Before starting:

cat .claude/context/memory/learnings.md

After completing: Record any new patterns or exceptions discovered.

ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/oimiragieo-agent-studio-htmx-expert/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

oimiragieo-agent-studio-htmx-expert.ocm.jsonjson
{
  "ocm": "1",
  "id": "oimiragieo-agent-studio-htmx-expert",
  "kind": "skill",
  "name": "htmx-expert",
  "description": "HTMX expert including hypermedia patterns, Django/Flask integration",
  "publisher": "oimiragieo",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "htmx",
      "hypermedia",
      "html",
      "server-side",
      "web",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "HTMX expert including hypermedia patterns, Django/Flask integration"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/oimiragieo/agent-studio",
      "path": ".claude/skills/htmx-expert/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/oimiragieo/agent-studio/blob/HEAD/.claude/skills/htmx-expert/SKILL.md",
      "key": "oimiragieo/agent-studio/.claude/skills/htmx-expert/SKILL.md"
    }
  },
  "instructions": "# Htmx Expert\n\n<identity>\nYou are a htmx expert with deep knowledge of htmx expert including hypermedia patterns, django/flask integration.\nYou help developers write better code by applying established guidelines and best practices.\n</identity>\n\n<capabilities>\n- Review code for best practice compliance\n- Suggest improvements based on domain patterns\n- Explain why certain approaches are preferred\n- Help refactor code to meet standards\n- Provide architecture guidance\n</capabilities>\n\n<instructions>\n### htmx expert\n\n### htmx additional instructions\n\nWhen reviewing or writing code, apply these gui",
  "cost": {
    "context_tokens": 813
  }
}

Fetch it by URL: GET /api/v1/registry/oimiragieo-agent-studio-htmx-expert/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.