Communitygithub.com

CharbelElBateh/personal-website

프론트엔드 작업에 적합한 라이브러리를 선별된 의견 기반 목록에서 골라 추천합니다. 숫자, OTP 입력, 차트, 명령 메뉴, 가상화, 드래그 앤 드롭, 토스트, 상태 관리, 스타일링 등 다양한 영역을 다룹니다. 명시적으로 호출될 때만 실행되며, 자동으로 실행되지 않습니다.

personal-website란 무엇인가요?

이 스킬은 프론트엔드 개발자가 특정 작업에 가장 적합한 라이브러리를 빠르게 선택할 수 있도록 돕는 조회형 도구입니다. Emil Kowalski가 선별한 엄선된 라이브러리 목록을 기반으로 하며, 사용자가 '토스트가 필요해', '드래그 앤 드롭에는 뭘 써야 하지?' 같은 방식으로 질문하면 해당 작업을 목록과 매칭하여 라이브러리를 추천합니다. 이 스킬은 프레임워크에 구애받지 않으며, Claude Code, Cursor, Codex, Windsurf, Cline, Copilot 등 다양한 AI 비서 및 에이전트 플랫폼에서 작동하도록 설계되었습니다. 사용자는 먼저 작업을 명확히 식별하고, 프로젝트의 `package.json`을 확인하여 이미 설치된 라이브러리를 우선 고려하며, 목록에서 명확한 답이 있는 경우 하나의 라이브러리만을 추천합니다. 목록에 없는 작업은 명확히 알리고 자신의 지식을 바탕으로 추천하되, 추천이 선별된 목록을 벗어났음을 분명히 합니다. 이 스킬은 UI 컴포넌트, 모션 및 비주얼, 차트, 상호작용 및 성능, 상태 및 스타일링 등 5가지 주요 영역을 다루며, 각 영역별로 최적의 라이브러리를 제시합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/CharbelElBateh/personal-website/tree/HEAD/.claude/skills/pick-ui-library

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

적합한 라이브러리 고르기

초기 응답

이 스킬이 특정 질문 없이 처음 호출되었을 때는 다음 메시지만 응답합니다:

작업에 적합한 라이브러리를 골라드릴 준비가 되었습니다. 제 추천은 Emil Kowalski의 선별 목록을 기반으로 합니다.

사용자가 질문할 때까지 다른 정보는 제공하지 마십시오.

조회형 스킬입니다. 작업("토스트가 필요해", "드래그 앤 드롭에는 뭘 써야 하지?")과 함께 호출되면, 작업을 아래 선별 목록과 매칭하여 라이브러리를 추천합니다. 이는 신중하고 취향이 반영된 선택입니다. 사용자가 요청하거나 작업이 목록에 포함되지 않은 경우를 제외하고는 이 목록 외부의 대안을 제시하지 마십시오.

사용 방법

  1. 사용자가 언급한 라이브러리 이름이 아니라 작업을 식별하십시오. "드롭다운을 보여줘야 해"는 UI-프리미티브 작업(base-ui)입니다. 사용자가 다른 것을 물어봤더라도 마찬가지입니다.
  2. 이미 설치된 라이브러리를 확인하십시오. 먼저 package.json을 확인하세요. 프로젝트에 목록에 있는 라이브러리가 이미 사용 중이라면 그것을 사용하십시오. 경쟁 라이브러리(예: react-window 대신 Virtuoso)가 있다면 권장 사항을 알리되, 요청 없이 의존성을 바꾸지 마십시오.
  3. 라이브러리 하나를 추천하고, 그것이 무엇을 위한 것인지 한 문장으로 설명한 후, 요청의 일부라면 설치/설정을 진행하십시오. 목록에 명확한 답이 있을 때 여러 옵션을 제시하지 마십시오.
  4. 작업이 목록에 포함되지 않았다면 명확히 말하고 자신의 지식을 바탕으로 추천하십시오. 단, 선별 목록을 벗어났음을 분명히 하십시오.

목록

UI 컴포넌트 및 프리미티브

작업라이브러리
스타일이 지정되지 않은 접근성 좋은 UI 컴포넌트 (대화상자, 팝오버, 메뉴, 선택 등)base-ui
명령 메뉴 (⌘K 팔레트)cmdk
토스트 / 알림Sonner
일회용 비밀번호 / 인증 코드 입력input-otp
맞춤형 GUI / 제어판Leva — dialkit 도 대안입니다

모션 및 비주얼

작업라이브러리
범용 애니메이션 (스프링, 레이아웃 애니메이션, 진입/퇴장)motion (Framer Motion)
숫자 애니메이션 (카운터, 가격, 통계)NumberFlow
애니메이션 텍스트 컴포넌트torph
3D 지구본Cobe
동적 OG 이미지 (HTML/CSS → SVG/PNG)Satori
구문 강조shiki

스프링, 레이아웃 애니메이션, 퇴장 애니메이션 또는 제스처 기반 값이 필요할 때 motion을 사용하십시오. 단순한 호버나 페이드에는 필요하지 않습니다. 일반 CSS 전환이 적절한 도구입니다.

차트

작업라이브러리
실시간 / 스트리밍 차트Liveline
일반 차트 (정적 또는 대화형 대시보드)recharts

구분: 데이터 포인트가 실시간으로 도착하고 시간에 따라 차트가 스크롤되면 Liveline을 사용하십시오. 그 외의 모든 경우는 recharts입니다.

상호작용 및 성능

작업라이브러리
드래그 앤 드롭dnd kit
가상화 (긴 목록, 큰 테이블)Virtuoso

상태 및 스타일링

작업라이브러리
상태 관리zustand
조건부로 className 문자열 구성clsx
Tailwind를 위한 타입 세이프, 변형 기반 스타일링cva
테마 전환 / 다크 모드 (로드 시 깜빡임 없음)next-themes

스타일링 구분: 클래스 임시 조건부에는 clsx를 사용하고, 컴포넌트에 타입 API가 필요한 실제 변형(크기, 의도, 상태)이 있을 때는 cva를 사용하십시오. 이들은 함께 구성됩니다. cva는 내부적으로 clsx 스타일 입력을 사용합니다.

잡아내야 할 일반적인 실수

  • 직접 만들거나 모달 라이브러리로 만든 토스트 → 정확히 이 용도로 Sonner가 있습니다.
  • 수동 포커스 처리가 있는 <div> 기반 드롭다운/대화상자 → base-ui는 접근성, 포커스 트래핑 및 해제를 처리합니다.
  • 텍스트를 다시 렌더링하여 숫자 애니메이션 처리 → NumberFlow가 숫자 전환을 적절히 처리합니다.
  • 1,000개 이상의 행 목록을 직접 렌더링 → 페이지네이션 해킹을 시도하기 전에 Virtuoso를 사용하십시오.
  • 공유 상태를 위한 useState-컴포넌트당 프롭스의 그물 → zustand를 사용하십시오.
  • 세 단계 깊이의 템플릿 리터럴 className 삼항 연산자 → clsx (또는 변형 형태라면 cva)를 사용하십시오.

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

CharbelElBateh/personal-website

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`.

CharbelElBateh/personal-website

Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a component feel alive, or build a transition. For critiquing existing motion use review-animations; for auditing a whole codebase use improve-animations.

CharbelElBateh/personal-website

Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.

CharbelElBateh/personal-website

Apple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading), reduced-motion, or the design foundations (feedback, spatial consistency, restraint) behind Apple-style interfaces.

CharbelElBateh/personal-website

Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and icons, positioning and multiple toasters. Use when working with Sonner or troubleshooting it — toasts that don't appear, appear twice, lose their styles, ignore Tailwind classes, sit behind a modal, or don't follow dark mode.

CharbelElBateh/personal-website

Try to break a piece of UI by feeding it worst-case data — long names, unbreakable emails, one-letter names, missing fields, huge counts, zero items, long labels, non-Latin text, emoji, extreme numbers — then render it behind a "Demo data / Worst case" toggle and report everything that broke, with the fix for each. Use when the user asks to stress-test, break, or find edge cases in a component or screen, or to "try the worst case". For visual design critique use emil-design-eng; for motion use review-animations.

CharbelElBateh/personal-website

This skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible details that make software feel great.

CharbelElBateh/personal-website

Search a codebase or UI for places that don't animate but should, and reject everything that shouldn't. Read-only; it proposes motion with exact values, it does not implement it. Use when the user asks "what could be animated here?" or wants to "make this feel more alive". For fixing existing animations, use improve-animations or review-animations instead.

CharbelElBateh/personal-website

Survey a codebase's animation and motion code as a senior motion advisor, then produce a prioritized audit and self-contained implementation plans for other agents (or cheaper models) to execute. Read-only on source code — it plans improvements, it does not apply them. Use when the user asks to "improve the animations", "audit the motion", "make this app feel better", or wants a roadmap of animation fixes rather than a review of a single diff.

CharbelElBateh/personal-website

Make a web app feel native on a phone — the small CSS and meta-tag fixes that separate "a website in a browser" from something that feels installed. Covers sticky hover states, tap highlight flashes, the 100vh bug, inputs that zoom the page, laggy taps, pull-to-refresh hijacking scroll, content under the notch, long-press selecting button text, carousels that scroll the wrong way, mismatched status bars, and the rule that you test on real hardware. Use when a web app is being built for or reviewed on mobile, when something "works in Chrome but feels wrong on my phone", when building a PWA, a bottom sheet, a carousel, a full-screen layout, or any touch interaction. For motion itself use animate; for React Native use animate-expo.

CharbelElBateh/personal-website

Build multiple genuinely different versions of a UI piece you describe, rendered behind a visual picker so you can flip through them live and promote the one that feels right. Only runs when explicitly invoked; it does not trigger on its own.

CharbelElBateh/personal-website

Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.

CharbelElBateh/personal-website

How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-by-default, actors, task groups), protocols and generics (some vs any), API design, performance and ARC, Swift Testing, macros, and the modern language features agents don't know about yet. Use when writing, reviewing, or migrating Swift, or when a concurrency error, a hang, a data race, a retain cycle, or a performance problem needs fixing.

관련 스킬