Frontend Lit

Use when the user asks about Lit, LitElement, lit-html templates, reactive properties, Lit decorators, Lit context or Lit SSR. Produces typed Lit web components with shadow DOM styles and custom events. Not for framework-free custom elements (use frontend-web-components) or Stencil (use stencil).

45 stars 6 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill frontend-lit
Manual install
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/frontend/lit ~/.claude/skills/frontend-lit

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Lit

## Purpose
Build standard web components with Lit: reactive properties, shadow DOM templates, typed events, and SSR-compatible rendering.

## Agent Protocol

### Trigger
Exact user phrases: "Lit", "LitElement", "lit-html", "web component Lit", "reactive element", "@lit/reactive-element", "Lit SSR", "Lit component", "Lit decorator", "Lit reactive property".

### Input Context
Before activating, verify:
- package.json has lit dependency.
- Whether the project uses decorators (experimentalDecorators) or the reactive-element base class.
- Whether Lit SSR (@lit-labs/ssr or @lit/react) is needed.

### Output Artifact
No file output. Produces component design, property configuration, template patterns, and SSR setup as text.

### Response Format
```
Component: {name} — {purpose}
Properties: {reactive attributes/properties}
Template: {shadow DOM structure}
Events: {CustomEvent dispatch}
```

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output.

### Completion Criteria
- [ ] Components extend LitElement or ReactiveElement.
- [ ] Reactive properties defined with @property() decorator or static properties.
- [ ] Templates use Lit's html tagged template literal.
- [ ] Shadow DOM enabled (default in LitElement).
- [ ] Events dispatched as typed CustomEvent.
- [ ] Lit SSR configured for server-side rendering if needed.
- [ ] Styles scoped via shadow DOM or adoptedStyleSheets.

### Max Response Length
2560 tokens.
Read the full skill on GitHub

Details

Skill name
frontend-lit
Path
skills/frontend/lit/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Frontend Lit skill do?

Use when the user asks about Lit, LitElement, lit-html templates, reactive properties, Lit decorators, Lit context or Lit SSR. Produces typed Lit web components with shadow DOM styles and custom events. Not for framework-free custom elements (use frontend-web-components) or Stencil (use stencil).

How do I install the Frontend Lit skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill frontend-lit. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Frontend Lit popular?

It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.

Related skills

Agent Observability

45

j4flmao/agent-skills

Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).

DevOps & Cloud

AI Agent Architectures

45

j4flmao/agent-skills

Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).

AI, LLMs & Agents

AI Agent Core Loop

45

j4flmao/agent-skills

Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).

AI, LLMs & Agents

Frontend Patterns

45

j4flmao/agent-skills

Use when the user asks about frontend component patterns: compound components, container/presentational, custom hooks, render props, HOCs, provider pattern, state reducer or headless components. Produces pattern choices with framework examples. Not for app folder structure (use react-architecture) or picking a state library (use frontend-state-management).

Frontend & Design

Frontend Internationalization

45

j4flmao/agent-skills

Use when the user asks about frontend i18n, i18next, react-intl/FormatJS, vue-i18n, next-intl, ICU plurals, Intl formatting, locale switching, RTL layout or translation files. Produces locale routing, message catalogs and RTL-safe CSS. Not for server-side i18n (use backend-internationalization) or mobile apps (use mobile-localization).

Frontend & Design

Frontend Performance

45

j4flmao/agent-skills

Use when the user asks about bundle size, slow page loads, code splitting by route, lazy loading, rendering cost, memoization or a frontend performance budget in a framework app. Produces measure-first, framework-level optimizations. Not for Core Web Vitals field data and CrUX diagnosis (use web-performance) or image pipelines (use frontend-image-optimization).

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.