
ant-design-mobile
Provides comprehensive guidance for Ant Design Mobile component library including mobile components, themes, and platform adaptations. Use when the user asks about Ant Design Mobile, needs to build mobile applications, or implement mobile UI components.
- Installs
- 62
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/full-stack-skills/antd-skills --skill ant-design-mobile- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads ant-design-mobile automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
When to use this skill
Use this skill whenever the user wants to:
- Build React mobile applications with Ant Design Mobile components
- Use mobile UI components (Button, Input, Form, List, Card, Modal, etc.)
- Create mobile-friendly interfaces
- Customize Ant Design Mobile theme
- Implement mobile-specific features (pull-to-refresh, infinite scroll, etc.)
- Use Ant Design Mobile with React Native or web
- Handle mobile gestures and interactions
- Implement mobile navigation patterns
- Use mobile form components
- Create mobile data display components
How to use this skill
This skill is organized to match the Ant Design Mobile official documentation structure (https://ant-design-mobile.antgroup.com/zh/guide/quick-start, https://ant-design-mobile.antgroup.com/zh/components/button). When working with Ant Design Mobile:
-
Install and setup Ant Design Mobile:
- Load
examples/getting-started/installation.mdfor installation instructions - Load
examples/getting-started/basic-usage.mdfor basic usage examples
- Load
-
Choose the component based on the user's requirements:
- Button/按钮 →
examples/components/button.md - Input/输入框 →
examples/components/input.md - Form/表单 →
examples/components/form.md - List/列表 →
examples/components/list.md - Card/卡片 →
examples/components/card.md - Modal/对话框 →
examples/components/modal.md - Picker/选择器 →
examples/components/picker.md - DatePicker/日期选择器 →
examples/components/date-picker.md - Tabs/标签页 →
examples/components/tabs.md - PullToRefresh/下拉刷新 →
examples/components/pull-to-refresh.md - InfiniteScroll/无限滚动 →
examples/components/infinite-scroll.md - And many more components...
- Button/按钮 →
-
Load the appropriate example file from the
examples/directory:examples/getting-started/installation.md- Installation and setupexamples/getting-started/basic-usage.md- Basic usage examplesexamples/components/button.md- Button componentexamples/components/input.md- Input componentexamples/components/form.md- Form componentexamples/components/list.md- List componentexamples/components/card.md- Card componentexamples/components/modal.md- Modal componentexamples/components/picker.md- Picker componentexamples/components/date-picker.md- DatePicker componentexamples/components/tabs.md- Tabs componentexamples/components/pull-to-refresh.md- PullToRefresh componentexamples/components/infinite-scroll.md- InfiniteScroll componentexamples/components/icon.md- Icon componentexamples/components/badge.md- Badge componentexamples/components/tag.md- Tag componentexamples/components/avatar.md- Avatar componentexamples/components/image.md- Image componentexamples/components/image-viewer.md- ImageViewer componentexamples/components/nav-bar.md- NavBar componentexamples/components/tab-bar.md- TabBar componentexamples/components/index-bar.md- IndexBar componentexamples/components/side-bar.md- SideBar componentexamples/components/dialog.md- Dialog componentexamples/components/toast.md- Toast componentexamples/components/action-sheet.md- ActionSheet componentexamples/components/popup.md- Popup componentexamples/components/loading.md- Loading componentexamples/components/error-block.md- ErrorBlock componentexamples/components/empty.md- Empty componentexamples/components/notice-bar.md- NoticeBar componentexamples/components/mask.md- Mask componentexamples/components/textarea.md- Textarea componentexamples/components/switch.md- Switch componentexamples/components/checkbox.md- Checkbox componentexamples/components/radio.md- Radio componentexamples/components/stepper.md- Stepper componentexamples/components/rate.md- Rate componentexamples/components/slider.md- Slider componentexamples/components/uploader.md- Uploader componentexamples/components/grid.md- Grid componentexamples/components/swiper.md- Swiper componentexamples/components/cascader.md- Cascader componentexamples/components/search-bar.md- SearchBar componentexamples/components/virtual-input.md- VirtualInput componentexamples/components/divider.md- Divider componentexamples/components/space.md- Space componentexamples/components/safe-area.md- SafeArea componentexamples/advanced/theme-customization.md- Theme customizationexamples/advanced/internationalization.md- Internationalization
-
Follow the specific instructions in that example file for syntax, structure, and best practices
-
Reference the API documentation when needed:
api/components.md- Component API referenceapi/config-provider.md- ConfigProvider API
-
Use templates for quick start:
templates/project-setup.md- Project setup templatestemplates/component-template.md- Component usage templates
Doc mapping (one-to-one with official documentation)
Guide (指南):
- See guide files in
examples/guide/orexamples/getting-started/→ https://ant-design-mobile.antgroup.com/zh/guide/quick-start
Components (组件):
- See component files in
examples/components/→ https://ant-design-mobile.antgroup.com/zh/components/button
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
- Components API:
api/components.md- All component props and APIs - ConfigProvider API:
api/config-provider.md- ConfigProvider component API and global configuration
Best Practices
- Import styles: Import Ant Design Mobile CSS in your entry file
- Use ConfigProvider: Wrap your app with ConfigProvider for global configuration
- Mobile-first: Design for mobile devices first
- Touch interactions: Consider touch gestures and interactions
- Performance: Optimize for mobile performance
- Responsive design: Test on different screen sizes
- Accessibility: Follow mobile accessibility guidelines
- Theme customization: Use design tokens for consistent theming
- Internationalization: Use ConfigProvider with locale for i18n
- Component composition: Compose components for complex UIs
Resources
- Official Website: https://ant-design-mobile.antgroup.com/
- Getting Started: https://ant-design-mobile.antgroup.com/zh/guide/quick-start
- Components: https://ant-design-mobile.antgroup.com/zh/components/button
- GitHub Repository: https://github.com/ant-design/ant-design-mobile
Keywords
Ant Design Mobile, antd-mobile, mobile UI, React mobile, mobile components, Button, Input, Form, List, Card, Modal, Picker, DatePicker, Tabs, PullToRefresh, InfiniteScroll, Swiper, Toast, Dialog, ActionSheet, Popup, Loading, NavBar, TabBar, Icon, Badge, Tag, Avatar, Image, ImageViewer, Switch, Checkbox, Radio, Stepper, Rate, Slider, Uploader, Grid, Cascader, SearchBar, VirtualInput, Divider, Space, SafeArea, ErrorBlock, Empty, NoticeBar, Mask, mobile app, 移动端, 组件库, 按钮, 输入框, 表单, 列表, 卡片, 对话框, 选择器, 日期选择器, 标签页, 下拉刷新, 无限滚动
FAQ
What does the ant-design-mobile skill do?
Provides comprehensive guidance for Ant Design Mobile component library including mobile components, themes, and platform adaptations. Use when the user asks about Ant Design Mobile, needs to build mobile applications, or implement mobile UI components.
How do I install ant-design-mobile?
Run npx skills add https://github.com/full-stack-skills/antd-skills --skill ant-design-mobile in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ant-design-mobile/ (personal) or .claude/skills/ant-design-mobile/ (project).
Which AI agents can use ant-design-mobile?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is ant-design-mobile safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains ant-design-mobile?
It is published by full-stack-skills in full-stack-skills/antd-skills. It has 62 recorded installs.
More from full-stack-skills/antd-skills
ant-design-vue
full-stack-skills/antd-skills
Open the skill to read its SKILL.md instructions.
ant-design-react
full-stack-skills/antd-skills
Provides comprehensive guidance for Ant Design React component library including components, design system, themes, and TypeScript support. Use when the user asks about Ant Design for React, needs to build React applications with Ant Design, or implement design system patterns.
ant-design-mini
full-stack-skills/antd-skills
Provides comprehensive guidance for Ant Design Mini component library for mini-programs including components, themes, and platform support. Use when the user asks about Ant Design Mini, needs to build mini-program applications, or use mini-program components.
Popular mobile skills
design-mobile-apps
designed-by-ai/skills
Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.
ios-design
uizze.sh
Design and review iOS UI/UX for iPhone apps in SwiftUI, UIKit, or React Native. Use for mobile app design, screen redesigns, navigation flows, typography, forms, keyboard and safe-area layout, and accessibility checks. Apply Apple Human Interface Guidelines and consult real product references through the optional Uizze connection.
vercel-react-native-skills
vercel-labs/agent-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
animate-expo
emilkowalski/skills
Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use animate.
xcode-project-setup
firebase/agent-skills
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
firebase-remote-config-basics
firebase/agent-skills
Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.