better-ui
하는 일
이 스킬은 카드, 버튼, 아이콘, 애니메이션 같은 인터페이스의 마무리 디테일을 더합니다. 일관되고 세련된 모양을 원하는 디자이너와 개발자를 위한 것입니다.
사용하는 경우
- ✓카드, 버튼, 중첩된 표면의 모서리가 고르지 않아 보일 때.
- ✓아이콘이나 애니메이션이 어색하거나 일관되지 않을 때.
- ✓인터페이스의 마무리 디테일을 점검하고 싶은 경우.
스킬 링크
https://github.com/jakubkrehel/skills/blob/main/skills/better-ui/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 카드와 버튼 모서리가 고르지 않고, 메뉴 애니메이션이 느리게 느껴집니다. UI 디테일을 다듬어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 모서리 반경, 그림자, 아이콘 정렬, 애니메이션 타이밍에 정확한 값을 적용하고, 이를 프로젝트의 컴포넌트와 토큰에 맞춥니다. 기본 상호작용이 제대로 된 뒤에만 다듬습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
UI polish
This skill holds the visual polish for surfaces, icons and motion, with the exact value each detail takes. It applies once the underlying interaction is sound, and a polish finding never outranks a broken interaction.
Exact values, optional polish
The values below are exact, not ranges to approximate. cubic-bezier(0.2, 0, 0, 1) is not cubic-bezier(0.4, 0, 0.2, 1), and 0.96 is not 0.95. The optical nudges and the concentric padding cutoff are the exceptions. They are starting points, judged by eye.
Keep the project's component library, tokens and density, and match its motion language wherever no rule here gives a value. A deliberate and consistent project convention, such as a style with no shadows, is a preference and not a finding. The same detail done two ways within the project is a finding.
Text wrapping, font rendering, tabular numbers and text spacing belong to better-typography. Hit areas, keyboard support, ARIA and the reduced-motion requirement belong to better-accessibility. Grouping, section spacing, breakpoints and spatial RTL belong to better-layout, except directional icon mirroring. Color tokens and contrast measurement belong to better-colors.
Outer radius equals inner radius plus padding
Where nested surfaces share a visible, even inset, the outer radius is the inner radius plus the padding plus any border width. Past 24px of padding, or where the padding is deliberately asymmetric, treat the layers as separate surfaces and keep each one's radius token. Recipes are in surfaces.md.
Align optically where geometry looks off
Where geometric centering looks off, nudge by eye. Give a button 2px less padding on its icon side, shift a play triangle toward its point and fix asymmetric glyphs in the SVG itself. Recipes are in surfaces.md.
Shadows for elevation, borders for structure
Where a border exists only to create depth, replace it with layered transparent box-shadow values. Keep borders on dividers, separators, table cells and selected states. Keep them on form inputs too, whose boundary needs 3:1 non-text contrast under better-accessibility. Focus rings belong to better-accessibility as well.
Forced-colors mode removes every box-shadow. Keep border: 1px solid transparent under a shadow ring so that mode still draws an edge. Recipes are in surfaces.md.
Outline images in pure black or white
Give content images a 1px outline inset by 1px. Use oklch(0 0 0 / 0.1) in light mode and oklch(1 0 0 / 0.1) in dark. Never use a palette near-black, a tinted neutral or the accent color, because the tint shows as a colored fringe on the image edge. Skip transparent artwork such as logos and illustrations. The recipe is in surfaces.md.
Transitions, not keyframes, for interactive state
Drive interactive state changes with CSS transitions or a motion library's springs, which retarget when the user reverses mid-flight. Keyframes run a fixed timeline and cannot reverse, so reserve them for sequences that run once. See animations.md.
Press scales to 0.96
A pressed button scales to 0.96 over 150ms with ease-out, and a disabled one never scales. Give the button an opt-out where the motion would distract, through the component's existing variant API or a static prop. See recipes for CSS, Tailwind and Motion.
High-frequency interactions respond instantly
Keystrokes, row hovers and tab switches get instant feedback, or a transition of 150ms or less on opacity or background-color. Reserve expressive motion for infrequent moments such as a view's first load, a success state or an empty state.
Every animated state change also leaves a static cue in the form of a color, icon or label. Motion is never the only feedback channel.
Gate motion behind the reduced-motion preference
better-accessibility owns the requirement, and no recipe here ships without it. Run movement, scale and blur only under prefers-reduced-motion: no-preference. Under reduced motion, replace them with an opacity cross-fade rather than removing the element instantly. Recipes for CSS, Tailwind and Motion are in animations.md.
Stagger infrequent entrances by 100ms
Where sequence communicates hierarchy in a staged entrance, split the content into semant
자주 묻는 질문
제 디자인 스타일을 바꾸나요?
아닙니다. 그림자 없음 같은 일관된 스타일 선택은 프로젝트의 선호로 존중됩니다.
애니메이션 접근성도 다루나요?
동작 줄이기 요구는 접근성 스킬의 담당이며, 이 스킬은 그 스킬을 안내합니다.
값은 고정되어 있나요?
대부분의 값은 정확하지만, 일부 광학적 조정은 눈으로 판단합니다.
상세 정보
작성자의 원본 설명
Polishes surfaces, icons and motion with exact values for border radius, optical alignment, shadows, icon states and animation.
repo: jakubkrehel/skills
인기도
- GitHub 스타
- 10k
- 순위
- #11889
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
better-accessibility
10k인터페이스의 키보드, 포커스, 스크린 리더, 양식, 움직임 문제를 WCAG 2.2 기준으로 검토하고 고칩니다.
better-colors
10k색상 단계 생성, 토큰 이름 짓기, 형식 변환, 대비 측정으로 색상 체계를 만들고 확인합니다.
better-interface
10k에이전트가 화면이나 흐름 전체를 접근성, 레이아웃, 글, 서체, 색, 완성도 측면에서 검토하고 문제의 우선순위를 매기도록 돕습니다.
better-layout
10k그룹화, 정렬, 읽기 순서, 반응형 구조를 설정하고, 크기가 바뀌거나 번역되어도 레이아웃이 유지되는지 확인합니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.