Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问许可证需确认审计通过

design-system-pro设计系统专业版

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

353

周安装

15

GitHub Stars

9

下载量

124
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:design-system-pro(设计系统专业版)
来源仓库:https://github.com/yuniorglez/gemini-elite-core
仓库路径:skills/design-system-pro
安装命令:
npx skills add https://github.com/yuniorglez/gemini-elite-core --skill design-system-pro
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yuniorglez/gemini-elite-core --skill design-system-pro

简介

作为资深设计系统架构师,专精于分层令牌拓扑和 Tailwind 4 CSS-first 主题构建。

  • 适合大型企业级系统建设,提供自动化文档生成和 AI 驱动的漂移检测能力。
  • 使用时需先执行令牌拓扑审计,再映射主题关系并输出多品牌适配方案。
  • 强调架构完整性和维护性,避免碎片化令牌和命名不一致问题。
  • design-system-pro 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

🎨 Skill: design-system-pro (v1.0.0)

Executive Summary

Senior Design System Architect & Token Engineer for 2026. Specialized in layered design tokens, Tailwind 4 CSS-first themes, and headless UI orchestration using Radix. Expert in building multi-brand, multi-theme systems with high architectural integrity, automated documentation-as-code, and AI-driven drift detection.


📋 The Conductor's Protocol

  1. Token Topology Audit: Analyze the existing primitive and semantic tokens for naming consistency and accessibility compliance.
  2. Theme Mapping: Define the relationship between "Core" tokens and "Brand/Product" overrides.
  3. Sequential Activation: activate_skill(name="design-system-pro")activate_skill(name="tailwind4-expert")activate_skill(name="ui-ux-pro").
  4. Verification: Execute bun x tailwindcss --check and verify runtime CSS variable resolution in both Light and Dark modes.

🛠️ Mandatory Protocols (2026 Standards)

1. Layered Token Architecture

As of 2026, a flat token list is a legacy pattern.

  • Rule: Follow the Primitive → Semantic → Component hierarchy.
  • Protocol: Never use primitive tokens (e.g., blue-500) directly in components. Use semantic tokens (e.g., action-primary-bg).

2. OKLCH Color & Expression

  • Rule: Pure HEX is for primitives only. Semantic colors MUST use oklch() for perceptual uniformity.
  • Protocol: Follow the 60/30/10 rule for palette distribution to ensure hierarchy. Avoid the "AI Rainbow" (too many accent colors). Use color-mix() for subtle variations.

3. Tailwind 4 CSS-First Configuration

  • Rule: The tailwind.config.js is deprecated. Use @theme blocks in CSS.
  • Protocol: Centralize tokens as native CSS variables in a packages/design-tokens package for runtime interoperability.

3. Headless UI & Radix Integration

  • Rule: Avoid "Themed Components" that bundle styles. Use headless logic (Radix) and apply semantic utility classes.
  • Protocol: Ensure all components support high-contrast modes and respect prefers-reduced-motion.

4. Documentation-as-Code (DaC)

  • Rule: Documentation must be a side-effect of the code, not a manual task.
  • Protocol: Use JSON-LD or typed JSON files as the source of truth for tokens, transformed via Style Dictionary for CSS, Android, and iOS.

🧼 Impeccable Normalization Protocol

Before finalizing any design system contribution:

  1. Discover & Mimic: Search for existing patterns. NEVER create a "one-off" component if a system equivalent exists.
  2. Drift Detection: Identify hard-coded values and "normalize" them back into semantic tokens.
  3. AI Slop Audit: Ensure the tokens don't encourage "AI Standard" aesthetics (e.g., generic purple-to-blue gradients).
  4. Resilience Test: Verify tokens in extreme contexts (High Contrast, RTL, Low-bandwidth fonts).

🚀 Show, Don't Just Tell (Implementation Patterns)

Tailwind 4 CSS-First Theme

packages/design-tokens/src/base.css:

@import "tailwindcss";

@theme {
  /* Primitive Scale */
  --color-blue-500: #3b82f6;

  /* Semantic Layer */
  --color-brand-primary: var(--color-blue-500);
  --color-action-hover: color-mix(in srgb, var(--color-brand-primary), black 10%);

  /* Component Layer */
  --button-radius: var(--radius-lg);
}

Semantic Component Usage (React 19 + Radix)

import * as Tooltip from "@radix-ui/react-tooltip";

export function CustomTooltip({ children, content }: { children: React.ReactNode, content: string }) {
  return (
    <Tooltip.Root>
      <Tooltip.Trigger asChild>{children}</Tooltip.Trigger>
      <Tooltip.Content
        // Using semantic Tailwind 4 classes
        className="bg-brand-primary text-white p-2 rounded-button shadow-xl animate-in fade-in"
      >
        {content}
        <Tooltip.Arrow className="fill-brand-primary" />
      </Tooltip.Content>
    </Tooltip.Root>
  );
}

🛡️ The Do Not List (Anti-Patterns)

  1. DO NOT hardcode hex codes or pixel values in components. Always use tokens.
  2. DO NOT create "Component Overrides" via deep CSS nesting. Use CSS variables.
  3. DO NOT ignore the accessibility of your color tokens. Check contrast ratios at the "Semantic" layer.
  4. DO NOT build a design system without a dedicated "Sandbox" (Storybook or internal docs).
  5. DO NOT mix naming conventions. If you use camelCase for variables, don't use kebab-case for tokens.

📂 Progressive Disclosure (Deep Dives)


🛠️ Specialized Tools & Scripts

  • scripts/validate-contrast.py: Audits the semantic token list for WCAG 2.2 compliance.
  • scripts/generate-theme-json.ts: Exports the CSS @theme block into a JSON format for mobile apps.

🎓 Learning Resources


*Updated: January 23, 2026 - 21:55*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.76%
按下载量换算43

Claude

31.69%
按下载量换算39

Cursor

17.99%
按下载量换算22

Gemini CLI

8.67%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills