OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add yunfeizhu/tdesign-vue-next-skill --skill tdesign-vue-next
TDesign Vue 3 component library usage guide, covering tdesign-vue-next 1.x series, including basic components, forms, tables, theme customization, dark mode, and AI Chat components
npx skills add yunfeizhu/tdesign-vue-next-skill --skill tdesign-vue-next
tdesign-vue-next@^1 with Vue 3.3+<script setup> syntaxConfigProvider for theme configuration, avoid directly overriding internal component class namesConfigProvider at the app root for unified configurationtdesign-icons-vue-next icon libraryimport { Button } from 'tdesign-vue-next'@ts-ignore to bypass type checking; consult official type definitions first for type issuesReference)| Trigger Condition | Reference |
|---|---|
Dynamic forms (FormItem add/remove), cross-field validation, async validation | references/form-advanced.md |
| Server-side sorting/filtering/pagination, virtual scroll, editable table, tree table | references/table-advanced.md |
| Remote search, large datasets, paginated loading, custom rendering | references/select-advanced.md |
| Controlled file list, resumable upload, custom upload request | references/upload-advanced.md |
| Async node loading, checkStrictly, virtual scroll | references/tree-advanced.md |
| Async loading, dynamic options, custom panel | references/cascader-advanced.md |
| Dialog/Drawer nesting, imperative calls, close interception | references/dialog-drawer-advanced.md |
| Deep theme customization, dynamic theme switching, component-level style override | references/theming-advanced.md |
| Dark mode toggle, system preference sync, local dark mode | references/dark-mode.md |
| AI chat component, streaming response, custom message rendering | references/chat-advanced.md |
| TDesign Vue Next 1.x version differences, upgrade guide | references/tdesign-v1.md |
Reference index| Topic | Description | Reference |
|---|---|---|
| Version Reference | 1.x version scope, upgrade notes | references/tdesign-v1.md |
| Form Advanced | Dynamic forms, linked validation, async validation | references/form-advanced.md |
| Table Advanced | Virtual scroll, server-side data, editable cells | references/table-advanced.md |
| Select Advanced | Remote search, pagination, custom options | references/select-advanced.md |
| Upload Advanced | Controlled upload, custom request, resumable upload | references/upload-advanced.md |
| Tree Advanced | Async loading, checkStrictly, virtual scroll | references/tree-advanced.md |
| Cascader Advanced | Async loading, dynamic panel | references/cascader-advanced.md |
| Dialog/Drawer Advanced | Nested layers, imperative calls | references/dialog-drawer-advanced.md |
| Theme Customization | CSS variables, Design Token, dynamic theme | references/theming-advanced.md |
| Dark Mode | Mode toggle, system preference, local dark mode | references/dark-mode.md |
| Chat Component | AI chat, streaming response, message rendering | references/chat-advanced.md |
Before providing component recommendations, confirm:
ConfigProvider is configured| Scenario | Recommended Component | Notes |
|---|---|---|
| Simple list display | List | Small data, no complex interaction |
| Complex data table | Table | Supports sorting, filtering, pagination |
| Large data table | Table + virtual-scroll | Enable virtual scroll |
| Tree data selection | TreeSelect | Single/multiple tree selection |
| Cascading selection | Cascader | Multi-level linked selection |
| Simple dropdown | Select | Moderate number of options |
| Remote search select | Select + filterable + remote | Disable local filtering |
| File upload | Upload | Supports drag, multi-file |
| Form collection | Form + FormItem | Unified validation and submit |
| Light notification | Message | Operation feedback, auto-dismiss |
| Important notification | Notification | Requires user confirmation or contains actions |
| Confirmation action | Dialog / Popconfirm | Choose based on context |
| Side panel details | Drawer | Without interrupting page flow |
| AI conversation | Chat | Streaming messages, multi-turn dialogue |
ReferenceWhen identifying trigger conditions from the Complex triggers table, must:
labeltemplate, use computedkey for list rendering<script setup> coderules defined, is validation trigger (trigger) correct, is model two-way binding correctrow-key provide stable unique value, is columns cached with computedfilterable + :filter returns true)v-model:files updating correctly, is action or requestMethod configuredkeys config match data structure, does async load load function return Promisev-model:visible two-way binding, destroyOnClose configured based on scenariotheme-mode attribute added to <html> or root elementtdesign-icons-vue-next