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

tdesign-vue-nexttdesign Vue Next.js 搜索

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,847

周安装

74

GitHub Stars

5

下载量

598
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yunfeizhu/tdesign-vue-next-skill --skill tdesign-vue-next

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码。
  • 使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段。
  • 涉及页面改动时,应配合本地预览和构建检查确认视觉效果。
  • 当前无额外底部简介,可参考来源仓库获取完整功能说明。

SKILL.md

TDesign Vue Next

S - Scope

  • Target: tdesign-vue-next@^1 with Vue 3.3+
  • Cover: Basic components, layout components, navigation components, input components, data display components, feedback components, theme customization, dark mode, Chat component
  • Avoid: Undocumented internal APIs, DOM manipulation hacks, other TDesign tech stacks (React/Miniprogram)

Default assumptions (when not explicitly specified)

  • Language: TypeScript + <script setup> syntax
  • Styling: Use CSS variables and ConfigProvider for theme configuration, avoid directly overriding internal component class names
  • Provider: Use a single ConfigProvider at the app root for unified configuration
  • Icons: Use tdesign-icons-vue-next icon library
  • Imports: Import components on demand import {Button} from 'tdesign-vue-next'

Scope rules (must follow)

  1. Only use APIs documented in TDesign official documentation
  2. Do not invent props, events, or component names
  3. Never use @ts-ignore to bypass type checking; consult official type definitions first for type issues
  4. If encountering potential bugs or documentation-behavior inconsistencies, clearly inform users and guide them to submit an Issue
  5. Example code must be directly runnable, no pseudo-code or ellipsis placeholders

Complex triggers (must open corresponding Reference)

Trigger ConditionReference
Dynamic forms (FormItem add/remove), cross-field validation, async validationreferences/form-advanced.md
Server-side sorting/filtering/pagination, virtual scroll, editable table, tree tablereferences/table-advanced.md
Remote search, large datasets, paginated loading, custom renderingreferences/select-advanced.md
Controlled file list, resumable upload, custom upload requestreferences/upload-advanced.md
Async node loading, checkStrictly, virtual scrollreferences/tree-advanced.md
Async loading, dynamic options, custom panelreferences/cascader-advanced.md
Dialog/Drawer nesting, imperative calls, close interceptionreferences/dialog-drawer-advanced.md
Deep theme customization, dynamic theme switching, component-level style overridereferences/theming-advanced.md
Dark mode toggle, system preference sync, local dark modereferences/dark-mode.md
AI chat component, streaming response, custom message renderingreferences/chat-advanced.md
TDesign Vue Next 1.x version differences, upgrade guidereferences/tdesign-v1.md

Reference index

TopicDescriptionReference
Version Reference1.x version scope, upgrade notesreferences/tdesign-v1.md
Form AdvancedDynamic forms, linked validation, async validationreferences/form-advanced.md
Table AdvancedVirtual scroll, server-side data, editable cellsreferences/table-advanced.md
Select AdvancedRemote search, pagination, custom optionsreferences/select-advanced.md
Upload AdvancedControlled upload, custom request, resumable uploadreferences/upload-advanced.md
Tree AdvancedAsync loading, checkStrictly, virtual scrollreferences/tree-advanced.md
Cascader AdvancedAsync loading, dynamic panelreferences/cascader-advanced.md
Dialog/Drawer AdvancedNested layers, imperative callsreferences/dialog-drawer-advanced.md
Theme CustomizationCSS variables, Design Token, dynamic themereferences/theming-advanced.md
Dark ModeMode toggle, system preference, local dark modereferences/dark-mode.md
Chat ComponentAI chat, streaming response, message renderingreferences/chat-advanced.md

P - Process

1) Identify component hierarchy

User requirements
  ├── Basic display → Button / Link / Icon / Typography
  ├── Layout structure → Layout / Grid / Space / Divider
  ├── Navigation interaction → Menu / Tabs / Breadcrumb / Steps / Pagination
  ├── Data input → Form / Input / Select / DatePicker / Upload / ...
  ├── Data display → Table / List / Tree / Card / Descriptions / ...
  ├── Feedback → Message / Notification / Dialog / Drawer / Loading
  └── Advanced scenarios → Chat (AI conversation)

2) Clarify context before making suggestions

Before providing component recommendations, confirm:

  • Vue version (3.3+ recommended)
  • Whether ConfigProvider is configured
  • Whether dark mode support is needed
  • Whether there are special i18n requirements
  • Data volume (affects whether virtual scroll is needed)

3) ConfigProvider configuration first

<template>
  <ConfigProvider :global-config="globalConfig">
    <App />
  </ConfigProvider>
</template>

<script setup lang="ts">
import { ConfigProvider } from "tdesign-vue-next";

const globalConfig = {
  // Global configuration
};
</script>

4) Component selection rules

ScenarioRecommended ComponentNotes
Simple list displayListSmall data, no complex interaction
Complex data tableTableSupports sorting, filtering, pagination
Large data tableTable + virtual-scrollEnable virtual scroll
Tree data selectionTreeSelectSingle/multiple tree selection
Cascading selectionCascaderMulti-level linked selection
Simple dropdownSelectModerate number of options
Remote search selectSelect + filterable + remoteDisable local filtering
File uploadUploadSupports drag, multi-file
Form collectionForm + FormItemUnified validation and submit
Light notificationMessageOperation feedback, auto-dismiss
Important notificationNotificationRequires user confirmation or contains actions
Confirmation actionDialog / PopconfirmChoose based on context
Side panel detailsDrawerWithout interrupting page flow
AI conversationChatStreaming messages, multi-turn dialogue

5) Form decision chain

Need to collect user input?
  ├── Yes → Use Form wrapper
  │     ├── Need dynamic add/remove fields? → See form-advanced.md
  │     ├── Need cross-field linking? → See form-advanced.md
  │     └── Simple form → Use FormItem + rules
  └── No → Use input component directly

6) Table decision chain

Need to display list data?
  ├── Data > 1000 rows? → Enable virtual scroll, see table-advanced.md
  ├── Need server-side pagination/sorting? → See table-advanced.md
  ├── Need editable cells? → See table-advanced.md
  └── Simple table → Use Table + columns + data

7) Theme customization decision chain

Need to customize theme?
  ├── Only modify brand color → ConfigProvider theme prop
  ├── Modify multiple tokens → Override CSS variables
  ├── Deep customization → See theming-advanced.md
  └── Dark mode → See dark-mode.md

8) Route complex scenarios to Reference

When identifying trigger conditions from the Complex triggers table, must:

  1. Inform user this is a complex scenario
  2. Open the corresponding Reference document
  3. Provide suggestions based on recommended patterns in Reference

9) Accessibility and performance checks

  • Ensure form controls have appropriate label
  • Enable virtual scroll or pagination for large data scenarios
  • Avoid complex calculations in template, use computed
  • Ensure stable key for list rendering

O - Output

Output should include (as needed)

  1. Component recommendation: Component name and selection rationale
  2. Minimal configuration: Required ConfigProvider setup
  3. Code example: Directly runnable <script setup> code
  4. Performance tips: Notes for large data, frequent updates scenarios
  5. Reference path: Point to corresponding reference docs for complex scenarios
  6. Official documentation link: Related component's official documentation URL

Output forbidden

  1. Unverified APIs or props
  2. Hack code relying on specific internal implementations
  3. Incomplete code snippets (missing imports or key configurations)
  4. Code for other TDesign tech stacks (React/Miniprogram)
  5. Syntax incompatible with user's Vue version

Regression checklist

  • ConfigProvider: Is root component configured, are theme tokens effective
  • Form: Are rules defined, is validation trigger (trigger) correct, is model two-way binding correct
  • Table: Does row-key provide stable unique value, is columns cached with computed
  • Select: Is local filtering disabled for remote search (filterable + :filter returns true)
  • Upload: Is controlled mode v-model:files updating correctly, is action or requestMethod configured
  • Tree/TreeSelect: Does keys config match data structure, does async load load function return Promise
  • Dialog/Drawer: v-model:visible two-way binding, destroyOnClose configured based on scenario
  • Dark Mode: Is theme-mode attribute added to <html> or root element
  • Icons: Are icons correctly imported from tdesign-icons-vue-next
  • TypeScript: Are component props types correct, do event callback parameter types match

Quick Reference

Installation

npm install tdesign-vue-next
# Icon library
npm install tdesign-icons-vue-next

Full Import

// main.ts
import { createApp } from "vue";
import TDesign from "tdesign-vue-next";
import "tdesign-vue-next/es/style/index.css";
import App from "./App.vue";

createApp(App).use(TDesign).mount("#app");

On-demand Import (Recommended)

// main.ts
import { createApp } from "vue";
import { Button, Input, Form, FormItem } from "tdesign-vue-next";
import "tdesign-vue-next/es/style/index.css";
import App from "./App.vue";

const app = createApp(App);
app.use(Button).use(Input).use(Form).use(FormItem);
app.mount("#app");

Minimal Example

<template>
  <ConfigProvider>
    <Form :model="formData" :rules="rules" @submit="onSubmit">
      <FormItem label="Username" name="username">
        <Input v-model="formData.username" placeholder="Enter username" />
      </FormItem>
      <FormItem>
        <Button theme="primary" type="submit">Submit</Button>
      </FormItem>
    </Form>
  </ConfigProvider>
</template>

<script setup lang="ts">
import { reactive } from "vue";
import {
  ConfigProvider,
  Form,
  FormItem,
  Input,
  Button,
} from "tdesign-vue-next";
import type { FormRules, SubmitContext } from "tdesign-vue-next";

const formData = reactive({
  username: "",
});

const rules: FormRules<typeof formData> = {
  username: [{ required: true, message: "Username is required" }],
};

const onSubmit = ({ validateResult }: SubmitContext) => {
  if (validateResult === true) {
    console.log("Submit successful", formData);
  }
};
</script>

Official Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.59%
按下载量换算231

Claude

27.25%
按下载量换算163

Cursor

17.53%
按下载量换算105

Gemini CLI

9.04%
按下载量换算54

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills