Skip to content
Back to skills

Mandu Ui

ASecurity

UI component library integration and accessibility patterns

  • 46 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
developmenttypescriptgobashreact

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add konamgil/mandu --skill mandu-ui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mandu Ui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mandu Ui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/konamgil-mandu-ui/badge)](https://www.skillsdirectory.com/skills/konamgil-mandu-ui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Mandu UI
description: UI component library integration and accessibility patterns
metadata:
  version: "1.0.0"
  author: mandu
globs:
  - "components/ui/**/*.tsx"
  - "app/**/client.tsx"
---

# Mandu UI Skill

Mandu Island 아키텍처에 UI 컴포넌트 라이브러리를 통합하는 가이드입니다.

## Agent Workflow Contract

This skill is a Domain addendum. It must not replace `mandu-agent-workflow`.
Use it only after `mandu.agent.plan` selects UI, design, styling, component, or hydration domains.

Canonical workflow step: `plan -> apply -> verify`.

Preferred MCP tools:

| Step | Tools |
|------|-------|
| plan | `mandu.agent.plan`, `mandu.design.get`, `mandu.component.list` |
| apply | `mandu.agent.apply`, `mandu.component.add` |
| verify | `mandu.agent.verify`, `mandu.design.check`, `mandu.lint` |
| repair | `mandu.agent.repair` |

Allowed file edits:

- `components/ui/**/*.tsx`
- Route-local island/client components named in the plan
- Styling utilities only when they are required by the selected component

Verification command:

```bash
mandu agent verify --changed --json --write
```

Common failures:

- Adding UI libraries before reading the existing design/component inventory
- Mixing server components and island-only UI imports
- Skipping accessibility or design checks for interactive components

Repair path:

```bash
mandu agent repair --from .mandu/agent-verify.json --json
```

## 핵심 원칙

1. **Headless First**: Radix UI 기반으로 동작과 스타일 분리
2. **Copy-Paste**: shadcn/ui 방식으로 소유권 유지
3. **Accessibility**: WCAG 2.1 AA 수준 준수
4. **Island 호환**: 클라이언트 컴포넌트로 올바르게 분리

## 권장 스택

```
Primitives:  Radix UI (headless, accessible)
Components:  shadcn/ui (copy-paste, customizable)
Icons:       Lucide React
Utilities:   clsx, tailwind-merge, cva
```

## Setup Examples

Use these examples only after `mandu.agent.plan` selects UI library setup.

### shadcn/ui 초기화

```bash
bunx shadcn-ui@latest init
```

```
✔ Would you like to use TypeScript? yes
✔ Which style would you like to use? Default
✔ Which color would you like to use as base? Slate
✔ Where is your global CSS file? app/globals.css
✔ Do you want to use CSS variables? yes
✔ Where is your tailwind.config located? tailwind.config.ts
✔ Configure import alias for components? @/components
✔ Configure import alias for utils? @/lib/utils
```

### 컴포넌트 추가

```bash
# 개별 컴포넌트
bunx shadcn-ui@latest add button
bunx shadcn-ui@latest add card
bunx shadcn-ui@latest add dialog

# 여러 컴포넌트
bunx shadcn-ui@latest add button card dialog input
```

## Island에서 사용

```tsx
// app/user-settings/client.tsx
"use client";

import { Button } from "@/components/ui/button";
import {
  Dialog,
  DialogContent,
  DialogHeader,
  DialogTitle,
  DialogTrigger,
} from "@/components/ui/dialog";

export function UserSettingsIsland() {
  return (
    <Dialog>
      <DialogTrigger asChild>
        <Button variant="outline">Settings</Button>
      </DialogTrigger>
      <DialogContent>
        <DialogHeader>
          <DialogTitle>User Settings</DialogTitle>
        </DialogHeader>
        {/* Settings form */}
      </DialogContent>
    </Dialog>
  );
}
```

## 폴더 구조

```
components/
├── ui/                    # shadcn/ui 컴포넌트
│   ├── button.tsx
│   ├── card.tsx
│   ├── dialog.tsx
│   └── ...
└── islands/               # 커스텀 Island 컴포넌트
    ├── user-menu.tsx
    └── ...
```

## 규칙 카테고리

| Category | Description | Rules |
|----------|-------------|-------|
| Library | 라이브러리 설정 | 2 |
| Accessibility | 접근성 패턴 | 2 |
| Integration | Island 통합 | 2 |

→ 세부 규칙은 `rules/` 폴더 참조

Files in this skill

  • SKILL.md3.8 KB
  • _sections.md556 B
  • _template.md443 B
  • rules/ui-accessibility-aria.md4.7 KB
  • rules/ui-accessibility-focus.md5.4 KB
  • rules/ui-composition-patterns.md5.7 KB
  • rules/ui-island-integration.md5.3 KB
  • rules/ui-radix-patterns.md5.8 KB
  • rules/ui-shadcn-setup.md4.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.