Token导航 LogoToken导航

Agent Skill · 研究检索

ant-design-mini(蚂蚁设计迷你)

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

ant-design-mini 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 56,510。

总安装 449周安装 18GitHub Stars 公开资料未说明下载 145核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add teachingai/agent-skills --skill "ant-design-mini"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

ant-design-mini 是蚂蚁集团出品的小程序 UI 组件库,提供轻量级移动端界面解决方案。适用于微信小程序、支付宝小程序等平台的前端开发,覆盖表单、导航、反馈等基础模块。通过 JSON 配置快速搭建页面骨架,支持主题定制和无障碍访问,适配不同屏幕尺寸。

使用前需引入对应框架的运行时环境,并遵循各平台的分包大小限制,避免审核不通过。建议参考官方文档对齐组件命名规范,防止因版本差异导致样式错乱或功能异常。

来源仓库内路径:skills/ant-design-mini

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add teachingai/agent-skills --skill "ant-design-mini";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ant-design-mini 怎么安装?

在终端执行 npx skills add teachingai/agent-skills --skill "ant-design-mini"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ant-design-mini 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ant-design-mini 需要什么权限?

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

ant-design-mini 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ant-design-mini 用的人多吗?

公开数据是累计安装 449 次,近一周安装 18 次,下载 145 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ant-design-mini 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ant-design-mini

蚂蚁设计迷你 · 本页

449—需要联网MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

When to use this skill

Use this skill whenever the user wants to:

  • Build Alipay or WeChat mini-program UIs with Ant Design Mini components
  • Use form, data display, feedback, or navigation components in mini-programs
  • Customize the Ant Design Mini theme via CSS variables
  • Handle component events and lifecycle in mini-program contexts

How to use this skill

Quick-Start Example: Button and Form in Mini-Program

<!-- pages/index/index.axml -->
<ant-button type="primary" onTap="handleClick">Submit</ant-button>

<ant-form onFinish="onFormFinish">
  <ant-form-item label="Name" name="name" required="{{true}}">
    <ant-input placeholder="Enter your name" />
  </ant-form-item>
  <ant-form-item label="Phone" name="phone">
    <ant-input type="number" placeholder="Enter phone" />
  </ant-form-item>
  <ant-button type="primary" form-type="submit">Submit</ant-button>
</ant-form>
// pages/index/index.js
Page({
  handleClick() { my.showToast({ content: 'Clicked!' }); },
  onFormFinish(values) { console.log('Form values:', values); }
});

This skill is organized to match the Ant Design Mini official documentation structure (https://ant-design-mini.antgroup.com/guide/quick-start, https://ant-design-mini.antgroup.com/components/overview). When working with Ant Design Mini:

  1. Identify the topic from the user's request:

- Getting started/快速开始 → examples/getting-started.md - Components/组件 → examples/components/ - API/API 文档 → api/

  1. Load the appropriate example file from the examples/ directory: Getting Started (快速开始): Components (组件):

- examples/getting-started.md - Installation and setup - examples/quick-start.md - Quick start guide - examples/components/overview.md - Components overview - examples/components/button.md - Button component - examples/components/input.md - Input component - examples/components/form.md - Form component - examples/components/list.md - List component - examples/components/card.md - Card component - examples/components/toast.md - Toast component - examples/components/modal.md - Modal component - examples/components/tabs.md - Tabs component - examples/components/nav-bar.md - NavBar component - examples/components/picker.md - Picker component - examples/components/date-picker.md - DatePicker component - examples/components/switch.md - Switch component - examples/components/checkbox.md - Checkbox component - examples/components/radio.md - Radio component - examples/components/stepper.md - Stepper component - examples/components/avatar.md - Avatar component - examples/components/badge.md - Badge component - examples/components/tag.md - Tag component - examples/components/empty.md - Empty component - examples/components/loading.md - Loading component - examples/components/popup.md - Popup component - examples/components/action-sheet.md - ActionSheet component

  1. Follow the specific instructions in that example file for syntax, structure, and best practices Important Notes:

- Ant Design Mini is for Alipay Mini Program and WeChat Mini Program - Components use mini-program syntax (axml/json) - Examples include both Alipay and WeChat syntax - Each example file includes key concepts, code examples, and key points

  1. Reference API documentation in the api/ directory when needed:

- api/component-api.md - Component API reference - api/props-and-events.md - Props and events reference

  1. Use templates from the templates/ directory:

- templates/installation.md - Installation templates - templates/component-usage.md - Component usage templates

1. Understanding Ant Design Mini

Ant Design Mini is a UI component library for Alipay Mini Program and WeChat Mini Program, following Ant Design design specifications.

Key Concepts:

  • Mini Program Support: Alipay and WeChat Mini Programs
  • Design System: Follows Ant Design design language
  • Rich Components: Button, Form, List, Modal, etc.
  • Theme Customization: Support for theme customization
  • i18n: Internationalization support

2. Installation

Using npm:

npm install antd-mini

Using yarn:

yarn add antd-mini

Using pnpm:

pnpm add antd-mini

3. Basic Setup

// app.json (Alipay Mini Program)
{
  "usingComponents": {
    "ant-button": "antd-mini/es/Button/index"
  }
}
<!-- page.axml -->
<ant-button type="primary" onTap="handleTap">Button</ant-button>

Doc mapping (one-to-one with official documentation)

Guide (指南):

Components (组件):

Examples and Templates

This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).

To use examples:

  • Identify the topic from the user's request
  • Load the appropriate example file from the mapping above
  • Follow the instructions, syntax, and best practices in that file
  • Adapt the code examples to your specific use case

To use templates:

  • Reference templates in templates/ directory for common scaffolding
  • Adapt templates to your specific needs and coding style

API Reference

Detailed API documentation is available in the api/ directory, organized to match the official Ant Design Mini API documentation structure:

Component API (api/component-api.md)

  • Component props and events
  • Component methods
  • Component slots

Props and Events (api/props-and-events.md)

  • Common props
  • Common events
  • Event handling

To use API reference:

  1. Identify the API you need help with
  2. Load the corresponding API file from the api/ directory
  3. Find the API signature, parameters, return type, and examples
  4. Reference the linked example files for detailed usage patterns
  5. All API files include links to relevant example files in the examples/ directory

Best Practices

  1. Register components: Register components in app.json or page.json
  2. Use correct syntax: Use axml for Alipay, wxml for WeChat
  3. Handle events: Use onTap for Alipay, bindtap for WeChat
  4. Customize theme: Use theme variables for customization
  5. Follow design specs: Follow Ant Design design specifications

Resources

Keywords

Ant Design Mini, ant-design-mini, antd-mini, mini program, Alipay Mini Program, WeChat Mini Program, 小程序, 支付宝小程序, 微信小程序, 组件库, UI components, Button, Form, List, Modal, Toast, Tabs, NavBar, 按钮, 表单, 列表, 弹窗, 提示, 标签页, 导航栏

平台分布

Claude Code

30%
按下载量换算44

OpenCode

22.78%
按下载量换算33

Antigravity

18.32%
按下载量换算27

Codex

13.64%
按下载量换算20

windsurf

9.25%
按下载量换算13

Gemini CLI

3.73%
按下载量换算5

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills