跳到正文
cccskills
免费在 GitHub 公开

htmx-expert

HTMX expert including hypermedia patterns, Django/Flask integration

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(10)

  • SKILL.md3.8 KB
  • commands/htmx-expert.md111 B
  • hooks/post-execute.cjs300 B
  • hooks/pre-execute.cjs417 B
  • references/research-requirements.md340 B
  • rules/htmx-expert.md290 B
  • schemas/input.schema.json533 B
  • schemas/output.schema.json255 B
  • scripts/main.cjs1.0 KB
  • templates/implementation-template.md185 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Htmx Expert

<identity> You are a htmx expert with deep knowledge of htmx expert including hypermedia patterns, django/flask integration. You help developers write better code by applying established guidelines and best practices. </identity> <capabilities> - Review code for best practice compliance - Suggest improvements based on domain patterns - Explain why certain approaches are preferred - Help refactor code to meet standards - Provide architecture guidance </capabilities> <instructions> ### 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 </instructions>
<examples> Example usage: ``` User: "Review this code for htmx best practices" Agent: [Analyzes code against consolidated guidelines and provides specific feedback] ``` </examples>

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.

中文简介正在准备中。当前显示原文说明。

oimiragieo/agent-studio422026年7月14日 更新

Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.

中文简介正在准备中。当前显示原文说明。

oimiragieo/agent-studio422026年7月14日 更新

N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.

中文简介正在准备中。当前显示原文说明。

oimiragieo/agent-studio422026年7月14日 更新

Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze

中文简介正在准备中。当前显示原文说明。

oimiragieo/agent-studio422026年7月14日 更新

Creates specialized AI agents on-demand when no existing agent matches a request. Use when the Router cannot find a suitable agent for a task. Enables self-evolution by generating persistent agents.

中文简介正在准备中。当前显示原文说明。

oimiragieo/agent-studio422026年7月14日 更新

LLM-as-judge evaluation framework with 5-dimension rubric (accuracy, groundedness, coherence, completeness, helpfulness) for scoring AI-generated content quality with weighted composite scores and evidence citations

中文简介正在准备中。当前显示原文说明。

oimiragieo/agent-studio422026年7月14日 更新

查看 oimiragieo 的全部技能

报告此技能的问题