본문으로 건너뛰기
cccskills
무료GitHub에 공개

ui-ux-principles

Canonical UX and UI principles for every interface. Read before planning, building, reviewing, or testing any user-facing screen, flow, modal, form, or component.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md17.2 KB
  • taste-log.md2.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Global Interface Principles

This skill is the source of truth for interface behavior and presentation. Read the current version before building or changing any UI. Other skills may add domain or aesthetic guidance, but they must reference these principles and cannot override them unless the user explicitly requests an exception.

Design Principles

Preserve product truth

  • Treat the current product behavior, approved screenshots, committed navigation, shared shells, and user-named exemplars as constraints. Polish, clean up, audit, and make this better do not authorize a redesign.
  • Make the requested delta only. Do not rename, relocate, add, or remove adjacent navigation, controls, content, or workflows unless the request requires it.
  • Never fabricate product semantics, counts, statuses, roles, copy, controls, or workflows to fill a gap. Inspect the real implementation and data first. If the intended meaning is still unclear, ask before building it.
  • When an approved reference and the current implementation differ, identify the exact difference and confirm which one is authoritative before replacing behavior.

Design for the product mode

  • Operational interfaces are compact, quiet, and structured around the work surface.
  • Marketing and commerce interfaces may be more expressive through authentic imagery, branded typography, and one restrained accent color.
  • Density follows the task. Repeated operational work is compact; explanation and persuasion have room to breathe.
  • Familiar controls remain visually quiet in every mode.

Layout and spacing

  • Align navigation, page headers, content, tables, and action rows to one shared content frame.
  • Use a named 4px-based spacing scale. Do not introduce isolated spacing values.
  • Use panes, dividers, spacing, and surface changes before adding containers.
  • A container must represent a genuine interaction or content boundary.
  • Avoid wrapper soup, decorative cards, accumulated padding, and unused empty canvas.
  • Responsive layouts recompose around task order. They do not merely scale down a desktop canvas.
  • Related routes use the same application shell, navigation, header, footer, form controls, title hierarchy, and interaction contracts. Do not create a parallel base template for one page unless the product intentionally has a separate mode.

Typography

  • Use no more than one display family and one body family on a product surface.
  • Reserve expressive type for brand or editorial hierarchy. Controls and dense operational text use a highly legible sans-serif.
  • Reserve monospace for code, identifiers, timestamps, and data that benefits from fixed-width alignment.
  • Keep hierarchy short and decisive: optional eyebrow, title, supporting copy, action.
  • Every text level adds information. Never restate the same title or instruction nearby.

Color and theme completeness

  • Build from semantic tokens for surfaces, borders, text, muted text, accent, success, warning, danger, focus, type, spacing, and radius.
  • Prefer a restrained palette: neutral surface hierarchy, one product accent, and semantic status colors.
  • Color has one meaning within a product. Brand color never replaces error, warning, destructive, disabled, or focus meaning.
  • Text, icons, borders, controls, and states must be visually aligned with the surface behind them. Never place a text or control color on a background where it looks accidental, muddy, or inherited from another theme.
  • Black text on gray or dark surfaces, dark text on dark surfaces, pale text on white surfaces, and similarly mismatched foreground/background combinations are release-blocking defects unless the pairing is an intentional token with verified contrast.
  • A light or dark theme is complete only when every visible component and every state uses the correct theme tokens. An unthemed native control, popup, menu, dialog, table, editor, tooltip, empty state, loading state, error state, or third-party component is a release-blocking defect.
  • Theme review must cover default, hover, focus, active, selected, disabled, loading, empty, success, warning, error, destructive, and overlay states.
  • One-off color, spacing, radius, shadow, and type values require an explicit documented reason.
  • Meet WCAG AA contrast in every state. Passing automated contrast checks does not excuse a visually discordant or obviously mis-themed combination.

Density and component patterns

  • Dense interfaces remain legible, aligned, and keyboard operable.
  • Use one visually dominant action per view or decision region. Secondary actions are quieter.
  • Buttons use specific verbs that state the result.
  • Components define default, hover, focus, active, selected, disabled, loading, success, and error states where relevant.
  • Use modest radii, fine borders, and restrained shadows. Pills are reserved for tags, filters, and statuses.
  • Use authentic product, garment, system, or content imagery rather than generic decoration.

Motion

  • Motion confirms causality, change, progress, or spatial continuity.
  • Functional transitions are brief and use transform or opacity where practical.
  • Avoid ambient loops, decorative parallax, layout-property animation, and motion that competes with the task.
  • Pause or stop non-essential motion on hover or focus where relevant.
  • Respect prefers-reduced-motion without replacing one long animation with another.

Interaction feedback and states

  • Feedback appears next to the control or object that caused it.
  • Success is brief. Errors remain until fixed or dismissed and include a recovery action where one exists.
  • Loading preserves the final layout. Empty states explain what belongs there and offer the primary action.
  • Preserve entered data after validation, network, and server errors.
  • Navigation and state changes are deterministic and do not create surprise movement or layout shift.

Microcopy

  • Copy is short, natural, specific, and verb-led.
  • Say what will happen next: Save customer, Book the call, Reload this page.
  • Avoid OK, Yes, Submit, filler, repeated helper text, and context-free errors.
  • Reassure through clarity and recovery, not apology-heavy prose.

Finished detail

  • A visual change is not complete until the current final render has been inspected at full resolution.
  • Check alignment, hierarchy, rhythm, truncation, overflow, collisions, focus, target size, asset quality, content order, state consistency, color pairing, and theme completeness.
  • Verify representative desktop, mid-width, and mobile views after the last content or layout change.
  • Do not use stale screenshots, source review, automated contrast results, or automated tests as substitutes for final visual inspection.
  • Reconcile the finished UI line by line against the user's request and any supplied reference. A successful build, a representative screenshot, or a passing happy path does not prove that every requested item is present.
  • For multi-route or role-sensitive work, maintain a coverage matrix of route, role, permission, state, viewport, and requested behavior. Every applicable cell must be verified, explicitly excluded with a reason, or reported as blocked.

UX Principles

One screen, one job

  • Each page or modal has one clear purpose.
  • Never merge list, create, edit, and detail views into one hybrid screen.
  • Do not use edit-in-place, forms embedded inside lists, or expanding rows that turn into forms unless the user explicitly specifies that interaction.

Fixed CRUD flow

  • The list page is the home of every entity and exposes search, filters, sorting, pagination, and relevant bulk actions.
  • Add and Edit use the same form component.
  • A form with five fields or fewer and no nested data uses a modal. A longer form uses a page or drawer. A complex record with tabs, nested items, or related lists uses a full page.
  • Delete uses either a clear confirmation modal or soft delete with an Undo toast, chosen according to reversibility and consequence.

Orientation, feedback, and predictability

  • The user always knows where they are, what they can do, and what just happened. Navigation state, the primary action, and action feedback are explicit.
  • The same action always produces the same result in the same place. Avoid surprise navigation, layout shift, and hidden side effects.
  • Never stack modals. A modal never opens another modal. Never open a popup or modal on page load.
  • Warn before discarding unsaved changes. Keep input on validation errors. Validate inline on blur and on submit.
  • After save, return the user to the originating view with the changed record visible.
  • Errors explain what went wrong and how to fix it, with a retry when relevant. Empty states explain what belongs there and offer the primary action.
  • The URL preserves filters, sort, page, and the open record so the state is deep-linkable and survives refresh.
  • Use the fewest steps possible. If a task takes three clicks and can safely take one, simplify it.

UI Principles

Every element must earn its place. If removing it loses no function or necessary meaning, remove it.

No duplication

  • A labelled tab does not repeat that label as a heading in its content.
  • A page title shown in the header or banner is not repeated in the body, the final breadcrumb item, a card title, or a section heading.
  • A modal title states the action once. Its body does not restate the title, and its primary button uses the specific verb, such as Save customer.
  • Never show the same information twice on one screen. Do not repeat counts, add summary cards that restate table data, or use a subtitle that restates the title.
  • Use one primary action per view. Do not duplicate the same action in the header and footer.

No bloat

  • Do not add generic hero banners, gratuitous icons, gradient cards, stock illustrations, emoji, or welcome text unless explicitly required.
  • Avoid wrapper soup. Use one level of containment unless the content structure genuinely requires another.
  • Do not add placeholder or marketing copy such as Manage your items with ease. Labels are short and functional.
  • Remove helper text, tooltips, and descriptions that merely repeat the label.
  • Do not add dashboards, statistics widgets, or charts that were not requested.
  • Whitespace comes from spacing tokens, not accumulated padding used to fill the screen.
  • Never use invented copy, fake metrics, placeholder counts, or speculative controls to make a screen appear finished. Missing product meaning is a requirements question, not a visual-design opportunity.

Consistency and accessibility

  • Use design tokens for spacing, color, type, and radius. Do not introduce one-off values.
  • Every page header shows the title and a single primary action in the top right.
  • Buttons use specific verbs, never OK, Submit, or Yes. Cancel is on the left, the primary action is on the right, and destructive actions use destructive styling.
  • Right-align numbers and currency in tables. Use one date format across the application.
  • Success uses an automatically disappearing toast. Errors remain visible until fixed. Never use browser alert() or confirm().
  • Loading uses skeletons rather than full-page spinners.
  • Every interface is keyboard navigable with visible focus states, WCAG AA contrast, and labelled fields.
  • On mobile, tables become cards and drawers become full-screen sheets.

Taste Memory

Older skill references to Fix Memory mean this process.

  • Maintain taste-log.md alongside this document.
  • Whenever the user rejects, corrects, or reworks a UI decision, append one line containing the date, what was done, what the user wanted instead, and why.
  • Ask the user for the reason when it is not clear. Do not invent intent.
  • When the same correction appears two or three times, propose promoting it to a rule in Design Principles. Do not promote one-offs.
  • Before starting any UI task, read Design Principles, Definition of Done - UI, and the last 20 entries of taste-log.md.
  • If a log entry contradicts an existing principle, flag the conflict and ask the user which one wins.
  • Keep corrections from the active thread in working context until they have been recorded.
  • When the user asks to audit the UI/UX of a project, apply this skill together with Impeccable, Apple design standards, accessibility review, source inspection, and current rendered desktop/mobile evidence.
  • Record a changelog entry whenever a standing principle changes.

Definition of Done - UI

Older skill references to the Pre-ship Check mean this section.

A UI task is not complete until every relevant item passes:

  • The current Design Principles and last 20 taste-log entries were reviewed before implementation.
  • The requested change was separated from untouched product behavior, and approved navigation, labels, workflows, and shared shells remain unchanged unless explicitly in scope.
  • No product meaning, data, count, status, role, control, or workflow was invented to fill an unclear requirement.
  • The screen has one job, one title, and one visually dominant primary action.
  • Removing any element would remove a function or necessary meaning.
  • Titles, actions, information, and helper copy are not duplicated.
  • Layout uses the product's shared frame, spacing scale, typography, colors, radii, and components.
  • There are no unexplained one-off visual values.
  • Every visible component and state is styled for the active light or dark theme, including native and third-party controls, overlays, menus, dialogs, tables, editors, tooltips, loading, empty, and error states.
  • Foreground/background combinations are visually coherent and meet WCAG AA. No accidental black-on-gray, dark-on-dark, pale-on-white, or inherited cross-theme styling remains.
  • Default, hover, focus, active, selected, disabled, loading, empty, validation error, system error, and success states were checked where relevant.
  • Forms preserve input, show inline errors, protect unsaved changes, and return focus correctly.
  • Success feedback disappears automatically. Errors persist and include retry or recovery where relevant.
  • No browser alert() or confirm() is used.
  • Keyboard navigation, visible focus, labels, modal focus trapping, focus return, WCAG AA contrast, and reduced motion were verified.
  • Desktop, mid-width, and mobile layouts were rendered after the final change and inspected at full resolution.
  • Mobile reflows according to task order, uses practical touch targets, and has no accidental horizontal overflow.
  • The inspection checked clipping, collisions, layout shift, truncation, broken assets, excessive containment, stale content, visual misalignment, token leakage, and incomplete theme coverage.
  • Screenshots or other visual evidence identify the route, viewport, timestamp, and current build or commit.
  • A route-role-permission-state-viewport coverage matrix accounts for every affected surface, including negative cases and hidden or unavailable actions.
  • The final implementation was reconciled line by line against every item in the user's request and supplied references.
  • Every applicable FRAC acceptance criterion passes.

Recommended review widths are 1440x900, a representative width from 980px to 1120px, and 390x844.

Changelog

DateWhat went wrongRule added or changed
2026-10-14Interaction behavior and visual presentation were combined in one rule set.Split the source of truth into separate UX Principles and UI Principles.
2026-10-14Titles, labels, information, and actions could be repeated across one screen.Added No duplication rules and the removal test.
2026-10-14Decorative filler, wrapper soup, and unsolicited widgets made interfaces look generated rather than intentional.Added No bloat rules requiring every element to earn its place.
2026-10-14CRUD views could collapse into hybrid list, detail, and form screens.Added One screen, one job and a fixed CRUD flow.
2026-10-14UI corrections were fixed locally but did not reliably change future behavior.Added Fix Memory, the Pre-ship Check, and a required changelog entry for principle changes.
2026-10-14Product-specific visual taste was implicit across exemplar projects rather than available as standing guidance.Added Design Principles and replaced the narrow pre-ship questions with Definition of Done - UI.
2026-10-14Foreground/background mismatches and partially styled dark-mode components could pass broad token or contrast checks while remaining visibly broken.Added color-pairing, semantic-token, full-state theme coverage, and release-blocking theme-completeness rules.
2026-10-19UI polish requests repeatedly changed unrelated navigation, shells, labels, and workflows or filled unclear gaps with invented product behavior.Added Preserve product truth and prohibited speculative product semantics, data, and controls.
2026-10-19Builds and representative screenshots were treated as completion while requested items, roles, states, routes, or responsive layouts remained unchecked.Added line-by-line request reconciliation and a route-role-permission-state-viewport coverage matrix to Definition of Done.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards. Use this skill to generate semantic ARIA for Web and accessibility traits for Web and Native platforms (iOS/Android).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tensology/decisionsai172026년 10월 21일 업데이트

Whole site or product — a full web accessibility (a11y) audit against WCAG 2.2, following the WCAG-EM methodology. Defines scope, samples representative pages and flows, runs the automated tier (`accessibility-scan`) and the hands-on manual tier (`accessibility-inspect`), and produces one conformance report. Grades each finding by severity and evidence basis, and states per-criterion conformance as pass, fail, or undetermined (needs a human). Use it for 'audit my site for accessibility', 'is this product accessible', 'a11y audit', 'WCAG or Section 508 conformance report', or any multi-page assessment. Assesses; does not fix (use `accessibility-fix`) or diff (use `accessibility-diff`). For a single page use `accessibility-scan`; for hands-on keyboard and screen-reader checks use `accessibility-inspect`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tensology/decisionsai172026년 10월 21일 업데이트

Regression check — diff a live page's web accessibility (a11y) violations against a baseline. By default it compares your uncommitted changes (stash-based); pass `--branch [<name>]` to compare against a branch. Reports the new WCAG violations introduced, the ones fixed, and the count of pre-existing ones. Use it for 'did my change break accessibility', 'what a11y issues did this PR add', or as a CI gate. For a full scan of one page use `accessibility-scan`; for a whole site use `accessibility-audit`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tensology/decisionsai172026년 10월 21일 업데이트

Remediation only — repair web accessibility (a11y) violations against WCAG 2.2 with a baseline, edit, and verify loop. Takes a target (URL, files, directory) or a findings worklist from `accessibility-scan`/`accessibility-inspect`/`accessibility-audit`, applies mechanical fixes as given, leaves TODOs for visual or contextual judgment, and verifies by re-running the baseline check. It only fixes. To find issues use `accessibility-scan` (one page, automated), `accessibility-inspect` (one page, manual), or `accessibility-audit` (whole site, WCAG-EM); to check for regressions use `accessibility-diff`. Use it for 'fix the a11y issues in X', 'make this accessible', 'add missing alt text and labels', 'apply these accessibility fixes', 'remediate these violations'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tensology/decisionsai172026년 10월 21일 업데이트

One page, hands-on manual tier — drive a live page through the web accessibility (a11y) checks a rule engine can't decide: keyboard operation and focus order, screen-reader names, roles and states from the accessibility tree, reflow and zoom, reduced motion, form errors, and target size. Grades each finding by evidence basis (verified / confirm-with-a-human / human-required) and severity, and closes every criterion in a ledger: verified, flagged, not exercised, or N/A. Locates and assesses; does not fix (use `accessibility-fix`). Use it for keyboard testing, focus-order checks, screen-reader or a11y-tree review, reflow and zoom at 200%, or 'is this operable, not just lint-clean'. The automated tier is `accessibility-scan`; `accessibility-audit` runs both across a sampled site.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tensology/decisionsai172026년 10월 21일 업데이트

One page, automated tier — run the web accessibility (a11y) rule engine against a live page and locate every violation it can detect mechanically. Pass a URL, a config target name (e.g. `accesslint:accessibility-scan dev`), or nothing to use the default target from `accesslint.config.json`. Ensures a debuggable Chrome, runs the @accesslint/core engine over CDP, and returns a worklist of live-DOM WCAG 2.2 violations, each grounded to its DOM selector and source `file:line`. Locates; doesn't edit. Use it for 'is this page accessible', 'check a11y on this URL', 'find contrast and alt-text issues', or to verify a UI change. For hands-on keyboard and screen-reader checks use `accessibility-inspect`; for a whole site or product use `accessibility-audit`; to diff against uncommitted changes or a branch use `accessibility-diff`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tensology/decisionsai172026년 10월 21일 업데이트

tensology의 스킬 모두 보기

이 스킬의 문제 신고