设计与 UI
paw-design-system
Enforce 爪爪 · Paw Work product design tokens and UI recipes when editing sidepanel or extension chrome. Use whenever changing sidepanel HTML/CSS/JS UI, adding controls, menus, chips, or theme-related styles.
Player-YN · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add Player-YN/PawWork_ZhuaZhua --skill paw-design-system技能说明
name: paw-design-system description: Enforce 爪爪 · Paw Work product design tokens and UI recipes when editing sidepanel or extension chrome. Use whenever changing sidepanel HTML/CSS/JS UI, adding controls, menus, chips, or theme-related styles.
Paw Work Design System (product skill)
When to use
Any edit to src/sidepanel.html, src/sidepanel.css, src/sidepanel/**, dialogs, or selection chrome.
Authority
- Read
design-system/DESIGN.md— rules + recipes. - Read
design-system/tokens.json— machine tokens. - Runtime CSS vars live in
src/sidepanel/css/tokens.css.
This skill adapts extract-design-system to our own product: tokens were reverse-engineered from live UI and frozen here — do not scrape random sites into this product.
Checklist before shipping UI
- Colors/spacing/radius come from CSS variables (no stray hex for chrome)
- New top-toolbar controls match pick/shot height +
--radius-sm - No OS-native multi-select for product flows; custom menus use elevated surface
- Capture Group Select ≠ session bind bar (bind stays under dialog)
- Meta controls (model) stay half-size / faint
- Dark + light both use themed tokens (
body[data-theme]) - If you add a token, update
tokens.cssandtokens.jsonand note inDESIGN.mdif a rule changed
Forbidden regressions
- Dual Chat/Run CTA buttons
- Binding groups only in the selection toolbar
- Orange Tailwind leftovers (
#ea580c/ slate OS selects) as product chrome - Growing model select back to primary control size