·lit-component
*

lit-component

commontoolsinc/labs

在 Common UI v2 系统中开发 Lit Web 组件的指南 (@commontools/ui/v2)。在创建或修改 ct 前缀组件、实现主题集成、使用 Cell 抽象或构建与 Common Tools 运行时集成的反应式 UI 组件时使用。

7安装·1热度·@commontoolsinc

安装

$npx skills add https://github.com/commontoolsinc/labs --skill lit-component

SKILL.md

This skill provides guidance for developing Lit web components within the Common UI v2 component library (packages/ui/src/v2).

Complexity spectrum: Components range from pure presentation (no runtime) to deeply integrated (Cell operations, pattern execution, backlink resolution). Choose the simplest pattern that meets requirements.

See references/component-patterns.md for detailed patterns for each category and references/advanced-patterns.md for complex integration patterns.

在 Common UI v2 系统中开发 Lit Web 组件的指南 (@commontools/ui/v2)。在创建或修改 ct 前缀组件、实现主题集成、使用 Cell 抽象或构建与 Common Tools 运行时集成的反应式 UI 组件时使用。 来源:commontoolsinc/labs。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/commontoolsinc/labs --skill lit-component
分类
*创意媒体
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 lit-component?

在 Common UI v2 系统中开发 Lit Web 组件的指南 (@commontools/ui/v2)。在创建或修改 ct 前缀组件、实现主题集成、使用 Cell 抽象或构建与 Common Tools 运行时集成的反应式 UI 组件时使用。 来源:commontoolsinc/labs。

如何安装 lit-component?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/commontoolsinc/labs --skill lit-component 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/commontoolsinc/labs

详情

分类
*创意媒体
来源
skills.sh
收录时间
2026-02-01