Moai Ref Ui Polishのロゴ

Moai Ref Ui Polish

組織人気
modu-ai
moai-ref-ui-polish

UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies frontend/UI domain work with production-grade "interface taste" rules. NOT for: backend logic, database design, DevOps, security audits, non-UI work.

概要

公開者modu-ai
リポジトリmoai-adk
スキル名moai-ref-ui-polish
スター
1.2K
フォーク
226
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    modu-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Moai Ref Ui Polish」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-ref-ui-polish
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modu-ai/moai-adk.git /tmp/moai-adk
mkdir -p .claude/skills
cp -r /tmp/moai-adk/.claude/skills/moai-ref-ui-polish .claude/skills/moai-ref-ui-polish
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMoai Ref Ui Polishを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMoai Ref Ui Polishを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Moai Ref Ui Polishは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

UI Polish Reference

Target Agents

  • manager-develop - Applies polish rules during frontend/UI component implementation (cycle_type=tdd or cycle_type=ddd context)
  • /moai review - UI-design review surface; equivalently available as a per-spawn Agent(general-purpose) frontend specialist per archived-agent-rejection.md §C

Core Philosophy

Great interfaces are a collection of small details that compound into a great experience. AI agents frequently miss these details — an ease-in easing on an enter animation (should be ease-out), a solid border where a semi-transparent shadow reads better, or mismatched radii on nested elements. None of these is catastrophic; together they separate "polished" from "generic".

Before suggesting polish changes, identify the project's existing styling system (design tokens, spacing scale, motion library). Never introduce a second styling system for polish fixes — extend the existing one.

Geometry and Alignment

PrincipleRuleRationale
Concentric Border RadiusouterRadius = innerRadius + paddingMismatched radii on nested elements is the most common cause of an interface "feeling off"
Optical over Geometric AlignmentWhen geometric centering looks wrong, align opticallyButtons with icons, play triangles, and asymmetric icons need a manual nudge; geometric center is visually off-center for these shapes

Elevation and Structure

ElementUseAvoid
Semi-transparent layered box-shadowDepth, elevation, floating surfacesSolid borders for depth (they read heavy and flat)
BordersStructure, dividers, separators, selected/focus stateUsing shadows for structural separation (ambiguous)

Motion

PatternRuleCommon Mistake
Enter animation easingease-out (decelerate) — element arrives calmlyease-in on enter (element appears to slam into place)
Exit animation easingease-in (accelerates away), mirroring the enter curve (small fixed translateY)Full-height collapse, or harsher-than-enter motion
Interruptible state changesCSS transition (can be interrupted mid-animation)keyframes for interactive states (cannot interrupt)
Staged entrancesStagger semantic chunks ~100ms — only for infrequent staged entrancesStaggering routine, high-frequency interactions (feels sluggish)
Contextual icon animationopacity/scale/blur cross-fade (scale 0.25→1, opacity 0→1, blur 4px→0)Toggling visibility (jarring, no transition)
Press feedbackscale(0.96) on click — always 0.96Smaller than 0.95 (reads as a bug, not a press)
First-render enterSkip with initial={false} on AnimatePresence (or equivalent)Enter animation fires on page load (disorienting)
Motion restraintNo custom animation on high-frequency interactions; motion is never the only feedback channelAnimating everything (noise, performance cost, accessibility)

Motion Easing Values (Web/CSS)

CaseValue
With motion library (Framer Motion et al.)transition: { type: "spring", duration: 0.3, bounce: 0 }
Without motion library (CSS)cubic-bezier(0.2, 0, 0, 1) for the standard "decelerate" curve
Nevertransition: all — always specify exact properties (transition-property: scale, opacity)

Motion Accessibility and Cost

RuleDetail
Reduced-motion branch (required)Every non-decorative animation needs a prefers-reduced-motion: reduce path. Vestibular-disorder users are physically harmed by large-displacement and parallax motion. Reduce to an opacity cross-fade or remove the animation — never merely shorten it. The branch is authored at the same time as the animation, not retrofitted
Animate the compositor, not the layouttransform and opacity are composited and skip layout and most paint. width, height, top, left, margin, and padding trigger layout on every frame (thrashing), which is why the same visual effect janks when driven by the wrong property. Move with translate, resize with scale

Motion principles behind these rules — the three decision passes, motion layers, the 1/3 rules, stagger budgets, personality archetypes, Disney-adapted ranges, and the emotion-to-motion map — live in references/motion-principles.md (L3, load on demand when motion is the substance of the work).

Typography

RuleImplementation (Web/CSS)When
Font smoothing-webkit-font-smoothing: antialiased on root layoutmacOS targets (sharper rendering)
Tabular numbersfont-variant-numeric: tabular-numsDynamically updating numbers (counters, timers, prices) — prevents layout shift
Heading wrappingtext-wrap: balanceHeadings (prevents orphan words, evens line lengths)
Body wrappingtext-wrap: prettyBody paragraphs (avoids orphan widows)

Imagery

RuleValue
Image outline1px subtle outline at low opacity
Outline color (light mode)pure black — oklch(0 0 0 / 0.1)
Outline color (dark mode)pure white — oklch(1 0 0 / 0.1)
NeverTinted neutral outlines (read as a color choice, not a separation cue)

Interaction

RuleValue
Minimum hit area (touch/mobile)44 × 44 px
Minimum hit area (dense desktop)40 × 40 px (extend with pseudo-element if the visual is smaller)
Hit area overlapNever let hit areas overlap
Hover on touch (never load-bearing):hover does not exist on touch — anything reachable only by hover is simply gone on a phone. Keep affordances visible by default and gate hover styling behind @media (hover: hover) and (pointer: fine)
Hover on pointer (always present)The inverse rule: on a pointer device every clickable surface needs a distinct hover state, transitioning over ~100-200ms. A pointer resting on a target with no feedback reads as broken
will-changeOnly transform, opacity, filter — and only when first-frame stutter is observed; never will-change: all

Icons

RuleDetail
Stroke matches text weight1.5px stroke beside regular (400) text; 2px beside semibold (600) text
One stroke weight per setNever mix icon libraries in one interface
State via color, not assetsIcons use currentColor; states come from CSS color/opacity — never separate asset files
Outline vs fillOutline variant is default; fill variant marks the active state

Review Modes

ModeCoverageFinding Cap
quickPrimary user path, high-traffic states; HIGH/MEDIUM issues only5
fullEntire scope across all categories (Typography, Surfaces, Motion, Icons, Interaction)15

Severity

LevelMeaning
HIGHMakes interaction inaccessible, misleading, unreadable, or repeatedly disruptive
MEDIUMNoticeable usability or consistency problem
LOWIsolated polish issue (full mode only)

Verdict

VerdictCondition
BlockAny HIGH finding remains
Needs changesOnly MEDIUM or LOW findings remain
ApproveNo actionable findings remain

Auditing an existing codebase rather than reviewing a diff? references/design-audit.md (L3, load on demand) carries the mechanical detection patterns behind the checklists below — motion gaps, accessibility violations, layout-property animation, and the duration/easing inventories that only surface across a whole codebase. It reports into the severity scale and finding caps above, not a separate one.

Common Rationalizations

RationalizationReality
"The framework handles animations correctly by default"Framework defaults are generic. Easing, timing, and stagger must be specified per interaction, not inherited.
"A solid border is simpler than a layered shadow"A solid border communicates structure; depth needs transparency. Using a border for elevation reads heavy and flat.
"Geometric centering is correct, optical adjustment is bikeshedding"Geometric center is visually off for asymmetric shapes (icons, play triangles). Optical alignment is the difference users feel but cannot name.
"Motion is optional polish, the interface works without it"Motion is feedback. Without it, state changes are ambiguous (did it register?). But motion must be restrained — animating everything is noise.
"Hit area equals visible area"A 20px icon needs a 44px hit area on touch. Overlapping or undersized hit areas are the most common mobile usability defect.
"transition: all is convenient"It transitions properties you did not intend (layout, color), causing unexpected animation. Always specify exact properties.

Red Flags

  • Enter animation uses ease-in (should be ease-out)
  • Nested elements with mismatched border radii (no concentric relationship)
  • Solid border used for depth/elevation instead of semi-transparent shadow
  • transition: all instead of specific properties
  • Hit area smaller than 40×40px, or overlapping hit areas
  • Dynamically updating numbers without tabular-nums (layout shifts on each update)
  • Icon stroke weight mismatched with adjacent text weight
  • Separate icon asset files per state instead of currentColor recoloring
  • Page-load enter animation fires without a skip (initial={false})
  • will-change: all, or will-change set permanently instead of only on stutter
  • Animation with no prefers-reduced-motion branch (or a branch that only shortens the duration instead of removing the displacement)
  • Movement driven by top/left/width/height where a transform would do (layout thrashing every frame)

Verification

  • Enter animations decelerate (ease-out); exit animations accelerate (ease-in), and entrances run longer than exits
  • Every non-decorative animation has a prefers-reduced-motion: reduce branch
  • Movement uses transform/opacity, not width/height/top/left
  • Nested elements follow outerRadius = innerRadius + padding
  • Depth uses semi-transparent shadow; structure uses border
  • Every transition specifies exact properties (no transition: all)
  • Hit areas meet 44×44px (touch) / 40×40px (desktop) minimum, no overlap
  • Dynamic numbers use tabular-nums; headings use text-wrap: balance
  • Icons use one stroke weight matching text; states via currentColor, not separate assets
  • First render skips enter animation (initial={false} or equivalent)
  • High-frequency interactions have no custom animation; motion is not the only feedback

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Moai Ref Ui Polish」では何ができますか?

UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies frontend/UI domain work with production-grade "interface taste" rules. NOT for: backend logic, database design, DevOps, security audits, non-UI work.

TypingMindでMoai Ref Ui Polishを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Moai Ref Ui Polishはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMoai Ref Ui Polishをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-ref-ui-polishを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Moai Ref Ui Polishを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Moai Ref Ui Polishで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMoai Ref Ui Polishを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Moai Ref Ui Polish」は無料ですか?

はい。modu-aiがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇