What problem does it solve?
This Skill provides a comprehensive set of patterns and best practices for developing user interfaces using the Lit Web Components library, ensuring consistency, maintainability, and performance.
Core Features & Use Cases
- Component Structure & Naming: Standardized ways to define and name Lit components.
- State Management: Patterns for managing component and application state.
- API & WebSocket Integration: Guidelines for interacting with backend services.
- Forms & Validation: Reusable patterns for handling user input and validation.
- Testing & Accessibility: Best practices for ensuring robust and inclusive UIs.
- Use Case: A developer needs to build a new feature for the Agent OS Web UI, such as a chat interface or a Kanban board. This Skill will guide them on how to structure their components, manage data flow, handle user interactions, and ensure the UI is accessible and testable.
Quick Start
Refer to the "Component Structure" section in the SKILL.md file for an example of a basic Lit component.