Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计提醒

ds-pro-maxDS 专业版 MAX

Agent Skill

ds-pro-max 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

222

周安装

9

GitHub Stars

1

下载量

70
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/kyirexy/designsystem-pro-max-skill --skill ds-pro-max

简介

ds-pro-max 提供设计系统规格的检索与查询能力,适合在构建 UI 组件或规范文档时快速获取样式、令牌和最佳实践。

  • 它支持按框架、语言和组件类型筛选信息,并生成合规代码片段。
  • 使用时需先确保 Python 环境就绪,再根据任务请求搜索或审计设计资产。
  • 安装前请检查本地 Python 版本及所需依赖是否已满足。
  • ds-pro-max 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

DesignSystem-Pro-Max - Design System Intelligence

Searchable database of design system specifications, component guidelines, color tokens, typography scales, and framework-specific best practices.

Prerequisites

Check if Python is installed:

python3 --version || python --version

If Python is not installed, install it based on user's OS:

macOS:

brew install python3

Ubuntu/Debian:

sudo apt update && sudo apt install python3

Windows:

winget install Python.Python.3.12

How to Use This Skill

When user requests design system work (search specs, generate code, audit compliance), follow this workflow:

Step 1: Analyze User Requirements

Extract key information from user request:

  • Component type: Button, Input, Modal, Table, etc.
  • Framework: AntD, Material-UI, Bootstrap, Tailwind, Chakra, Elements, Figma
  • Task type: Search specs, generate code, audit violations
  • Output format: CSS (primary), component code

Step 2: Search Design Specifications

Use search.py to gather comprehensive information:

python3 .claude/skills/ds-pro-max/scripts/search.py "<keyword>" --domain <domain> [--max-results <n>]
python3 .claude/skills/ds-pro-max/scripts/search.py "<keyword>" --stack <stack> [--max-results <n>]

Available Domains:

DomainUse ForExample Keywords
componentUI component specsbutton, input, modal, table, card, select
colorColor tokensprimary, success, warning, error, theme
typographyFont specsheading, body, font-size, weight, line-height
spacingSpacing tokenspadding, margin, gap, spacing scale
tokensDesign tokensdesign token, CSS variable, theme

Available Stacks:

StackFrameworkDocs
react-antdAnt Design (React)https://ant.design
material-uiMaterial-UI (MUI)https://mui.com
figma-tokensFigma Design Tokenshttps://figma.com
bootstrapBootstrap CSShttps://getbootstrap.com
tailwindTailwind CSShttps://tailwindcss.com
chakraChakra UIhttps://chakra-ui.com
elementsAdobe I/O Elementshttps://opensource.adobe.com

Step 3: Generate Compliant Code

Use generate.py to generate CSS code based on specifications:

python3 .claude/skills/ds-pro-max/scripts/generate.py "<query>" --stack <stack> --output <file.css>

Example:

# Generate color token CSS for Ant Design
python3 .claude/skills/ds-pro-max/scripts/generate.py "primary color tokens" --stack react-antd --output colors.css

# Generate spacing scale for Tailwind
python3 .claude/skills/ds-pro-max/scripts/generate.py "spacing scale" --stack tailwind --output spacing.css

Step 4: Audit Code for Compliance

Use audit.py to check code for design system compliance:

python3 .claude/skills/ds-pro-max/scripts/audit.py <file.css> --stack <stack>

Audit checks include:

  • Naming conventions (kebab-case, CSS variables)
  • Property value validity (colors, spacing tokens)
  • Accessibility (color contrast, focus states)
  • Best practices (shorthands, specificity)

Example Workflows

Example 1: Create a Primary Button

User request: "Create a primary button using Ant Design"

AI should:

# 1. Search component specs
python3 .claude/skills/ds-pro-max/scripts/search.py "primary button" --domain component --stack react-antd

# 2. Search color specs
python3 .claude/skills/ds-pro-max/scripts/search.py "primary color" --domain color --stack react-antd

# 3. Generate CSS if needed
python3 .claude/skills/ds-pro-max/scripts/generate.py "primary button styles" --stack react-antd --output button.css

Then: Synthesize results and implement:

import { Button } from 'antd';

<Button type="primary">Primary Button</Button>

Example 2: Migrate Bootstrap to Tailwind

User request: "Convert Bootstrap button to Tailwind"

AI should:

# 1. Search Bootstrap button spec
python3 .claude/skills/ds-pro-max/scripts/search.py "button" --stack bootstrap

# 2. Search Tailwind button spec
python3 .claude/skills/ds-pro-max/scripts/search.py "button utility classes" --stack tailwind

# 3. Generate Tailwind CSS
python3 .claude/skills/ds-pro-max/scripts/generate.py "button styles" --stack tailwind --output tailwind-button.css

Then: Provide migration:

<!-- Before (Bootstrap) -->
<button class="btn btn-primary">Click</button>

<!-- After (Tailwind) -->
<button class="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600">Click</button>

Example 3: Audit CSS for Compliance

User request: "Check this CSS for Ant Design compliance"

AI should:

# Audit the CSS file
python3 .claude/skills/ds-pro-max/scripts/audit.py styles.css --stack react-antd

Then: Report violations with fixes:

/* Violation: Using non-standard color */
.btn-primary { background: #1890; }
/* Fix: Use standard color token */
.btn-primary { background: var(--primary-color); }

Common Design System Rules

Naming Conventions

RuleDoDon't
CSS variables--primary-color, --spacing-md$primaryColor, PRIMARY_COLOR
Kebab-caseprimary-button, font-size-lgprimaryButton, font_size_lg
Semantic names--color-success, --spacing-content--color-green, --spacing-16px

Color Tokens

RuleDoDon't
Use variablescolor: var(--primary-color)color: #1890ff
Semantic names--color-primary, --color-error--color-blue, --color-red
Contrast ratios4.5:1 minimum for textLow contrast colors

Spacing Scale

RuleDoDon't
Consistent base4px, 8px, 12px, 16px, 24px5px, 7px, 9px, 11px
Use tokenspadding: var(--spacing-md)padding: 16px
Semantic names--spacing-content, --spacing-section--spacing-16

Accessibility

RuleDoDon't
Focus statesAlways define :focus stylesSkip focus indicators
Color contrast4.5:1 for normal text, 3:1 for largeLow contrast ratios
ARIA labelsAdd aria-label for icon buttonsRely on visuals only
Keyboard navEnsure all interactive elements workMouse-only interactions

Pre-Delivery Checklist

Before delivering design system code, verify:

Compliance

  • All colors use CSS variables/tokens
  • Spacing follows the defined scale
  • Naming follows framework conventions
  • Component props match framework API

Accessibility

  • Color contrast meets WCAG AA (4.5:1)
  • Focus states are visible
  • ARIA labels present where needed
  • Keyboard navigation works

Best Practices

  • No hardcoded values (use tokens)
  • Consistent naming across files
  • Proper component composition
  • Framework-specific patterns followed

Tips for Better Results

  1. Be specific - "AntD primary button" > "button"
  2. Use stack flag - Get framework-specific guidelines
  3. Search multiple domains - Component + Color + Typography = Complete spec
  4. Generate before implementing - Get CSS structure from generate.py
  5. Audit your code - Check for violations before delivery
  6. Reference official docs - Always link to framework documentation

CLI Reference

search.py

python3 scripts/search.py "<query>" [options]

Options:
  --domain, -d    Domain to search (component, color, typography, spacing, tokens)
  --stack, -s     Stack to search (react-antd, material-ui, figma-tokens, etc.)
  --max-results, -n  Maximum results (default: 3)
  --json          Output as JSON
  --list-domains  List available domains
  --list-stacks   List available stacks

generate.py

python3 scripts/generate.py "<query>" [options]

Options:
  --stack, -s     Stack for code generation (required)
  --output, -o    Output file path (required)
  --format, -f    Output format (default: css)

audit.py

python3 scripts/audit.py <file.css> [options]

Options:
  --stack, -s     Stack for compliance check (required)
  --format, -f    Output format (default: text)
  --fixes         Include suggested fixes

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

27.1%
按下载量换算19

Codex

23.56%
按下载量换算16

windsurf

16.62%
按下载量换算12

trae

11.62%
按下载量换算8

OpenCode

6.86%
按下载量换算5

Cursor

3.47%
按下载量换算2

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills