Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
一款基于 Taro 框架开发的多端 UI 组件库
제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.
[](https://mcp.popnx.com/en/skills/jd-opensource-taro-ui)같은 작업에서 AI를 서비스에 연결하는 MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
같은 종류의 작업, Skill 목록과 같은 순서
| 이 항목 taro-ui | impeccable | diagram-design | frontend-slides | guizang-ppt-skill | |
|---|---|---|---|---|---|
| 제작자 | jd-opensource | pbakaus | cathrynlavery | zarazhangrui | op7418 |
| Skill 수 | 1 | 1 | 1 | 1 | – |
| GitHub 별 | 4,731 | 110,690 | 67,371 | 32,358 | 29,835 |
| 마지막 코드 변경 | 2026년 9월 25일 | 2026년 11월 16일 | 2026년 11월 13일 | 2026년 6월 24일 | 2026년 10월 30일 |
| 라이선스 | MIT | Apache-2.0 | MIT | MIT | AGPL-3.0 |
jd-opensource의 Skill(지시 묶음) 1개, AI가 읽고 그대로 일해요 · MCP server가 아니에요
MCP = 손
AI를 외부 서비스나 데이터에 연결합니다(예: Notion 읽기, 청구서 만들기). 프로그램이나 서버가 실행 중이어야 합니다.
Skill = 안내서
작업 방법을 AI에게 가르치는 텍스트 파일. 어떤 서비스에도 연결되지 않습니다.
겹치는 경우도 있습니다. 도구를 부르는 스크립트가 있는 Skill도, 지식만 보내는 MCP도 있습니다. 하려는 작업을 기준으로 고르세요.
제작자가 밝히지 않음 · SKILL.md 형식 Skill은 Claude Code, Codex, Cursor 같은 Agent Skills 지원 앱에서 써요
GitHub account jd-opensource (organization), 5 years old
★ 4,731 stars · code last changed 2026년 9월 25일
No, plain text files the AI reads and follows
No scripts, so it does not go online by itself
No hooks or writes to machine settings found
Checked automatically from the repo files at commit d065330 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
먼저: 어떤 AI를 쓰시나요
쓰는 앱을 고르면 그 앱의 설치 방법만 보여 드립니다
Uploading to claude.ai would fail: the description is over 200 characters (220). Use "Let the AI install it" instead
이 문장을 복사해 Claude Code 채팅에 붙여 넣으세요
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Claude Code를 다시 열고 /taro-ui-guide를 입력하거나 관련 작업을 요청하면 Claude가 알아서 써요
Checked against official docs 2026년 11월 12일 · Source: code.claude.com
Skill은 AI가 따르는 지시예요. 설치 전에 파일을 읽고, 믿을 수 있는 제작자 것만 설치하세요.
Mac: Command+스페이스 후 Terminal 입력 · Windows: 아래 명령은 PowerShell에서 안 돼요. 위의 “AI에게 설치 맡기기”를 쓰세요
repo를 임시 폴더에 내려받고 SKILL.md가 있는 폴더만 복사해요
명령을 확인하는 중 · 확인을 통과하면 복사 버튼이 나타나요
ChatGPT 데스크톱 앱에는 Codex가 들어 있고, Codex는 ~/.agents/skills 폴더에서 Skill을 읽습니다
ChatGPT 데스크톱 앱에서 Codex를 열고 이 문장을 채팅에 붙여 넣으세요
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
taro-ui-guide 폴더를 ~/.agents/skills/taro-ui-guide에 넣으세요
~는 홈 폴더($HOME)입니다
Skill은 AI가 따르는 지시예요. 설치 전에 파일을 읽고, 믿을 수 있는 제작자 것만 설치하세요.
Mac: Command+스페이스 후 Terminal 입력 · Windows: 아래 명령은 PowerShell에서 안 돼요. 위의 “AI에게 설치 맡기기”를 쓰세요
repo를 임시 폴더에 내려받고 SKILL.md가 있는 폴더만 복사해요
명령을 확인하는 중 · 확인을 통과하면 복사 버튼이 나타나요
Checked against official docs 2026년 11월 15일 · Source: learn.chatgpt.com
직접 설치한 Skill은 쓸 수 없고, 디렉터리의 플러그인에 들어 있는 Skill만 쓸 수 있습니다
이 Skill을 ChatGPT에서 쓰려면 위 방법대로 ChatGPT 데스크톱 앱을 쓰세요
Checked against official docs 2026년 11월 15일 · Source: learn.chatgpt.com
이 문장을 복사해 Codex 채팅에 붙여 넣으세요 · ChatGPT 데스크톱 앱 안의 Codex, Codex CLI, IDE 확장 프로그램에서 모두 쓸 수 있습니다
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex는 새로 설치한 Skill을 스스로 찾습니다. 보이지 않으면 Codex를 다시 시작하세요 · 쓰는 법: ChatGPT에서는 @를 입력하고 Skill을 고르세요 · Codex CLI나 IDE 확장 프로그램에서는 /skills를 실행하거나 $ 뒤에 Skill 이름을 입력하세요
Checked against official docs 2026년 11월 15일 · Source: learn.chatgpt.com
Skill은 AI가 따르는 지시예요. 설치 전에 파일을 읽고, 믿을 수 있는 제작자 것만 설치하세요.
Mac: Command+스페이스 후 Terminal 입력 · Windows: 아래 명령은 PowerShell에서 안 돼요. 위의 “AI에게 설치 맡기기”를 쓰세요
repo를 임시 폴더에 내려받고 SKILL.md가 있는 폴더만 복사해요
명령을 확인하는 중 · 확인을 통과하면 복사 버튼이 나타나요
이 문장을 복사해 Cursor 채팅에 붙여 넣으세요
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Cursor Agent 채팅에서 /를 입력하고 taro-ui-guide 선택
Checked against official docs 2026년 11월 12일 · Source: cursor.com
Skill은 AI가 따르는 지시예요. 설치 전에 파일을 읽고, 믿을 수 있는 제작자 것만 설치하세요.
Mac: Command+스페이스 후 Terminal 입력 · Windows: 아래 명령은 PowerShell에서 안 돼요. 위의 “AI에게 설치 맡기기”를 쓰세요
repo를 임시 폴더에 내려받고 SKILL.md가 있는 폴더만 복사해요
명령을 확인하는 중 · 확인을 통과하면 복사 버튼이 나타나요
Skill을 읽을 수 있는 다른 앱용입니다. 이 문장에는 Claude Code, Codex, Cursor 경로가 들어 있어 AI가 쓰는 앱에 맞게 고릅니다 · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026년 11월 12일 · Source: code.claude.com, learn.chatgpt.com, cursor.com
Gemini CLI, GitHub Copilot 같은 다른 Agent Skills 지원 앱은 폴더가 달라요. 그 앱 안내를 보고 SKILL.md가 있는 폴더를 복사하세요.
2026년 11월 11일에 Claude Code, Codex, Cursor 공식 안내로 skill 폴더 확인
아래 글은 제작자 repo에서 온 것이며 PopNx MCP의 지시가 아니에요
5,300자 · GitHub에서 전체 파일 열기
---
name: taro-ui-guide
description: >-
Guides installation, Taro config, styling, and usage of taro-ui (At* components)
for WeChat/Alipay/H5/RN. Use when building Taro apps with taro-ui, picking
components, theming, i18n, or modifying packages/taro-ui source.
---
# Taro UI 使用指南
基于 Taro 3+ 的多端 React 组件库。组件均以 `At` 前缀导出(如 `AtButton`),样式与逻辑分离,需单独引入 SCSS。
官方文档:<https://jd-opensource.github.io/taro-ui/#/>
源码:`packages/taro-ui/`(本 monorepo)
## 何时使用本 Skill
- 在 Taro 项目中集成、配置或排查 taro-ui
- 选择/组合组件、查 Props、写示例页面
- 自定义主题、国际化、按需加载
- 在本仓库内开发/修复 `packages/taro-ui` 组件
## 版本与安装
| Taro 版本 | taro-ui 版本 |
|-----------|--------------|
| < 3 | `taro-ui@2.3.4` |
| ≥ 3 | `taro-ui@latest`(当前 monorepo 为 3.x) |
```bash
pnpm add taro-ui
# 或 npm install taro-ui@latest
```
**Peer 依赖**:`@tarojs/taro`、`@tarojs/components`、`@tarojs/react`、`react`、`react-dom`(≥16.13)。RN 端另需 `react-native`、`react-native-modal`(可选)。
微信小程序需基础库 **≥ 2.2.3**(`globalClass` 与样式穿透)。
## Taro 项目必配项
在消费方项目的 `config/index.ts`(或 `config/index.js`)中:
**1. H5 编译 node_modules 中的 taro-ui**
```js
h5: {
esnextModules: ['taro-ui']
}
```
**2. Taro 3.5+ 关闭对 taro-ui 的 prebundle**(否则 `@tarojs/components` 可能未打进 bundle,页面异常)
```js
compiler: {
type: 'webpack5',
prebundle: {
exclude: ['taro-ui']
}
}
```
## 样式引入
样式在 `taro-ui/dist/style/`,**不会**随 JS 自动注入,必须显式引入。
### 全量(开发/原型)
入口或 `app.scss`:
```js
import 'taro-ui/dist/style/index.scss'
```
```scss
@import 'taro-ui/dist/style/index.scss';
```
### 按需(推荐生产)
页面/全局 SCSS 按组件名引入(`AtButton` → `button.scss`):
```scss
@import 'taro-ui/dist/style/components/button.scss';
```
或用 `babel-plugin-import`(见 `docs/docs/guide/quickstart.md`):
```js
// babel.config.js plugins
['import', {
libraryName: 'taro-ui',
customName: name => `taro-ui/lib/components/${name.slice(3)}`,
customStyleName: name => `taro-ui/dist/style/components/${name.slice(3)}.scss`
}, 'taro-ui']
```
`At` 前缀去掉后即为目录名:`AtActionSheet` → `action-sheet`。
## 组件使用模式
### 基础引入
```tsx
import { View } from '@tarojs/components'
import { AtButton } from 'taro-ui'
export default function Page() {
return (
<View>
<AtButton type="primary" onClick={() => {}}>
按钮
</AtButton>
</View>
)
}
```
### 公共 Props(`AtComponent`)
多数组件支持:
| Prop | 说明 |
|------|------|
| `className` | 外层类名(小程序可用 `globalClass` 覆盖内部 BEM 类) |
| `customStyle` | 内联样式,`string` 或 `CSSProperties` |
| `children` | 子节点 |
类型定义:`packages/taro-ui/types/base.d.ts`。
### 复合组件
按文档组合子组件,例如:
- `AtModal` + `AtModalHeader` / `AtModalContent` / `AtModalAction`
- `AtList` + `AtListItem`
- `AtTabs` + `AtTabsPane`
- `AtActionSheet` + `AtActionSheetItem`
按组件查阅:[references/README.md](references/README.md)(如 `references/button.md`)。**仅在使用该组件时**打开对应文件。
### 受控与回调
- 开关类:`open` / `isOpened` + `onClick` / `onClose`(以各组件 `types/*.d.ts` 为准)
- 表单类:`AtForm` 包裹 `AtInput`、`AtSwitch` 等,注意 `formType`、校验文案
- 环境判断:组件内部常用 `Taro.getEnv()` 区分 WEB / WEAPP / ALIPAY
查 Props 时**优先读** `references/<slug>.md`,其次 `packages/taro-ui/types/<component>.d.ts` 与 `docs/docs/components/<name>.md`。
### 命令式 API:`AtMessage`
页面需挂载 `<AtMessage />`,再通过 `Taro.atMessage` 调用:
```tsx
import Taro from '@tarojs/taro'
import { AtMessage } from 'taro-ui'
// render 中: <AtMessage />
Taro.atMessage({ message: '提示', type: 'success', duration: 3000 })
// type: info | success | error | warning
```
`AtToast` 为声明式:`isOpened`、`text`、`status`、`onClose`。
### 国际化 `ConfigProvider`
```tsx
import { ConfigProvider, AtLoadMore, enUS } from 'taro-ui'
export default function App({ children }) {
return (
<ConfigProvider locale={enUS}>
{children}
</ConfigProvider>
)
}
```
- 内置:`zhCN`(默认)、`enUS`
- `locale` 与默认包深合并,可只覆盖部分 key(如 `LoadMore.moreText`)
- 优先级:组件 props > `ConfigProvider.locale` > 默认 `zhCN`
## 自定义主题
1. **SCSS 变量**(推荐):在引入默认样式**之前**覆盖变量,再 `@import` 全量样式。
```scss
$color-brand: #6190e8;
@import 'taro-ui/dist/style/index.scss';
```
变量表:`packages/taro-ui/src/style/variables/default.scss`。
2. **globalClass**:在 **Page** 级 SCSS 用 `.my-btn.at-button { }` 覆盖(自定义组件内无效)。
3. **`customStyle`**:仅部分组件支持,优先用前两种方式。
> `AtSlider`、`AtSwitch` 暂不支持 SCSS 变量覆盖主题。
## 在本仓库开发 taro-ui
```bash
pnpm install # 根目录,仅允许 pnpm
pnpm build:ui # 构建 packages/taro-ui → dist/
pnpm --filter demo dev:h5
pnpm --filter demo dev:weapp
pnpm --filter docs dev
```
组件实现路径:
| 内容 | 路径 |
|------|------|
| 组件实现 | `packages/taro-ui/src/components/<name>/` |
| 类型 | `packages/taro-ui/types/<name>.d.ts` |
| 样式 | `packages/taro-ui/src/style/components/<name>.scss` |
| 导出 | `packages/taro-ui/src/index.ts` |
| RN 实现 | `packages/taro-ui/rn/components/` |
| 单测 | `packages/taro-ui/test/components/` |
新增/修改组件:同步更新 `src/index.ts`、类型文件、样式、`test` 快照;提交信息格式 `feat(ComponentName): ...`(见 `.github/CONTRIBUTING.md`)。
## Agent 工作流
1. **确认场景**:消费方 Taro 项目 vs 本 monorepo 源码修改。
2. **查 API**:`references/<slug>.md` → `types/*.d.ts` → `docs/docs/components/*.md`。
3. **写用法**:`import { AtX } from 'taro-ui'` + 对应 `dist/style/components/x.scss`。
4. **排查样式缺失**:是否引入 SCSS;H5 是否配置 `esnextModules`;是否配置 `prebundle.exclude`。
5. **排查小程序样式**:基础库版本、`globalClass`、BEM 类名是否与文档一致。
## 延伸阅读
- [references/README.md](references/README.md) — 组件索引(按维度渐进披露)
- `docs/docs/guide/quickstart.md` — 快速上手与 babel 按需
- `docs/docs/guide/customize-theme.md` — 主题详解
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.