Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计通过

ant-design-knowledge-baseANT 设计知识 base

Agent Skill

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

总安装

303

周安装

13

GitHub Stars

公开资料未说明

下载量

106
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ant-design-knowledge-base(ANT 设计知识 base)
来源仓库:https://github.com/lyq-lin/ycode.cli
仓库路径:skills/ant-design-knowledge-base
安装命令:
npx skills add https://github.com/lyq-lin/ycode.cli --skill ant-design-knowledge-base
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lyq-lin/ycode.cli --skill ant-design-knowledge-base

简介

用于访问本地 Ant Design 文档和语义描述,支持组件规范和 CSS 类结构查询。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要快速获取官方设计资源时使用。
  • 使用时可读取 llms.txt 等知识库文件,获取组件链接、设计值和模式指南。
  • 安装前建议确认权限范围和维护状态,以及是否会触发联网、命令执行或文件读写。
  • 可通过 GitHub 仓库获取具体用法,建议结合原始 README 和示例脚本进一步验证功能。

SKILL.md

Ant Design Knowledge Base

Overview

This skill provides access to local Ant Design documentation and semantic descriptions sourced from the official Ant Design website. The knowledge base includes:

  1. Component Documentation: Links to all Ant Design component documentation pages
  2. Design Resources: Links to design specifications, values, patterns, and guidelines
  3. Semantic Descriptions: Detailed semantic descriptions of each component's CSS class structure (root, icon, title, etc.)

Knowledge Base Files

The following files are available in the knowledge-base/ directory:

  • llms.txt: Contains documentation links and component overview
  • llms-full.txt: Contains detailed semantic descriptions of all Ant Design components

How to Use This Knowledge Base

Finding Information

When asked about Ant Design components, documentation, or semantics:

  1. Search for component names: Use Grep to find relevant lines in the knowledge base files: Grep("Button", "knowledge-base/llms.txt") Grep("button", "knowledge-base/llms-full.txt")
  2. Read specific sections: Use Read to view the full content or specific lines: Read("knowledge-base/llms-full.txt", offset=40, limit=50) # Example for button component
  3. Browse all components: Use Glob to list available files: Glob("knowledge-base/*.txt")

File Structure Details

llms.txt contains:

  • Introduction to Ant Design
  • Semantic descriptions link
  • Documentation links (Resources, Visualization, Design Values, etc.)
  • Component links (Affix through Watermark)

llms-full.txt contains:

  • Semantic descriptions for 64 Ant Design components
  • For each component: root element and sub-element descriptions with CSS styling purposes

Common Queries

Component Questions

When asked about a specific component (e.g., "Button", "Table", "Form"):

  1. Search for the component in both files: Grep("button", "knowledge-base/llms.txt", -i) Grep("### button", "knowledge-base/llms-full.txt", -i)
  2. Read the semantic description section for that component
  3. Provide the component's purpose, semantic elements, and documentation link

Documentation Questions

When asked about design principles, values, or guidelines:

  1. Search for relevant terms in llms.txt: Grep("Design Values", "knowledge-base/llms.txt") Grep("Visualization", "knowledge-base/llms.txt")
  2. Provide the documentation links and summaries

Semantic Description Questions

When asked about component structure or CSS classes:

  1. Find the component in llms-full.txt: Grep("### button", "knowledge-base/llms-full.txt", -A 20)
  2. Extract and explain the semantic elements (root, icon, title, etc.)
  3. Describe the styling purposes of each element

Examples

Example 1: Button Component Query

User: "What are the semantic elements of the Ant Design Button component?"

Approach:

  1. Search for button in semantic descriptions: Grep("### button", "knowledge-base/llms-full.txt", -A 10)
  2. Read the button section: Read("knowledge-base/llms-full.txt", offset=42, limit=8)
  3. Present the root, content, and icon elements with their styling purposes.

Example 2: Component Documentation Query

User: "Where can I find documentation for Ant Design Table component?"

Approach:

  1. Search for Table in component links: Grep("Table", "knowledge-base/llms.txt")
  2. Provide the documentation URL and related resources.

Example 3: Design Principles Query

User: "What are the Ant Design design values?"

Approach:

  1. Search for Design Values link: Grep("Design Values", "knowledge-base/llms.txt")
  2. Provide the link and summary from the knowledge base.

Notes

  • The knowledge base is in Chinese for semantic descriptions, but component names are in English.
  • Some documentation links may require internet access to view full content.
  • The semantic descriptions are focused on CSS class structure and styling purposes.

Skill Activation

This skill will automatically activate when questions include terms like:

  • "Ant Design"
  • "antd"
  • "React UI components"
  • "component semantics"
  • "design system"
  • Specific component names (Button, Table, Form, etc.)

When activated, Claude has permission to use Read, Grep, and Glob tools to access the knowledge base files in the knowledge-base/ directory.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Cursor

32.24%
按下载量换算34

Claude Code

22.39%
按下载量换算24

OpenCode

19%
按下载量换算20

Codex

11.67%
按下载量换算12

cline

7.77%
按下载量换算8

github-copilot

3.59%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills