에이전트 스킬(Agent Skills) — HeroUI v2 → v3 마이그레이션
HeroUI는 AI 어시스턴트가 v2를 v3으로 마이그레이션할 수 있도록 전용 스킬(skill)을 제공해요. 이 스킬을 설치하면 AI 어시스턴트가 v2 → v3 마이그레이션 워크플로우, 컴포넌트 가이드, 모범 사례에 대한 종합적인 지식을 갖게 돼요. 설치부터 사용법까지 차근차근 살펴볼게요.
출처: HeroUI
본문
HeroUI Migration Skills는 AI 어시스턴트에게 HeroUI v2 → v3 마이그레이션 워크플로우, 컴포넌트 가이드, 모범 사례에 대한 종합적인 지식을 제공해요.
설치(Installation)
curl -fsSL https://heroui.com/install | bash -s heroui-migration
또는 스킬 패키지를 사용해요:
npx skills add heroui-inc/heroui
Claude Code, Cursor, OpenCode 등을 지원해요.
설치 범위(Install Scope)
기본적으로 설치 스크립트는 홈 디렉터리에 작성하므로 스킬이 모든 프로젝트에서 사용 가능해요. HEROUI_SKILL_SCOPE=project를 추가하고 마이그레이션하는 프로젝트에서 다시 실행하면 그곳에 설치돼요 — 해당 코드베이스에만 마이그레이션 스킬이 필요할 때 유용해요.
curl -fsSL https://heroui.com/install | HEROUI_SKILL_SCOPE=project bash -s heroui-migration
감지된 각 도구는 프로젝트 내부에서 자신이 읽는 디렉터리를 받아요: Claude Code는 .claude/skills/, Cursor는 .cursor/skills/, OpenCode는 .opencode/skills/, Codex와 Antigravity는 .agents/skills/를 사용해요.
사용법(Usage)
스킬은 AI 어시스턴트가 자동으로 발견하거나, /heroui-migration 명령으로 직접 호출할 수 있어요.
간단히 AI 어시스턴트에게 물어보세요:
- HeroUI v2에서 v3으로 컴포넌트 마이그레이션하기
- 전체 또는 점진적 마이그레이션 워크플로우 받기
- 컴포넌트별 마이그레이션 가이드 가져오기
- hooks 및 스타일링 마이그레이션 문서 접근하기
포함된 내용(What's Included)
- 마이그레이션 워크플로우(전체 및 점진적)
- 컴포넌트별 마이그레이션 가이드(39개 컴포넌트)
- Hooks 마이그레이션 가이드(useDisclosure → useOverlayState 등)
- 스타일링 마이그레이션 가이드(유틸리티 클래스, 색상 토큰, CSS 변수)
- 주요 API 변경 및 합성 컴포넌트 패턴
구조(Structure)
skills/heroui-migration/
├── SKILL.md # Main skill documentation
├── LICENSE.txt # Apache License 2.0
└── scripts/ # Utility scripts
├── list_migration_guides.mjs
├── get_migration_guide.mjs
├── get_component_migration_guides.mjs
├── get_styling_migration_guide.mjs
└── get_hooks_migration_guide.mjs
링크(Links)
- GitHub Repository
- Discord Community
- Agent Skills - Agent Skills 포맷 알아보기