← Back to list

ui-polish
by bajor3k
⭐ 0🍴 0📅 Jan 21, 2026
SKILL.md
name: ui-polish description: Guide for ensuring UI consistency and premium aesthetics. Use when creating new pages/components or refining existing ones.
UI Polish Skill
This skill ensures that all UI components and pages follow the project's design system and maintain a "premium" aesthetic.
When to use this skill
- When creating a new page or component.
- When the user asks to "make it look good" or "match the design".
- When fixing UI inconsistencies.
Design System Initialization
Before writing any UI code, you MUST read these files to ground yourself in the current design system:
src/app/globals.css(for global variables and base styles)tailwind.config.ts(for theme colors, font families, and extensions)src/components/AppShell.tsx(to understand the layout structure)src/components/ui/*.tsx(check at least one primitive likeButton.tsxorCard.tsxto see usage patterns)
Aesthetic Rules
1. Typography
- Headers: Use
font-boldfor main headers. Ensure a clear hierarchy (text-3xl,text-xl,text-lg). - Body: Use
text-muted-foregroundfor secondary text to reduce visual noise. - Font: Trust the
font-sansconfigured in Tailwind (usually Inter or similar).
2. Spacing & Layout
- Consistency: Use standard Tailwind spacing steps (
4,6,8,12). Avoid arbitrary pixels ([37px]). - Containers: Use
container mx-auto p-6for page roots unless full-width is required. - Gap: Always use
gap-classes in Flex/Grid instead of margins on children.
3. Visuals (The "Matrix" Theme)
- Dark Mode: Design primarily for dark mode.
- Cards: Use the
Cardcomponent. Add subtle borders (border-border) and shadows. - Glassmorphism: Use
bg-background/95 backdrop-blurfor overlays/sticky headers. - Gradients: Use subtle gradients for backgrounds or text accents if appropriate (e.g.,
bg-gradient-to-r).
4. Interactions
- Hover States: All interactive elements (buttons, cards, list items) MUST have a hover state (e.g.,
hover:bg-accent). - Transitions: Add
transition-all duration-200to interactive elements for smoothness. - Motion: Use
framer-motionfor entry animations (e.g., fade-in for page load).
Component Usage
DO NOT create custom styles for standard elements. Use the existing UI library:
- Buttons:
import { Button } from "@/components/ui/button" - Inputs:
import { Input } from "@/components/ui/input" - Cards:
import { Card, CardHeader, ... } from "@/components/ui/card" - Dialogs:
import { Dialog, ... } from "@/components/ui/dialog"
Checklist Before Implementation
- Did I check
tailwind.config.tsfor existing colors? - Am I using the
cn()utility for class merging? - Am I importing Shadcn UI primitives instead of writing raw HTML/CSS?
- Have I added
hoverstates to interactive elements? - Is the spacing consistent with the rest of the app (multiples of 4)?
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon