[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCED791CVG1ZNZG9FPB16P":3,"skill-same:01M6MCED791CVG1ZNZG9FPB16P":96},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":65,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M6MCED791CVG1ZNZG9FPB16P","htmx-recipes",null,"Implement common htmx interaction recipes in server-rendered web apps. Use when building lazy loading, boosted links\u002Fforms, active search, inline validation, delete buttons, CSS transitions, form reset, optimistic updates, pagination, infinite scroll, toggled selection, polling, custom dialogs, request headers, click-to-edit, or HTML\u002FJSON endpoint splits.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-recipes\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"htmx recipes","htmx","recipes","buttons","frontend","when","request","inline","updates","loading","interaction","apps","click","reset","active","selection","common","server","search","code","delete","css","2026-11-10 10:12:30",false,"---\nname: htmx-recipes\ndescription: Implement common htmx interaction recipes in server-rendered web apps. Use when building lazy loading, boosted links\u002Fforms, active search, inline validation, delete buttons, CSS transitions, form reset, optimistic updates, pagination, infinite scroll, toggled selection, polling, custom dialogs, request headers, click-to-edit, or HTML\u002FJSON endpoint splits.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: htmx Recipes\n  category: Frontend\n  tags: htmx,frontend,server-driven-ui,ui-patterns,html\n---\n\n# htmx Recipes\n\nUse this skill when the feature is a recognizable htmx interaction pattern. Start from the recipe shape, then adapt it to the framework's routing, forms, templates, and tests.\n\n## Recipe Selection\n\n| Need | Pattern |\n| --- | --- |\n| Enhance normal links\u002Fforms | `hx-boost` with full-page fallback |\n| Load content on reveal or page load | lazy loading with `hx-get` and a non-chatty trigger |\n| Validate an input or form section | targeted validation request with debounce |\n| Remove an item | mutation endpoint plus target removal or refreshed list |\n| Animate an inserted\u002Fremoved fragment | CSS transitions coordinated with swap timing\u002Fclasses |\n| Clear a successful form | return a fresh form fragment or trigger local reset |\n| Search as the user types | debounced active search into a results target |\n| Show success before server confirms | optimistic update with explicit rollback\u002Freconcile plan |\n| Page through results | links\u002Fbuttons that replace the list and pagination controls |\n| Append more results | infinite scroll sentinel that appends and replaces itself |\n| Toggle selected state | server-owned selection for durable state, local state for transient UI |\n| Poll for changing state | bounded polling with a stop condition |\n| Open custom dialogs | server-rendered modal body plus events for close\u002Ffocus |\n| Add request headers | one global hook for cross-cutting headers |\n| Click to edit | display fragment -> edit form fragment -> display fragment |\n| Serve both HTML and JSON | separate endpoints or explicit content negotiation |\n\n## General Workflow\n\n1. Build the plain server-rendered version first.\n2. Identify the smallest component whose HTML changes.\n3. Add htmx attributes to the existing link, form, button, or sentinel.\n4. Return partials that match stable targets.\n5. Add loading, disabled, empty, and error states.\n6. Add accessibility checks for focus, keyboard, labels, and announcements.\n7. Test the fragment response and the fallback path.\n\n## Boosting\n\n- Use `hx-boost` when links\u002Fforms already work without htmx.\n- Confirm boosted forms still include CSRF and validation behavior.\n- Avoid boosting pages with large script-driven lifecycle assumptions.\n- Use real URLs because boosted navigation still represents navigation.\n\n## Lazy Loading\n\n- Use lazy loading for expensive panels, secondary data, or below-the-fold content.\n- Show a stable placeholder with the same dimensions as the loaded content.\n- Avoid lazy loading critical content that affects initial accessibility or SEO.\n- Cache server work when repeated reveals would otherwise be expensive.\n\n## Validation\n\n- Keep server validation authoritative.\n- Use debounce for per-field requests.\n- Target the field wrapper or form section that contains the error message.\n- Return normal form markup with errors; avoid a JSON validation side channel.\n- Ensure full submit performs the same validation.\n\n## Delete And Reset\n\n- Require a mutation method for destructive actions.\n- Use `hx-confirm` for simple confirmations and a custom dialog only when design demands it.\n- For delete, either remove the item target or return a refreshed list when counts\u002Forder\u002Ffiltering change.\n- For reset, prefer returning a fresh form fragment after success so server defaults are preserved.\n\n## Search, Pagination, And Infinite Scroll\n\n- Put query state in the URL when users should be able to share or refresh it.\n- Debounce active search and cancel stale work where the framework supports it.\n- Replace the result list for search\u002Ffilter\u002Fsort changes.\n- Append for infinite scroll only when ordering is stable.\n- Include a fresh sentinel or \"next\" control in the appended response until there are no more pages.\n\n## Optimistic Updates\n\nUse optimistic UI only when the failure mode is acceptable and reversible.\n\n- Mark optimistic elements so they can be reconciled with the server response.\n- Disable repeat actions while a request is in flight.\n- Return the canonical server-rendered component after success.\n- Show a visible rollback\u002Ferror state after failure.\n\n## Polling\n\n- Use polling for short-lived background state, not for every realtime problem.\n- Choose a reasonable interval and stop when the work is done.\n- Return a small fragment, not an entire page.\n- Escalate to `htmx-realtime` when updates are frequent, multi-client, or event-driven.\n\n## Dialogs And Click-To-Edit\n\n- Render modal\u002Fdialog contents on the server when they include server-owned data.\n- Keep the dialog shell stable if local focus\u002Fescape behavior owns it.\n- Use events to close the dialog after successful save.\n- For click-to-edit, keep display and edit fragments symmetrical and test save\u002Fcancel\u002Ferror paths.\n\n## Avoid\n\n- Do not attach immediate `keyup` or `input` triggers without debounce.\n- Do not mix optimistic updates with irreversible destructive actions unless rollback is designed.\n- Do not use infinite scroll when users need stable pagination, footer access, or precise result position.\n- Do not hide server errors by swapping empty fragments.\n- Do not copy a recipe blindly without deciding who owns state: server, htmx, Alpine\u002Fplain JS, or the browser.\n","# htmx Recipes\n\nUse this skill when the feature is a recognizable htmx interaction pattern. Start from the recipe shape, then adapt it to the framework's routing, forms, templates, and tests.\n\n## Recipe Selection\n\n| Need | Pattern |\n| --- | --- |\n| Enhance normal links\u002Fforms | `hx-boost` with full-page fallback |\n| Load content on reveal or page load | lazy loading with `hx-get` and a non-chatty trigger |\n| Validate an input or form section | targeted validation request with debounce |\n| Remove an item | mutation endpoint plus target removal or refreshed list |\n| Animate an inserted\u002Fremoved fragment | CSS transitions coordinated with swap timing\u002Fclasses |\n| Clear a successful form | return a fresh form fragment or trigger local reset |\n| Search as the user types | debounced active search into a results target |\n| Show success before server confirms | optimistic update with explicit rollback\u002Freconcile plan |\n| Page through results | links\u002Fbuttons that replace the list and pagination controls |\n| Append more results | infinite scroll sentinel that appends and replaces itself |\n| Toggle selected state | server-owned selection for durable state, local state for transient UI |\n| Poll for changing state | bounded polling with a stop condition |\n| Open custom dialogs | server-rendered modal body plus events for close\u002Ffocus |\n| Add request headers | one global hook for cross-cutting headers |\n| Click to edit | display fragment -> edit form fragment -> display fragment |\n| Serve both HTML and JSON | separate endpoints or explicit content negotiation |\n\n## General Workflow\n\n1. Build the plain server-rendered version first.\n2. Identify the smallest component whose HTML changes.\n3. Add htmx attributes to the existing link, form, button, or sentinel.\n4. Return partials that match stable targets.\n5. Add loading, disabled, empty, and error states.\n6. Add accessibility checks for focus, keyboard, labels, and announcements.\n7. Test the fragment response and the fallback path.\n\n## Boosting\n\n- Use `hx-boost` when links\u002Fforms already work without htmx.\n- Confirm boosted forms still include CSRF and validation behavior.\n- Avoid boosting pages with large script-driven lifecycle assumptions.\n- Use real URLs because boosted navigation still represents navigation.\n\n## Lazy Loading\n\n- Use lazy loading for expensive panels, secondary data, or below-the-fold content.\n- Show a stable placeholder with the same dimensions as the loaded content.\n- Avoid lazy loading critical content that affects initial accessibility or SEO.\n- Cache server work when repeated reveals would otherwise be expensive.\n\n## Validation\n\n- Keep server validation authoritative.\n- Use debounce for per-field requests.\n- Target the field wrapper or form section that contains the error message.\n- Return normal form markup with errors; avoid a JSON validation side channel.\n- Ensure full submit performs the same validation.\n\n## Delete And Reset\n\n- Require a mutation method for destructive actions.\n- Use `hx-confirm` for simple confirmations and a custom dialog only when design demands it.\n- For delete, either remove the item target or return a refreshed list when counts\u002Forder\u002Ffiltering change.\n- For reset, prefer returning a fresh form fragment after success so server defaults are preserved.\n\n## Search, Pagination, And Infinite Scroll\n\n- Put query state in the URL when users should be able to share or refresh it.\n- Debounce active search and cancel stale work where the framework supports it.\n- Replace the result list for search\u002Ffilter\u002Fsort changes.\n- Append for infinite scroll only when ordering is stable.\n- Include a fresh sentinel or \"next\" control in the appended response until there are no more pages.\n\n## Optimistic Updates\n\nUse optimistic UI only when the failure mode is acceptable and reversible.\n\n- Mark optimistic elements so they can be reconciled with the server response.\n- Disable repeat actions while a request is in flight.\n- Return the canonical server-rendered component after success.\n- Show a visible rollback\u002Ferror state after failure.\n\n## Polling\n\n- Use polling for short-lived background state, not for every realtime problem.\n- Choose a reasonable interval and stop when the work is done.\n- Return a small fragment, not an entire page.\n- Escalate to `htmx-realtime` when updates are frequent, multi-client, or event-driven.\n\n## Dialogs And Click-To-Edit\n\n- Render modal\u002Fdialog contents on the server when they include server-owned data.\n- Keep the dialog shell stable if local focus\u002Fescape behavior owns it.\n- Use events to close the dialog after successful save.\n- For click-to-edit, keep display and edit fragments symmetrical and test save\u002Fcancel\u002Ferror paths.\n\n## Avoid\n\n- Do not attach immediate `keyup` or `input` triggers without debounce.\n- Do not mix optimistic updates with irreversible destructive actions unless rollback is designed.\n- Do not use infinite scroll when users need stable pagination, footer access, or precise result position.\n- Do not hide server errors by swapping empty fragments.\n- Do not copy a recipe blindly without deciding who owns state: server, htmx, Alpine\u002Fplain JS, or the browser.\n",{"name":5,"license":15,"metadata":54,"description":7,"compatibility":59},{"tags":55,"version":56,"category":57,"displayName":58},"htmx,frontend,server-driven-ui,ui-patterns,html","0.1.0","Frontend","htmx Recipes","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-recipes",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill htmx-recipes",{"tool":76,"command":77},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill htmx-recipes",{"tool":79,"command":80},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill htmx-recipes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-recipes\u002FSKILL.md",true,[84,90],{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"agents\u002Fopenai.yaml","REFERENCE","参考文档",287,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-recipes\u002Fagents\u002Fopenai.yaml",{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"assets\u002Ficons8-code.svg","ASSET","资产文件",460,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-recipes\u002Fassets\u002Ficons8-code.svg",[97,106,114,122,130,138],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":105},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":105},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":105},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":126,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":105},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":134,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":105},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":105},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]