From 5d9549f524d7077447764b338a074b9b3570ef86 Mon Sep 17 00:00:00 2001 From: Mohamed Mansour Date: Sat, 7 Mar 2026 23:18:55 -0800 Subject: [PATCH] feat: add webui-dev skill for FAST-HTML app development MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add .github/skills/webui-dev/SKILL.md documenting the full workflow for building interactive WebUI example apps with FAST-HTML hydration. Covers: - Project structure (package.json, tsconfig.json, directory layout) - Template syntax: signal interpolation ({{}}), raw interpolation ({{{)}}), loop rendering (), conditional rendering (), boolean attributes (?attr), and complex pass-through attributes (:attr) - FAST-HTML component patterns: RenderableFASTElement mixin, @attr and @observable decorators, prepare() hydration hook, defineAsync registration - Event handling: @event template bindings, \() for child-to-parent custom events, f-ref template refs for direct DOM access - Hydration bootstrap: TemplateElement.options() configuration with observerMap, performance marks, and f-template activation - State management via data/state.json for SSR - CSS design tokens with :root custom properties and var() token hoisting - Dev workflow: cargo xtask dev, esbuild bundling, webui build --plugin=fast - Key gotcha: