shadcn-ui
하는 일
이 스킬은 외부 예제를 추측하는 대신, 에이전트가 앱의 내장 인터페이스 요소와 테마를 쓰도록 안내합니다. shadcn 스타일 컴포넌트를 쓰는 앱의 화면을 만들거나 바꾸는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓앱 화면에 대화상자, 메뉴, 양식 또는 버튼을 추가할 때.
- ✓컴포넌트의 모양을 바꾸면서 테마에 맞춰야 할 때.
- ✓앱이 이미 제공할 수 있는 인터페이스 요소가 필요할 때.
스킬 링크
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/shadcn-ui/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 화면에 확인 대화상자와 양식을 추가해 주세요. 앱이 이미 쓰는 버튼과 색상을 사용해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 앱의 컴포넌트 설정을 읽고, 기존 변형과 테마 색상을 사용합니다. 한 화면 때문에 공유 모양을 바꾸지 않도록, 앱의 로컬 래퍼를 통해 컨트롤을 가져옵니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
shadcn/ui and Local UI Adapters
Use the components already provided by the app. Read the app's design-system configuration, Toolkit provider, and local UI components before adding or changing a control. Their exports, variants, and props are the contract; do not guess from upstream examples.
Keep imports behind the local adapter
Product pages and domain components should import standard controls through the
app's configured local UI alias. In the Chat starter, that is
@/components/ui/*; its app/components/ui/button.tsx is a one-line
re-export of @agent-native/toolkit/ui/button. Follow an adjacent local shim
when the app needs another Toolkit primitive that is already exported there.
Use the app's configured design system and provider mapping for controls passed
to shared Toolkit surfaces. For shared Toolkit feature presentation, use the
semantic components exposed by @agent-native/toolkit/design-system; keep the
feature behavior in its existing controller and customize only its supported
presentation seam.
Compose existing controls
- Prefer a primitive's built-in variant and size. Put page layout on a parent instead of overriding shared component appearance for one screen.
- Use the app's semantic theme tokens for reusable UI, such as
bg-background,text-muted-foreground,border-border, andbg-primary. Keep theme values in the app's existing CSS theme file. - Use the control that matches the choice:
Switchfor a binary setting,Checkboxfor independent multi-select,RadioGroupfor one choice from a short set, andSelector the app's combobox for a longer predefined list. - Compose cards and form fields from the primitives already available. Avoid
adding explanatory copy that repeats a visible title or label; see
frontend-designfor the app's surface-density rules. - Put selectable items inside their menu or list group primitives. Keep tab triggers inside the tab list. Supply an accessible title to dialog, sheet, drawer, and alert-dialog content.
- Match the trigger API to the actual local component. Toolkit wrappers may
expose a different API from the upstream primitive; inspect its props before
using options such as
asChildorrender.
Keep controls operable
Use the app's existing field components and validation pattern. Associate errors with their inputs and expose invalid state to assistive technology. Icon-only actions need an accessible name and a usable focus target. Use the icon package already installed by the app.
Do not recreate menus, popovers, dialogs, or confirmations with absolute
positioning and custom click-outside handlers. Never use browser alert,
confirm, or prompt; use the app's dialog primitives. Keep overlay focus,
keyboard, dismissal, and stacking behavior from the existing primitive.
For small visual refinements, use layout classes and semantic tokens. Avoid raw
palette overrides, arbitrary one-off values, and manual overlay z-index unless
you are fixing a reproduced bug. Use gap-* for layout spacing and the app's
class-merging helper when it has one.
Related skill
- frontend-design — Product UX, density, visual direction, and responsive behavior.
자주 묻는 질문
한 페이지에서 컴포넌트 스타일을 덮어써야 하나요?
아니요. 공유 모양을 바꾸지 말고, 페이지 레이아웃은 상위 요소에 두라고 이 스킬은 말합니다.
테마 색상은 어디서 와야 하나요?
bg-background나 text-muted-foreground 같은 앱의 테마 토큰에서 와야 합니다.
업스트림 예제의 모양이 다르면 어떻게 하나요?
앱 자체의 내보내기, 변형, 속성이 기준입니다.
상세 정보
작성자의 원본 설명
Using the app's local UI adapter and Toolkit or shadcn primitives. Use when choosing or composing standard controls, implementing dialogs, menus, or forms, or changing component variants and theme tokens.
repo: BuilderIO/agent-native
인기도
- GitHub 스타
- 7.6k
- 순위
- #13183
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
design-exploration
7.6k에이전트가 여러 UI 디자인 방향을 나란히 보여 주고, 사용자가 하나를 고르면 그 디자인을 다듬도록 돕습니다.
visual-edit
7.6k에이전트가 실행 중인 로컬 앱을 시각 편집기에 열어, 실제 화면을 함께 검토하고 편집하도록 돕습니다.
turn-into-app
7.6k워크플로, 스프레드시트 또는 프로젝트를 데이터가 채워진 세련된 시각 앱으로 바꾸고, 컨트롤 뒤에서 에이전트가 작업하도록 합니다.
visual-plan
7.6k일반 텍스트 계획을 다이어그램, 파일 맵, 코드 조각, 열린 질문이 담긴 대화형 시각 계획으로 바꿔 줍니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.