Better Uiのロゴ

Better Ui

コミュニティ
hsynozdamar-byte
better-ui

Visual polish for UI code: radii, optical alignment, shadows, icons, press feedback, small motion. Use when building or polishing components, or when something looks slightly off.

概要

公開者hsynozdamar-byte
リポジトリclaude-skills-edited
スキル名better-ui
スター
63
フォーク
1
同梱ファイル
5
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 5個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

UI polish

Polish is many small details that compound. Keep the project's components, tokens, density and motion language. The values here are tested defaults, so use them as written when the project has nothing of its own, rather than a familiar-looking substitute.

When reviewing motion, slow it down (10% in the browser's Animations panel). What feels off slowly is subtly wrong at full speed.

Text rendering belongs to better-typography, hit areas and reduced motion to better-accessibility, grouping and spacing to better-layout.

Surfaces

  • Concentric radius. Outer radius = inner radius + padding (card rounded-2xl p-2 holds rounded-lg). Same radius on both is the most common "feels off" cause. Past about 24px of padding the layers read as separate surfaces; pick radii independently.
  • Optical alignment. Icon-side padding = text-side padding minus 2px (ps-4 pe-3.5 for a trailing icon). Play triangles shift right about 2px. Fix asymmetric icons (stars, carets) in the SVG first, a translate-x-px wrapper second.
  • Shadows for depth, borders for structure. Where a border only creates elevation on cards, buttons or popovers, a layered transparent shadow adapts to any background. Keep borders for dividers, table cells, inputs and selected or focus states.
  • Image outlines. 1px outline, -1px offset: oklch(0 0 0 / 0.1) light, oklch(1 0 0 / 0.1) dark (outline-black/10 dark:outline-white/10). Use pure black or white, not slate or zinc: a tinted outline picks up the surface and reads as dirt on the edge.

Shadow tokens and recipes: references/surfaces.md.

Icons

  • Stroke follows adjacent text weight: 1.5px beside 400, 2px beside 500 to 600, 2.5px beside bold. One library and one stroke convention per surface.
  • One SVG with currentColor; hover, selected and disabled come from CSS color and opacity. Strip hardcoded fills on import.
  • Outline is the default state, fill the active state. Don't use them interchangeably.
  • Size inline icons at 1em to 1.25em, on the set's native grid (16, 20, 24), and check them at the smallest render size.

Load references/icons.md for RTL flipping rules and the icon cross-fade code.

Motion

  • Interruptible. CSS transitions (or springs) for interactive state, because they retarget mid-flight. Keyframes only for one-shot sequences.
  • Restraint. High-frequency interactions (typing, row hover, tab switches) get instant feedback or at most 150ms on opacity and color. Save expressive motion for rare moments. Every animated change also leaves a static cue (color, icon, label).
  • Press. scale(0.96) on :active, 150ms ease-out. Below 0.95 feels exaggerated. Offer a static prop to turn it off.
  • Contextual icon swap. Scale 0.25 to 1, opacity 0 to 1, blur 4px to 0. With motion/framer-motion (match the import already used): { type: "spring", duration: 0.3, bounce: 0 }. Without one, keep both icons in the DOM and cross-fade with cubic-bezier(0.2, 0, 0, 1) over 300ms; don't add a dependency for this.
  • Enter. Only for infrequent staged entrances: split into semantic chunks (title, text, actions), stagger about 100ms (words in a title about 80ms), combine opacity, translateY(12px) and blur(4px).
  • Exit. Softer and shorter than enter: small fixed translateY(-12px), about 150ms ease-out. Remove instantly when motion adds no information.
  • First render. initial={false} on AnimatePresence stops toggles animating on load. Don't use it where the entrance itself is the point (hero stagger).
  • Theme switch. Disable all transitions during the swap, force a reflow, remove on the next frame, or the page smears. next-themes has disableTransitionOnChange.
  • Performance. Name transitioned properties (transition-[scale,opacity]), never transition: all. will-change only on transform, opacity or filter, and only after you see first-frame stutter.

Code for each: references/motion.md.

Reporting (standalone)

HIGH: breaks an interaction or leaves a state visible only during animation. MEDIUM: visible inconsistency in surfaces, icons or motion. LOW: isolated polish. One row per root cause: Severity, Location (path:line), Before, After, Why. Check every defined state (hover, focus, active, loading, empty); mark what you couldn't run Not verified. End with Block if any HIGH, else Approve.

同梱ファイル

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

よくある質問

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

Visual polish for UI code: radii, optical alignment, shadows, icons, press feedback, small motion. Use when building or polishing components, or when something looks slightly off.

TypingMindでBetter Uiを使うメリットは何ですか?

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

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

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

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

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

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

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

AIスキル「Better Ui」は無料ですか?

hsynozdamar-byteがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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