Agent Skills
› pierrecomputer/pierre
› theme
theme
GitHub提供Pierre主题库的集成指南,支持Shiki、VS Code等编辑器的语法高亮与UI配色,涵盖多种色盲适配变体及运行时切换场景。
触发场景
需要为编辑器或应用配置代码高亮主题
需要实现应用界面的明暗模式或色彩变体切换
安装
npx skills add pierrecomputer/pierre --skill theme -g -y
SKILL.md
Frontmatter
{
"name": "theme",
"description": "Use when an app needs a Pierre light or dark theme from @pierre\/theme for Shiki, VS Code, Cursor, or Zed, including soft, vibrant, protanopia, deuteranopia, and tritanopia variants."
}
@pierre/theme
Use @pierre/theme for Pierre syntax and editor themes. The package supplies
ten immutable Shiki and VS Code theme objects.
Install
pnpm add @pierre/theme
Select an API reference
| Need | Reference |
|---|---|
| List every package entry and export | API reference |
| Compare all themes and select a variant | Theme variants |
Select a recipe
| Task | Recipe |
|---|---|
| Load a Pierre theme in Shiki | Use a theme with Shiki |
| Install a Pierre theme in an editor | Use a theme in an editor |
Use the theming skill when the app must switch themes at runtime or follow a
color mode.
版本历史
- ba7d51d 当前 2026-08-19 21:55


