Better Typographyのロゴ

Better Typography

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

Type that renders well: scale, line-height, tracking, measure, wrapping, truncation, fonts. Use when setting or reviewing text styles, choosing fonts, or fixing text that wraps or truncates badly.

概要

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

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Better Typography」を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-typography
  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-typography .claude/skills/better-typography
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Typography

Mostly restraint: a small scale, comfortable spacing, enough contrast. A label, a table cell, a headline and a paragraph don't share one set of rules. Review the rendered page, not just the code; bad wrapping and truncation only show at real content lengths.

Write fixes in the project's styling system. Never introduce a new or paid typeface unless the task asks for a type change.

Copy belongs to better-writing, heading semantics to better-accessibility, RTL layout to better-layout, contrast to better-colors.

Scale and roles

A small named scale, deviated from rarely. On a team, name by use (text-body-sm), not just size. Starting point for a product UI:

RoleSizeLine-heightWeight
Display36px1.1600
Title24px1.2600
Heading18px1.3600
Body16px1.5400
Caption13px1.4400
  • Emphasis inside a role is one weight step (400 to 500), not a size change.
  • Heading levels map to descending steps; a child never outweighs its parent. Pick the element for semantics, then style it.
  • Long-form body starts at 16px. UI text: 14px for inputs and menus, 13px captions, rarely below 12px.
  • At most about three fonts. Pair for contrast (serif display over sans body), not near-twins.
  • Below 18px stay at weight 400+; weights 100 to 300 are for 28px+ display only.

Spacing

  • Line-height unitless: headings about 1.1, body 1.5 to 1.6. Anything wrapping to 3+ lines needs at least 1.4, even in a tight card.
  • Letter-spacing: large headings slightly negative (-0.02em), small uppercase labels positive (0.05em), body none.
  • Measure: cap long-form text at 60 to 75 characters (65ch, or max-w-xl/max-w-2xl at 16px).
  • text-box: trim-both cap alphabetic removes the font's built-in top/bottom space so text centers in buttons and badges (Chromium 133+, Safari 18.2+; progressive enhancement).

Wrapping and truncation

  • text-wrap: balance on headings, pretty on descriptions, neither on long-form text.
  • overflow-wrap: break-word where URLs or IDs could escape; nowrap on labels and badges.
  • Truncate with truncate or line-clamp-*, and keep the full value reachable (tooltip or expanded view) when it matters.
  • text-align: start in interfaces; justify only in specific editorial layouts.

Rendering details

  • font-variant-numeric: tabular-nums on any value that changes (timers, counters, prices) so it doesn't shift layout.
  • Prefer CSS properties over raw tags: font-weight: 650 not "wght" 650, tabular-nums not "tnum". Properties survive a non-variable fallback; raw tags only for custom axes ("GRAD") and stylistic sets ("ss01").
  • Load the weights and styles the design uses, or the browser synthesizes fake ones. Set font-synthesis: none only after checking every bold, italic and small-cap form exists across the fallback stack.
  • .woff2 on the web.
  • antialiased (both smoothing properties) once on the root, not per component.
  • Underlines: text-underline-position: from-font and text-decoration-thickness: from-font, skip-ink: auto. Only the color animates reliably; for other underline animations, draw it as a separate element. Dotted underline hints at extra info (abbreviations, defined terms).
  • Store text in natural case and use text-transform. Smart punctuation in rendered text: curly quotes (straight in code), en dash for ranges, the single … character,   in 16 px.
  • iOS Safari zooms on inputs under 16px. Either text-base sm:text-sm (looks different on mobile) or keep 16px and scale() it down (identical everywhere, more code). Ask which the design wants.
  • Set lang and dir where language or direction changes; isolate mixed-direction values with <bdi>. A 3+ line paragraph aligns to its own script inside an opposite-direction UI.
  • Keep text selectable. user-select: none only on drag or gesture surfaces.

Load references/fonts-and-recipes.md for choosing typefaces, variable font axes, OpenType tags, the iOS input scale recipe and a CSS-to-Tailwind map.

Reporting (standalone)

HIGH: unreadable text, or content truncated with no way to recover it. MEDIUM: broken type system or heading hierarchy. LOW: isolated polish. One row per root cause: Severity, Location (path:line), Before, After, Why. Check computed heading sizes descend, line-height and measure, and truncation at realistic string lengths; mark what you couldn't run Not verified. End with Block if any HIGH, else Approve.

同梱ファイル

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

よくある質問

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

Type that renders well: scale, line-height, tracking, measure, wrapping, truncation, fonts. Use when setting or reviewing text styles, choosing fonts, or fixing text that wraps or truncates badly.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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