Skip to main content

engram-dashboard-htmx

HTMX and templ interaction rules for the Engram dashboard. Trigger: Any change to htmx attributes, partial updates, forms, or server-rendered browser UI.

来源信息

仓库
Gentleman-Programming/engram
最近来源活动
2026年3月7日 19:29
检测到的 SKILL.md 语言
英语
星标
7,608
Forks
798

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
engram-dashboard-htmx
description
HTMX and templ interaction rules for the Engram dashboard. Trigger: Any change to htmx attributes, partial updates, forms, or server-rendered browser UI.
license
Apache-2.0
metadata
{"author":"gentleman-programming","version":"1.0"}
## When to Use Use this skill when: - Adding htmx partial loading or filter controls - Wiring forms or toggles in the dashboard - Changing browser/search interactions --- ## HTMX Rules 1. Server-rendered HTML is the product; htmx enhances it, it does not replace it. 2. Prefer simple `hx-get` and `hx-include` over custom client-side state. 3. Filters must preserve the active state users would expect across interactions. 4. Forms that mutate system state must still work as normal HTTP posts. 5. Partial endpoints return meaningful HTML on their own, not fragments that depend on hidden JS assumptions. --- ## Interaction Rules - Search and filter controls must compose cleanly. - Toggle actions must visibly reflect the resulting server state. - Connected navigation should keep URLs meaningful and shareable. - Use htmx for speed, not to hide business logic in the browser.
在 GitHub 查看