jj-dom-helpers
CommunityFluent, safe DOM helpers for AI-driven apps.
Authoralexewerlof
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The jj-dom-helpers skill provides a compact, type-safe set of wrappers around DOM APIs to reduce boilerplate and errors when manipulating the document, shadows, templates, and fragments, especially in AI-assisted workflows.
Core Features & Use Cases
- Type-safe wrappers for common DOM targets (JJHE, JJE, JJSE, JJD, JJDF, JJSR) enabling fluent chaining and safer access to native nodes.
- Shadow DOM support through ShadowMaster and initShadow for components, templates, and styles.
- Document fragments and template handling to batch DOM operations and reuse templates without manual boilerplate.
- Real-world use: building vanilla web components with minimal ceremony while keeping TS type safety.
Quick Start
Create a div with JJHE and chain methods to build and style content (e.g., JJHE.create('div').setText('Hello')) and integrate Shadow DOM templates with ShadowMaster as needed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jj-dom-helpers Download link: https://github.com/alexewerlof/jj/archive/main.zip#jj-dom-helpers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.