building-lit-components
Installation
SKILL.md
Building Lit Components
Lit is a lightweight (~5KB) library for building fast Web Components with reactive state, scoped styles, and declarative templates.
Use this skill when creating web components with Lit, optimizing rendering, implementing reactive properties, using directives, or building component libraries.
Supporting files: COMPONENTS.md for component patterns, DIRECTIVES.md for built-in directives, STYLING.md for styling best practices, ADVANCED.md for Context, Task, SSR.
Quick Start
import {LitElement, html, css} from 'lit';
import {customElement, property} from 'lit/decorators.js';