What problem does it solve?
Reviewing custom-element UI code by hand is error-prone: duplicated state, DOM mutations outside the ReactiveElement lifecycle, bloated public surfaces, and incorrect registration or bundling boundaries are easy to miss. This Skill provides a structured review checklist for HTML components without editing any code.
Core Features & Use Cases
- Data Flow Audit: Traces sources of truth, subscriptions, mutations, and events to flag duplicated state, upward property writes, and hidden coupling.
- Lifecycle & DOM Contract Checks: Detects render-affecting DOM mutations outside the ReactiveElement update lifecycle and verifies markup semantics, focus, and accessibility.
- Registration & Bundle Review: Inspects safeDefine registration, tree-shaking boundaries, package.json side-effect flags, and build entries.
- Use Case: When a new HTML chapter menu element is added to the Video.js v10 codebase, run this review to get prioritized findings on ownership, events, styling contracts, opt-outs, and bundle boundaries before merging.
Quick Start
Review the new HTML chapter menu component in packages/html/src/ui and report prioritized findings on data flow, lifecycle, and registration.