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

arco-design阿科设计

Agent Skill

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

总安装

2,256

周安装

94

GitHub Stars

29

下载量

752
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/arco-design/arco-design-skill --skill arco-design

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化,适合生成 UI 方案或检查组件层级一致性。

  • 适用于 React 项目中使用 @arco-design/web-react 组件库的场景,需遵循特定导入、图标和样式约定。
  • 可帮助整理页面结构、生成生产级代码片段,并支持响应式表现检查。
  • 安装命令为 npx skills add https://github.com/arco-design/arco-design-skill --skill arco-design。
  • 涉及真实页面改动时应通过截图或浏览器预览确认文本溢出、对齐和移动端适配效果。

SKILL.md

Arco Design React — Skills Reference

@arco-design/web-react — An enterprise-level React UI component library by ByteDance.

Critical Conventions

Always follow these rules when writing Arco Design code:

  • Imports: import {Button, Table, Form} from '@arco-design/web-react' — always from the package root, never from sub-paths like @arco-design/web-react/es/Button
  • Icons: import {IconSearch, IconPlus} from '@arco-design/web-react/icon'
  • Types: import type {TableProps, FormInstance} from '@arco-design/web-react'
  • Styles: import '@arco-design/web-react/dist/css/arco.css' (full) or configure on-demand loading
  • Date library: dayjs (NOT moment.js)
  • Controlled mode: value + onChange; Uncontrolled: defaultValue
  • Sub-components: accessed via Component.Sub pattern — Form.Item, Select.Option, Menu.SubMenu, Input.Search, Input.TextArea, Grid.Row, Grid.Col
  • Form.Item uses field prop (not name like Ant Design)
  • Switch in Form requires triggerPropName="checked"

Skill Index

Load the relevant file below for full API reference, code examples, and best practices.

Setup & Configuration

TopicFileWhen to use
Installationgetting-started.mdInstall @arco-design/web-react, import styles, configure tree-shaking or babel-plugin-import
Global Configconfig-provider.mdSet global component size, theme, locale, default props via <ConfigProvider>
Themingtheming.mdCustom theme colors, CSS variable overrides, Less variables, dark mode toggle
Internationalizationinternationalization.mdSwitch languages, add locale packs, customize locale text
Architecturearchitecture.mdUnderstand controlled/uncontrolled patterns, props merging, ref forwarding, CSS naming

General Components

ComponentFileUse for
Buttonbutton.mdButtons, button groups, icon buttons, loading state
Iconicon.mdBuilt-in icons (IconXxx), custom SVG icons, IconFont
Typographytypography.mdHeadings, paragraphs, text ellipsis, copyable/editable text
Linklink.mdHyperlinks with icon, hover states
Dividerdivider.mdHorizontal/vertical dividers, dividers with text

Layout

ComponentFileUse for
Gridgrid.md24-column Row/Col grid, responsive breakpoints (xs/sm/md/lg/xl/xxl), gutter
Layoutlayout.mdPage skeleton: Header, Sider, Content, Footer, collapsible sidebar
Spacespace.mdConsistent spacing between elements, horizontal/vertical, wrap

Navigation

ComponentFileUse for
Menumenu.mdSidebar nav, top nav bar, sub-menus, menu groups, collapsible
Tabstabs.mdTab switching, card tabs, editable/closable tabs, extra content
Dropdowndropdown.mdDropdown menus, context menus, button dropdowns
Breadcrumbbreadcrumb.mdNavigation hierarchy path, route breadcrumbs
Paginationpagination.mdPage navigation, size changer, simple/mini mode
Stepssteps.mdStep-by-step workflows, vertical/dot steps, error state
Affixaffix.mdPin element to viewport on scroll
Anchoranchor.mdIn-page anchor navigation, scroll-to-section
PageHeaderpage-header.mdPage title + back button + breadcrumb + actions

Data Entry

ComponentFileUse for
Formform.mdForm building, validation, Form.Item (uses field prop), Form.List, useForm hook
Inputinput.mdText input, Input.Password, Input.Search, Input.TextArea, prefix/suffix
Selectselect.mdDropdown select, multi-select, search, remote search, Select.Option, virtual scroll
DatePickerdate-picker.mdDate/range picker (RangePicker), week/month/quarter/year, disabled dates (dayjs)
TimePickertime-picker.mdTime selection, range, 12h format, step intervals
InputNumberinput-number.mdNumeric input, stepper, precision, min/max
Checkboxcheckbox.mdMulti-select, Checkbox.Group, select all / indeterminate
Radioradio.mdSingle select, Radio.Group, button-style radio
Switchswitch.mdToggle switch, loading, text labels (use triggerPropName="checked" in Form)
Sliderslider.mdRange slider, marks, vertical, step, tooltip format
Raterate.mdStar rating, half-star, readonly, custom characters
Cascadercascader.mdMulti-level cascade (province/city), remote load, search
TreeSelecttree-select.mdSelect from tree structure, checkable, searchable, async load
Transfertransfer.mdTransfer items between two lists, search, simple mode
AutoCompleteauto-complete.mdInput autocomplete, search suggestions
Mentionsmentions.md@mention users/topics in text input
InputTaginput-tag.mdTag input, add/remove tags, drag sort
Uploadupload.mdFile upload, drag-and-drop, image upload with preview
ColorPickercolor-picker.mdColor selection (hex/rgb/hsl)
VerificationCodeverification-code.mdOTP / verification code input

Data Display

ComponentFileUse for
Tabletable.mdData tables, sort, filter, pagination, fixed columns/header, virtual scroll, row selection, expandable rows
Listlist.mdData lists, paginated, virtual scroll, grid layout
Cardcard.mdCard containers, cover, Card.Grid, Card.Meta, actions
Treetree.mdTree structure, checkable, draggable, virtual scroll, async load
Tooltiptooltip.mdHover text hints (for rich content use Popover)
Popoverpopover.mdClick/hover popup cards with rich content
Avataravatar.mdUser avatars, avatar groups, image/text/icon avatars
Badgebadge.mdNumeric badges, status dots, count indicators
Tagtag.mdStatus tags, closable, Tag.CheckableTag, colored tags
Carouselcarousel.mdImage carousels, slideshows
Collapsecollapse.mdCollapsible panels, accordion mode, FAQ
Descriptionsdescriptions.mdKey-value detail display, bordered, responsive columns
Calendarcalendar.mdCalendar view, event marking
Commentcomment.mdComment display, nested replies, actions
Emptyempty.mdEmpty state placeholder
Imageimage.mdImage display, preview, lazy load, Image.PreviewGroup
Statisticstatistic.mdNumeric display, countdown, trend indicators
Timelinetimeline.mdTimelines, activity feeds, changelog

Feedback

ComponentFileUse for
Modalmodal.mdModal dialogs, Modal.confirm(), useModal hook, form-in-modal
Messagemessage.mdGlobal toast: Message.success(), error(), warning(), loading()
Notificationnotification.mdRich notification toasts with title + content + actions
Drawerdrawer.mdSlide-out side panels, form editing, nested drawers
Alertalert.mdInline alert banners (info/success/warning/error), banner mode
Progressprogress.mdLinear/circular progress bars, step progress
Popconfirmpopconfirm.mdLightweight confirmation popup before delete/submit
Resultresult.mdResult pages (success/fail/403/404/500)
Skeletonskeleton.mdLoading skeleton placeholders with animation
Spinspin.mdLoading spinner wrapping content

Other

ComponentFileUse for
BackTopback-top.mdScroll-to-top button
Portalportal.mdRender children into different DOM node
ResizeBoxresize-box.mdResizable containers, split panes
Triggertrigger.mdBase popup positioning (underlies Tooltip/Popover/Dropdown)
Watermarkwatermark.mdText/image watermarks over page content

Patterns & Best Practices

TopicFileWhen to use
Form Patternsform-patterns.mdDynamic forms, linked validation, nested forms, async submit, complex layouts
Table Patternstable-patterns.mdRemote data, editable rows, virtual scroll large data, custom filters
Modal Patternsmodal-patterns.mdForm-in-modal, confirmation flows, nested drawers, global messages
Controlled vs Uncontrolledcontrolled-uncontrolled.mdChoosing value+onChange vs defaultValue pattern
Responsive Designresponsive-design.mdGrid breakpoints, adaptive layout, mobile-friendly design

Hooks

Import from @arco-design/web-react/hooks. Use these headless hooks only when you need a fully custom UI — otherwise prefer the corresponding component.

HookFileUse for
useVerificationCodeuse-verification-code.mdCustom OTP input with focus, paste, keyboard navigation
useWatermarkuse-watermark.mdDynamic canvas watermark with tamper protection

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.26%
按下载量换算258

Claude

32.77%
按下载量换算246

Cursor

17.71%
按下载量换算133

Gemini CLI

9.54%
按下载量换算72

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills