لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

UI Design

آزاد تازه‌وارد تاییدشده امن

اصول چیدمان، ریسپانسیو بودن، کنتراست رنگ، دسترس‌پذیری و هماهنگی اجزای صفحه را هنگام ساخت یا اصلاح ظاهر سایت رعایت می‌کند. (شامل ۴۱ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: این Skill به مسیر/قابلیت اختصاصی Codex CLI وابسته است. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: ui-design
description: Use when building, redesigning, restyling or extending a user interface of any kind, such as a website, landing page, web app, dashboard, admin panel, desktop app or mobile app screen, a component, a theme or dark mode, or a design system or DESIGN.md file; and whenever new UI must match the look of an existing project. Covers choosing a visual direction for a new product and keeping later screens consistent with earlier ones. Also use for Vietnamese requests such as "làm giao diện", "thiết kế UI", "thiết kế lại", "làm trang landing", "làm dashboard", "thêm màn hình", "thêm tab", "sửa giao diện", "đổi màu", "làm cho đẹp hơn", "giao diện cho đồng bộ", "làm dark mode", "tạo design system", "làm mẫu UI cho xem", "UI/UX".
license: MIT
metadata:
  version: "1.0.0"
---

# UI Design

Design and build interfaces that look intentional, feel consistent from the first screen to the last, and work for real users on real devices. Taste comes from understanding the product and its users, not from trends.

Reply in the user's language. Write `DESIGN.md` in the language the project uses (templates: `templates/en/DESIGN.md`, `templates/vi/DESIGN.md`).

## Ground Rules

1. **Look before you ask.** Read the code, existing screens, `DESIGN.md`, `AGENTS.md` and `package.json` (or the stack's manifest) before asking anything the project already answers.
2. **The design system is the source of truth.** Once `DESIGN.md` exists, every color, size, radius, shadow, duration and component comes from it. Need something new? Add it to `DESIGN.md` in the same change, and tell the user.
3. **Consistency beats novelty in an existing product.** Refining preserves the current identity; only a redesign the user asked for replaces it.
4. **The user decides the direction.** Propose options with a recommendation; do not impose a look. Never ask the user for raw CSS values.
5. **Real content, no invented proof.** Use realistic text and data. Never invent testimonials, customer logos, metrics or awards; mark placeholders clearly and list them in the report.
6. **Every state, every size.** A screen is not done until its loading, empty, error, disabled and long-content states work from small phone width to wide desktop.
7. **Follow `project-standards` if installed:** confirm before changing existing code, plan large work in phases, ask before a full review.

## Step 1 — Classify the Request

| Request | Path |
|---|---|
| Fully specified small change ("make this button use the primary color", "fix the padding on the card") | Read the relevant code and `DESIGN.md`, make the change with existing tokens, report. Skip discovery. |
| New UI inside an existing product (new screen, tab, component, section) | Step 3 (existing project), then Step 5. |
| Restyle, polish or "make it look better" on an existing product | Step 3, then propose targeted improvements before editing. |
| New product, new site, or a redesign the user asked for | Step 2 (discovery), Step 4 (direction), then Step 5. Large work goes through a phased plan. |

## Step 2 — Discovery for a New Product or Redesign

Goal: understand the product well enough to propose directions. Full question bank and how to run the conversation: [references/discovery.md](references/discovery.md).

- Detect what you can first: stack and UI libraries from manifests, existing brand assets, any content already written.
- Ask **one question at a time**, starting open ("What should someone be able to do on this screen?"), then narrow down. Bundle at most three quick questions when they are simple and related. Give a recommended default whenever possible.
- Cover: **platform** (website, landing page, web app, desktop app, mobile app), **stack**, **users and their main task**, **type of each surface** (persuade: marketing pages; operate: apps, dashboards, tools; read: docs, articles), **brand** (logo, colors, fonts that must stay), **tone** in a few adjectives, **where and when it is used** (decides light or dark default), **devices**, **interface language(s)** (Vietnamese text runs longer than English; plan layouts for it), **references** the user likes or dislikes, **accessibility or legal requirements**.
<!-- ‹guest · 2026-12-04› -->
- Play back what you understood in short sections and mark what the user said versus what you assumed. Ask "what is wrong or missing?"

## Step 3 — Learn the Existing Design

Before adding or changing UI in an existing project:

1. **Read `DESIGN.md`** if it exists. Follow it.
2. **If there is no `DESIGN.md`**, capture the current design from the code, in this order: CSS variables / theme tokens → Tailwind or framework theme config → global styles → shared components (buttons, inputs, cards, tables, dialogs, navigation) → two or three representative screens, including the ones next to the area you will change. A missing `DESIGN.md` does not make the project a blank slate.
3. **Write the findings into `DESIGN.md`** (status: captured), recording only values found in code; mark anything inferred. Show the user a short summary. Process: [references/design-md.md](references/design-md.md).
4. **If screens disagree** (two button styles, three grays, mixed radii), do not pick silently. Show the variants with where each is used and recommend one; record the user's choice in `DESIGN.md`.
5. Match neighbouring screens: same layout shell, spacing rhythm, component variants, icon set, copy tone.

## Step 4 — Propose a Direction (new products and redesigns)

1. Name the **category default** — what most products of this kind look like — so you can decide consciously whether to follow or depart from it.
2. Decide the **color strategy** before picking colors: mostly neutral with one accent (most apps), a committed brand color, or a full palette (playful or content-heavy products).
3. Decide **light or dark** from the usage scene (an office dashboard at noon vs. a media app at night), not from the category.
4. Present **2–3 distinct directions**, each with: a one-line idea, palette roles, type pairing, density, radius and shadow character, motion level, one sketch of the key screen in words or a simple text wireframe, and trade-offs. Recommend one.
5. **Offer HTML previews** when the user is unsure or the directions are hard to judge in words: the same key screen with the same real content, built in each style as a self-contained HTML file plus a comparison page, so the user can open them in a browser and pick. Ask first; never build them unasked. How: [references/previews.md](references/previews.md).
6. After the user chooses (from the descriptions or the previews), write `DESIGN.md` (status: decided) and confirm it before building screens.

Visual rules for type, color, spacing, layout, elevation and dark mode: [references/visual-system.md](references/visual-system.md).

## Step 5 — Build

- Use the project's stack and existing UI library. Check installed packages before adding any library; never swap an installed one without asking. Platform specifics and library choices: [references/platforms.md](references/platforms.md).
- Put tokens in code (CSS variables, theme config) and reference them; no hard-coded colors, sizes or durations in components.
- Build every interactive state and every data state. Forms, navigation, tables, feedback, formatting and truncation rules: [references/components-states.md](references/components-states.md).
- Responsive from 320px up; touch targets at least 44×44 px; never disable zoom; no horizontal scrolling on content.
- Accessibility floor: semantic elements, labels on every input, visible focus, contrast at least 4.5:1 for text and 3:1 for large text and controls, keyboard reachable, color never the only signal, reduced-motion respected.
- Motion only with a purpose, using the project's durations and easing. Rules: [references/motion.md](references/motion.md).
- Avoid the generic "AI-generated" look and copy: [references/anti-patterns.md](references/anti-patterns.md).
- For several screens or a whole product, build one representative screen first, get feedback, then continue.

## Step 6 — Check Before Reporting

Quick self-check (not a full review):

- [ ] Only tokens from `DESIGN.md` used; any new token added there.
- [ ] Matches neighbouring screens (shell, spacing, components, copy tone).
<!-- ‹guest · 2026-12-04› -->
- [ ] Hover, focus-visible, active, disabled, loading, empty, error states present.
- [ ] Looks right at about 375 px and 1440 px; long text and large numbers do not break layout.
- [ ] Labels, focus, contrast and keyboard access in place.
- [ ] No placeholder or invented content left unmarked.

If you can run the app and view it in a browser, look at the result at phone and desktop width before reporting. If you cannot, say that the visual result is not verified.

For medium or large UI work, ask once whether the user wants a full UI review (the `ui-review` skill) — at planning time or at the end — and never run it on your own.

## Remember the User's Taste

When the user corrects a design choice, and the correction would apply beyond this one element, propose adding it to `DESIGN.md` as a rule with a short reason (marked "inferred" if the user did not state one). Prefer a rule a tool can check (lint rule, token restriction) over a sentence. Do not write rules the user did not confirm.

## Report

1. **What changed** — screens and components, in plain words.
2. **Design decisions** — tokens added or changed, deviations from `DESIGN.md` and why.
3. **Checked** — sizes and states you verified, and how (browser, screenshot, code only).
4. **Not verified / placeholders** — anything assumed, invented as a placeholder, or not viewed.
5. **Suggestions** — up to three, optional.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
طراحی رابط کاربری
آزاد

REA tool design

«REA tool design» یک مهارت آماده در حوزهٔ طراحی رابط کاربری است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «خودکارسازی جریان …

⚡ /rea-tool-design SKILL.md
Claude / Claude CodeMCP
۷۵/۱۰۰ ★ ۴۷۴,۰۸۴
طراحی رابط کاربری
✦ Pro

Brainstorming

برای کارهای طراحی رابط کاربری، «Brainstorming» یک راهنمای کوتاه و روشن است: مسیر «خودکارسازی جریان کار و گیت (Git / CLI…

⚡ /brainstorming SKILL.md
Claude / Claude Code
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰
طراحی رابط کاربری
✦ Pro

Frontend Design

«Frontend Design» همان چیزی است که وقتی سر طراحی رابط کاربری کار می‌کنید کم است: دستیار شما با این مهارت «هماهنگی عامل‌…

⚡ /frontend-design SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

DESIGN PHILOSOPHY CREATION

برای کارهای طراحی رابط کاربری، «DESIGN PHILOSOPHY CREATION» یک راهنمای کوتاه و روشن است: مسیر «بازنویسی و تمیزسازی کد (…

⚡ /canvas-design SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

Theme Factory Skill

اگر روی طراحی رابط کاربری کار می‌کنید، «Theme Factory Skill» بخشی از کار را از دوش شما برمی‌دارد: «پردازش اسناد، PDF و …

⚡ /theme-factory SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

Anthropic Brand Styling

برای کارهای طراحی رابط کاربری، «Anthropic Brand Styling» یک راهنمای کوتاه و روشن است: مسیر «طراحی رابط کاربری و تجربه ک…

⚡ /brand-guidelines SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴