Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

element-plus-skills元素加技能

Agent Skill

element-plus-skills 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,508

周安装

61

GitHub Stars

4

下载量

473
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jiaiyan/element-plus-skills --skill element-plus-skills

简介

element-plus-skills 提供 Element Plus UI 组件库的综合技能支持,帮助 AI Agent 理解和使用其组件。

  • 适用于实现 Element Plus 组件、配置主题、国际化或处理设计规范等前端开发场景。
  • 通过 npx skills add 命令从 GitHub 安装,需确认仓库权限与网络访问能力。
  • 使用前应核实维护状态及是否涉及文件读写、命令执行等敏感操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Element Plus Skills Library

A comprehensive skill library for Element Plus UI framework, designed for AI agents to understand and utilize Element Plus components effectively.

When to Invoke

Invoke this skill when:

  • User needs to implement any Element Plus component
  • User asks about Element Plus configuration or setup
  • User wants to customize themes or use dark mode
  • User needs internationalization (i18n) support
  • User asks about design specifications (colors, borders, typography)
  • User encounters issues with Element Plus components

Skill Library Overview

This library contains 88 skills organized into the following categories:

CategoryCountDescriptionPath Pattern
Component Skills77Individual component documentation./components/el-{name}/SKILL.md
Design Specifications5Border, Color, Layout, Typography, Overview./element-plus-design-{name}/SKILL.md
Foundation Skills6Quickstart, Theming, i18n, Dark Mode, SSR, Components./element-plus-{name}/SKILL.md

How to Locate Skills

1. Component Skills (77 skills)

All component skills follow the naming convention el-{component-name} and are located in the components/ directory.

Path Pattern:

./components/el-{component-name}/SKILL.md

Examples:

  • Button: ./components/el-button/SKILL.md
  • Form: ./components/el-form/SKILL.md
  • Table: ./components/el-table/SKILL.md
  • Dialog: ./components/el-dialog/SKILL.md

2. Design Specification Skills (5 skills)

Design skills provide guidance on Element Plus design system.

Skill NamePathDescription
Border./element-plus-design-border/SKILL.mdBorder styles, radius, shadows
Color./element-plus-design-color/SKILL.mdColor palette and semantics
Layout./element-plus-design-layout/SKILL.md24-column grid system
Typography./element-plus-design-typography/SKILL.mdFont conventions
Overview./element-plus-design-overview/SKILL.mdDesign system overview

3. Foundation Skills (6 skills)

Foundation skills cover core setup and configuration.

Skill NamePathDescription
Quickstart./element-plus-quickstart/SKILL.mdInstallation and setup
Theming./element-plus-theming/SKILL.mdTheme customization
i18n./element-plus-i18n/SKILL.mdInternationalization
Dark Mode./element-plus-dark-mode/SKILL.mdDark mode implementation
SSR./element-plus-ssr/SKILL.mdServer-side rendering
Components./element-plus-components/SKILL.mdComponent overview index

Skill Invocation Guide

Step 1: Identify User Intent

Analyze the user's request to determine which skill category is needed:

User Request PatternSkill CategoryExample Skill
"Create a button/form/table..."Componentel-button, el-form, el-table
"How to set up Element Plus"Foundationelement-plus-quickstart
"Customize theme colors"Foundationelement-plus-theming
"Add multi-language support"Foundationelement-plus-i18n
"Implement dark mode"Foundationelement-plus-dark-mode
"What colors are available?"Designelement-plus-design-color
"How does the grid work?"Designelement-plus-design-layout

Step 2: Locate the Skill File

Use the path patterns above to locate the appropriate skill file:

# For component skills
./components/el-{component-name}/SKILL.md

# For design skills
./element-plus-design-{name}/SKILL.md

# For foundation skills
./element-plus-{name}/SKILL.md

Step 3: Read and Apply Skill Content

Each skill file contains:

  • When to Invoke: Specific conditions for using the skill
  • Features: Component capabilities and options
  • API Reference: Attributes, events, slots, exposes
  • Usage Examples: Code snippets for common patterns
  • Best Practices: Recommended implementation guidelines

Component Skill Index

Basic Components (14)

ComponentSkill PathDescription
Affix./components/el-affix/SKILL.mdSticky positioning
Alert./components/el-alert/SKILL.mdAlert messages
Anchor./components/el-anchor/SKILL.mdAnchor navigation
Avatar./components/el-avatar/SKILL.mdUser avatars
Backtop./components/el-backtop/SKILL.mdBack to top button
Badge./components/el-badge/SKILL.mdBadges and marks
Breadcrumb./components/el-breadcrumb/SKILL.mdBreadcrumb navigation
Button./components/el-button/SKILL.mdButtons
Card./components/el-card/SKILL.mdCard containers
Carousel./components/el-carousel/SKILL.mdImage carousels
Collapse./components/el-collapse/SKILL.mdCollapsible panels
Divider./components/el-divider/SKILL.mdDividing lines
Icon./components/el-icon/SKILL.mdSVG icons
Link./components/el-link/SKILL.mdText links
Text./components/el-text/SKILL.mdStyled text

Form Components (24)

ComponentSkill PathDescription
Autocomplete./components/el-autocomplete/SKILL.mdInput with suggestions
Cascader./components/el-cascader/SKILL.mdCascading selection
Checkbox./components/el-checkbox/SKILL.mdCheckboxes
ColorPicker./components/el-color-picker/SKILL.mdColor picker
ColorPicker Panel./components/el-color-picker-panel/SKILL.mdColor picker panel
DatePicker./components/el-date-picker/SKILL.mdDate picker
DatePicker Panel./components/el-date-picker-panel/SKILL.mdDate picker panel
DateTimePicker./components/el-datetime-picker/SKILL.mdDate time picker
Form./components/el-form/SKILL.mdForm management
Input./components/el-input/SKILL.mdText input
InputNumber./components/el-input-number/SKILL.mdNumber input
InputTag./components/el-input-tag/SKILL.mdTag input
Mention./components/el-mention/SKILL.mdMention input
Radio./components/el-radio/SKILL.mdRadio buttons
Rate./components/el-rate/SKILL.mdStar rating
Select./components/el-select/SKILL.mdDropdown select
Select V2./components/el-select-v2/SKILL.mdVirtualized select
Slider./components/el-slider/SKILL.mdSlider input
Switch./components/el-switch/SKILL.mdToggle switch
TimePicker./components/el-time-picker/SKILL.mdTime picker
TimeSelect./components/el-time-select/SKILL.mdTime select
Transfer./components/el-transfer/SKILL.mdTransfer panels
TreeSelect./components/el-tree-select/SKILL.mdTree select
Upload./components/el-upload/SKILL.mdFile upload

Data Display Components (17)

ComponentSkill PathDescription
Calendar./components/el-calendar/SKILL.mdCalendar view
Descriptions./components/el-descriptions/SKILL.mdDescription list
Empty./components/el-empty/SKILL.mdEmpty state
Image./components/el-image/SKILL.mdImage with preview
Pagination./components/el-pagination/SKILL.mdPagination
Progress./components/el-progress/SKILL.mdProgress bar
Result./components/el-result/SKILL.mdResult page
Skeleton./components/el-skeleton/SKILL.mdLoading skeleton
Table./components/el-table/SKILL.mdData table
Table V2./components/el-table-v2/SKILL.mdVirtualized table
Tag./components/el-tag/SKILL.mdTags
Timeline./components/el-timeline/SKILL.mdTimeline
Tree./components/el-tree/SKILL.mdTree view
Tree V2./components/el-tree-v2/SKILL.mdVirtualized tree
Statistic./components/el-statistic/SKILL.mdStatistics display
Segmented./components/el-segmented/SKILL.mdSegmented control

Navigation Components (8)

ComponentSkill PathDescription
Dropdown./components/el-dropdown/SKILL.mdDropdown menu
Menu./components/el-menu/SKILL.mdNavigation menu
PageHeader./components/el-page-header/SKILL.mdPage header
Steps./components/el-steps/SKILL.mdSteps guide
Tabs./components/el-tabs/SKILL.mdTabs

Feedback Components (12)

ComponentSkill PathDescription
Dialog./components/el-dialog/SKILL.mdModal dialog
Drawer./components/el-drawer/SKILL.mdDrawer panel
Loading./components/el-loading/SKILL.mdLoading overlay
Message./components/el-message/SKILL.mdToast message
MessageBox./components/el-message-box/SKILL.mdMessage box
Notification./components/el-notification/SKILL.mdNotification
Popconfirm./components/el-popconfirm/SKILL.mdPopconfirm
Popover./components/el-popover/SKILL.mdPopover
Tooltip./components/el-tooltip/SKILL.mdTooltip
Tour./components/el-tour/SKILL.mdProduct tour

Layout Components (4)

ComponentSkill PathDescription
Container./components/el-container/SKILL.mdLayout container
Space./components/el-space/SKILL.mdSpacing
Splitter./components/el-splitter/SKILL.mdSplit panels

Utility Components (5)

ComponentSkill PathDescription
ConfigProvider./components/el-config-provider/SKILL.mdGlobal config
InfiniteScroll./components/el-infinite-scroll/SKILL.mdInfinite scroll
Scrollbar./components/el-scrollbar/SKILL.mdCustom scrollbar
Watermark./components/el-watermark/SKILL.mdWatermark

Usage Examples

Example 1: User asks about button implementation

User Request: "How do I create a primary button with loading state?"

Agent Action:

  1. Identify intent: Component skill - Button
  2. Locate skill: ./components/el-button/SKILL.md
  3. Read skill content
  4. Provide response with API reference and code example

Response:

<template>
  <el-button type="primary" :loading="loading" @click="handleClick">
    {{ loading ? 'Loading...' : 'Submit' }}
  </el-button>
</template>

<script setup>
import { ref } from 'vue'

const loading = ref(false)

const handleClick = async () => {
  loading.value = true
  try {
    await submitData()
  } finally {
    loading.value = false
  }
}
</script>

Example 2: User asks about form validation

User Request: "How do I create a form with validation?"

Agent Action:

  1. Identify intent: Component skill - Form
  2. Locate skill: ./components/el-form/SKILL.md
  3. Read skill content
  4. Provide response with validation example

Response:

<template>
  <el-form :model="form" :rules="rules" ref="formRef">
    <el-form-item label="Name" prop="name">
      <el-input v-model="form.name" />
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="submitForm">Submit</el-button>
    </el-form-item>
  </el-form>
</template>

<script setup>
import { ref, reactive } from 'vue'

const formRef = ref()
const form = reactive({
  name: ''
})

const rules = {
  name: [
    { required: true, message: 'Please input name', trigger: 'blur' }
  ]
}

const submitForm = async () => {
  await formRef.value.validate()
  // Submit logic
}
</script>

Example 3: User asks about theme customization

User Request: "How do I customize Element Plus theme colors?"

Agent Action:

  1. Identify intent: Foundation skill - Theming
  2. Locate skill: ./element-plus-theming/SKILL.md
  3. Read skill content
  4. Provide response with CSS variables example

Response:

:root {
  --el-color-primary: #409eff;
  --el-color-success: #67c23a;
  --el-color-warning: #e6a23c;
  --el-color-danger: #f56c6c;
  --el-color-info: #909399;
}

Example 4: User asks about dark mode

User Request: "How do I implement dark mode in Element Plus?"

Agent Action:

  1. Identify intent: Foundation skill - Dark Mode
  2. Locate skill: ./element-plus-dark-mode/SKILL.md
  3. Read skill content
  4. Provide response with implementation example

Response:

<template>
  <el-config-provider :locale="locale" :size="size">
    <div :class="{ 'dark': isDark }">
      <App />
    </div>
  </el-config-provider>
</template>

<style>
.dark {
  color-scheme: dark;
}
</style>

Configuration Requirements

Prerequisites

Before using this skill library, ensure:

  1. Vue 3.3+ is installed
  2. Element Plus 2.4+ is installed
  3. Node.js 18+ for development

Installation

npm install element-plus
npm install @element-plus/icons-vue

TypeScript Support

Add to tsconfig.json:

{
  "compilerOptions": {
    "types": ["element-plus/global"]
  }
}

Input Parameters

When invoking skills, consider these parameters:

ParameterTypeDescriptionRequired
componentstringComponent name (e.g., "button", "form")Yes
featurestringSpecific feature needed (e.g., "validation", "loading")No
contextobjectAdditional context (framework, TypeScript usage)No

Output Format

Each skill provides:

  1. API Reference: Complete attributes, events, slots, exposes
  2. Code Examples: Working code snippets
  3. Best Practices: Recommended implementation patterns
  4. Common Issues: Troubleshooting tips
  5. Component Interactions: How to use with other components

Important Notes

1. Skill Priority

When multiple skills could apply, prioritize in this order:

  1. Component-specific skills (most specific)
  2. Foundation skills (configuration)
  3. Design specification skills (guidelines)

2. Cross-References

Many skills reference related skills. Always check:

  • Related components in the same category
  • Foundation skills for configuration
  • Design skills for styling guidelines

3. Version Compatibility

This skill library is based on Element Plus 2.4+. Some features may not be available in earlier versions.

4. Naming Conventions

  • Component skills use el-{name} format (matches Vue component tags)
  • Foundation skills use element-plus-{name} format
  • Design skills use element-plus-design-{name} format

5. File Structure

element-plus-skills/
├── SKILL.md                          # This file (main entry)
├── README.md                         # English documentation
├── README_CN.md                      # Chinese documentation
├── AGENTS.md                         # Agents documentation
├── components/                       # 77 component skills
│   ├── el-button/
│   │   └── SKILL.md
│   ├── el-form/
│   │   └── SKILL.md
│   └── ...
├── element-plus-quickstart/          # Foundation skills
├── element-plus-theming/
├── element-plus-i18n/
├── element-plus-dark-mode/
├── element-plus-ssr/
├── element-plus-components/
├── element-plus-design-border/       # Design skills
├── element-plus-design-color/
├── element-plus-design-layout/
├── element-plus-design-typography/
└── element-plus-design-overview/

Best Practices for Agents

  1. Always start with this file when user mentions Element Plus
  2. Locate the specific skill based on user intent
  3. Read the complete skill file before responding
  4. Provide code examples from the skill documentation
  5. Reference related skills when applicable
  6. Include best practices from the skill content
  7. Mention common issues if relevant to user's context

Related Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.97%
按下载量换算175

Claude

27.85%
按下载量换算132

Cursor

17.89%
按下载量换算85

Gemini CLI

8.74%
按下载量换算41

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills