Image Media Patternsのロゴ

Image Media Patterns

コミュニティ
phazurlabs
image-media-patterns

画像、動画、メディアのUIパターンです。ヒーロー画像や商品画像、ギャラリー、カルーセル、動画・音声プレーヤー、アバター、サムネイル、アスペクト比、トリミング、遅延読み込み、レスポンシブ画像、メディアのアクセシビリティを扱います。ページにメディアを配置する場合や、ギャラリーまたはプレーヤーを構築する場合に使います。

Add to TypingMind

概要

公開者phazurlabs
リポジトリsumi
スキル名image-media-patterns
スター
58
フォーク
11
同梱ファイル
5
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 5個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Image & Media Patterns — Complete Visual Media System

Mental model

Media is where performance and craft collide. An unoptimised hero image costs more than every font, script and stylesheet on the page combined, and a correctly-sized one is invisible.

  • Reserve the space. Width and height attributes or aspect-ratio on every image. Layout shift is the single most common Core Web Vitals failure and the easiest to prevent.
  • The hero is never lazy. loading="lazy" on the largest contentful paint element delays the thing the score is measuring. Lazy-load everything below the fold and nothing above it.
  • Aspect ratio is a design decision. 16:9 for video, 4:3 for editorial, 1:1 for avatars and grids, 3:2 for photography. Mixing ratios inside one grid reads as an accident.
  • Autoplay needs muting, a pause control, and a reduced-motion escape. All three, not two.
  • Alt text describes function, not appearance. A decorative image takes alt=""; a linked image describes the destination.

Constants

16:9  video, embeds            4:3  editorial, product photography
1:1   avatars, grid thumbnails 3:2  photography
21:9  cinematic banners        golden 1.618:1  hero art

Index

NeedReference
Masonry, justified, uniform, mosaic gridgallery-carousel-patterns.md
Lightbox, filter animation, infinite scrollgallery-carousel-patterns.md
Scroll-snap or autoplay carousel, filmstripgallery-carousel-patterns.md
Before/after comparison slidergallery-carousel-patterns.md
Custom video player, picture-in-picturemedia-player-patterns.md
Audio player, podcast player, voice messagemedia-player-patterns.md
Avatars, upload UI, upload progressmedia-player-patterns.md
srcset by width or DPR, <picture> art directionresponsive-image-recipes.md
Native and IntersectionObserver lazy loadingresponsive-image-recipes.md
LQIP, BlurHash, ThumbHash, dominant colourresponsive-image-recipes.md
Choosing AVIF vs WebP vs JPEG; Core Web Vitalsmedia-formats-performance.md

Reference architecture

FileCoversLines
references/media-player-patterns.mdplayers, avatars, upload1283
references/gallery-carousel-patterns.md13 gallery and carousel patterns1244
references/responsive-image-recipes.mdsrcset, lazy loading, placeholders655
references/media-formats-performance.mdformat choice, CWV97

What every reference file contains

  1. When the pattern applies, and the simpler thing to try first
  2. Complete HTML/CSS/TSX with the loading strategy included
  3. Accessibility: alt text rules, controls, keyboard, reduced motion
  4. The performance cost and how to measure it
  5. The mobile form of the pattern

Routing

For galleries and carousels — masonry (both CSS-columns and grid), justified, uniform and mosaic grids, lightboxes, scroll-snap and autoplay carousels, filmstrips, infinite scroll and comparison sliders: read references/gallery-carousel-patterns.md.

For players — a complete custom video player spec, scroll-triggered picture-in-picture, full audio player, podcast player, and voice-message UI: read references/media-player-patterns.md.

For shipping images well — width- and DPR-based srcset, art direction with <picture>, native and IntersectionObserver lazy loading, LQIP, BlurHash, ThumbHash and dominant-color placeholders: read references/responsive-image-recipes.md.

For odds and ends — the patterns that had no home in the files above when this skill was converted to a router: read references/media-supplementary.md.

Cross-References

  • layout-block-intelligence — Hero sections, feature blocks containing images
  • component-patterns-code — React/SwiftUI/CSS implementations of image components
  • accessibility-inclusive-design — WCAG media requirements, screen reader patterns
  • performance-states-patterns — Loading skeletons, error states, empty states
  • responsive-block-patterns — Container queries, breakpoint transformations
  • animation-recipe-library — Entrance animations, Ken Burns, parallax recipes
  • form-design-encyclopedia — File upload form patterns
  • platform-visual-standards — iOS/Android/web image handling conventions
  • design-systems-architecture — Token-driven image component APIs

同梱ファイル

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

よくある質問

AIスキル「Image Media Patterns」では何ができますか?

画像、動画、メディアのUIパターンです。ヒーロー画像や商品画像、ギャラリー、カルーセル、動画・音声プレーヤー、アバター、サムネイル、アスペクト比、トリミング、遅延読み込み、レスポンシブ画像、メディアのアクセシビリティを扱います。ページにメディアを配置する場合や、ギャラリーまたはプレーヤーを構築する場合に使います。

TypingMindでImage Media Patternsを使うメリットは何ですか?

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

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

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

Image Media Patternsを使えるAIモデルはどれですか?

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

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

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

AIスキル「Image Media Patterns」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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