lit-component
Lit Component Development for Common UI
This skill provides guidance for developing Lit web components within the Common
UI v2 component library (packages/ui/src/v2).
When to Use This Skill
Use this skill when:
- Creating new
cf-prefixed components in the UI package - Modifying existing Common UI v2 components
- Implementing theme-aware components
- Integrating components with Cell abstractions from the runtime
- Building reactive components for pattern UIs
- Debugging component lifecycle or reactivity issues
Core Philosophy
Common UI is inspired by SwiftUI and emphasizes:
More from commontoolsinc/labs
knowledge-base
Shared foundation for Oracle & Corrector agents. Establishes the source hierarchy for resolving conflicts between documentation, code, and specs. Load this skill first when investigating how the system works.
102pattern-critic
Critic agent that reviews pattern code for violations of documented rules, gotchas, and anti-patterns. Produces categorized checklist output with [PASS]/[FAIL] for each rule.
54task-management
Guide for managing tasks within a session using bd (beads) for subtasks and local todo lists. Use this skill when breaking down plans into issues, tracking progress, managing dependencies, or coordinating work across sessions and agents. Triggers include requests to "manage tasks", "track progress", "break down this work", or questions about bd workflow.
52pattern-debug
Debug pattern errors systematically
51pattern-ui
Add UI polish with layout and styling
51pattern-schema
Design schemas.tsx with Input/Output types for patterns
51