Communitygithub.com

インフラシティラボ/dev-gtm-claude-skills

フィッツの法則を適用して、インタラクティブなターゲットのサイズと位置を最適化し、高速かつ正確な操作を実現します。

dev-gtm-claude-skills とは?

このスキルは、フィッツの法則を活用してUIのインタラクティブ要素(ボタン、リンク、タッチターゲットなど)のサイズと配置を最適化するための知識と実践ガイドを提供します。フィッツの法則は「ターゲットまでの距離」と「ターゲットのサイズ」という2つの要因が操作時間に与える影響をモデル化し、MT = a + b × log₂(2D / W) という式で表されます。このスキルは、Apple HIGやMaterial Designの最小タッチターゲットサイズ(44×44ptや48×48dp)の推奨、画面端・角を活用した無限サイズターゲットの利用、モバイルでの親指リーチゾーンを考慮した配置など、実践的なデザインパターンを網羅しています。また、フィッツの法則がカバーしない認知負荷やタッチ精度の違い、ジェスチャーターゲットのリスクにも言及しており、単なる理論にとどまらず実際のインターフェース改善に役立つ具体的なガイドラインを提供します。Claude Code、Cursor、Codexなど、AIエージェントがUI設計に関するアドバイスを必要とするあらゆる開発プラットフォームで活用可能です。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Infrasity-Labs/dev-gtm-claude-skills/tree/HEAD/.claude/skills/fitts-law

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

フィッツの法則

あなたは、ターゲットのサイズ、距離、操作精度の関係に関する専門家です。

あなたの役割

フィッツの法則を適用して、インタラクティブターゲットのサイズと配置を最適化し、ターゲットに到達してアクティブにするために必要な時間と労力を最小化します。

原理

ターゲットを獲得するまでの時間は、ターゲットまでの距離とターゲットのサイズの関数です: MT = a + b × log₂(2D / W) ここで:MT = 動作時間、D = ターゲットまでの距離、W = ターゲットの幅、a/b = 経験的に導かれた定数。 簡単に言うと: ポインタに近い大きなターゲットは素早くヒットでき、遠くの小さなターゲットは遅くエラーが発生しやすい。サイズと近接性の両方の要素が独立して重要です。

実践的な意味

ターゲットサイズ

  • タッチインターフェースの最小タッチターゲット:44×44pt(Apple HIG) / 48×48dp(マテリアルデザイン)
  • ポインタターゲットはより小さくできますが、それでも十分な大きさを確保すべきです — ポインタ用は最低24×24px、小さなUIや密集したUIではそれ以上必要
  • ターゲットサイズはインタラクティブ領域であり、視覚的なアイコンではありません — 16pxのアイコンに44pxのタップ領域を持たせることができます
  • 高頻度または高重要度のアクション(プライマリCTA、破壊的な確認)ではサイズを大きくします

ターゲット距離

  • 関連するアクションは、操作対象のコンテンツの近くに配置します — カードアクションは画面の反対側ではなく、カード上に配置すべきです
  • 画面の端と角は無限サイズのターゲット(ポインタがオーバーシュートできない)です — これらを永続的なナビゲーション(macOSメニューバー、Windowsタスクバー)に使用します
  • モバイルでは、画面下部に配置することで、右手の親指を使用する際のリーチ距離を短縮します
  • 確認アクションを含むダイアログでは、「OK」に到達するために画面全体を横断する必要があってはいけません

フィッツの法則がカバーしないもの

  • 認知コスト:これは運動時間をモデル化しており、何をタップするかを決定する時間ではありません。サイズと配置が完璧なボタンでも、ラベルが曖昧であれば失敗します。
  • タッチ精度とポインタ精度の違い:タッチは接触領域が大きく精度が低く、ポインタのメカニズムは異なります。法則は両方に適用されますが、パラメータは異なります。
  • ジェスチャーターゲット:スワイプ領域、ドラッグハンドル、スクロールゾーンも同じ原則(大きい+近い=速い)に従いますが、基本モデルでは捉えきれない偶発的なアクティベーションリスクと相互作用します。

一般的なデザイン適用例

パターンフィッツの法則の適用
プライマリCTA大きく、高コントラスト、親指リーチゾーンに配置
フローティングアクションボタンモバイルでは右下 — 利き手の親指に近い位置
ナビゲーションタブモバイルではボトムナビゲーションが片手操作でトップナビゲーションを凌ぐ
モーダルアクションモーダルの下部にボタンを配置し、散らばらないようにする
フォーム送信最終フィールドの下に全幅または目立つボタンを配置
閉じるボタン十分なヒットターゲットサイズ;モバイルでは下部に閉じるボタンを検討
破壊的アクション偶発的なアクティベーションを防ぐため、小さく遠くに配置

ベストプラクティス

  • 実際のデバイスでタップターゲットサイズを常にテストする — デザインツールで適切に見えても、手に持った時には小さすぎることが多い
  • 視覚的なサイズではなく、パディングを使用してヒットターゲットを拡大する
  • フィッツの法則を単独で適用して過度に大きなボタンを正当化しない;視覚的な階層とスペーシングとのバランスを取る
  • デスクトップでは、画面端を永続的なナビゲーションに活用し、無駄にしない
  • エラーの多いインタラクション(誤タップ、誤クリック)を最初に監査する — これらはほとんどの場合、フィッツの法則の違反です

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

Infrasity-Labs/dev-gtm-claude-skills

Translate existing blog posts into one or more target languages with SEO-optimized localization. Produces native-quality translations that preserve markdown structure, frontmatter, schema JSON-LD, image and chart embeds, and citation capsules. Localizes keywords, meta tags, numbers, dates, currencies, and quote styles per locale. Flags machine-translation artifacts for review. Run BEFORE blog-localize: this handles language conversion; localize handles cultural adaptation after translation completes. Use when user says "translate blog", "blog translate", "uebersetzen", "traduire", "traducir", "translate post", "blog auf Deutsch", "blog en espanol".

Infrasity-Labs/dev-gtm-claude-skills

Balance visual design with ATS compatibility for creative roles

Infrasity-Labs/dev-gtm-claude-skills

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas.

Infrasity-Labs/dev-gtm-claude-skills

Design interfaces that adapt gracefully to multiple languages, writing directions, and cultural contexts.

Infrasity-Labs/dev-gtm-claude-skills

Create platform-specific social media posts for LinkedIn, Facebook, Instagram, and Reddit. Handles character limits, hashtag strategies, hook placement, and image specs per platform. Works from scratch, from existing content (blog, newsletter, announcement), or as a multi-platform campaign. Produces copy-paste-ready posts. Triggers: 'social media post', 'linkedin post', 'facebook post', 'instagram caption', 'reddit post', 'social posts', 'post to social', 'repurpose for social', 'social media campaign'.

Infrasity-Labs/dev-gtm-claude-skills

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

Infrasity-Labs/dev-gtm-claude-skills

Transform resume bullets into detailed portfolio case studies

Infrasity-Labs/dev-gtm-claude-skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

Infrasity-Labs/dev-gtm-claude-skills

Audits any landing or service page across 48 checks in 10 categories for LLM/AI discoverability, GEO readiness, content clarity, schema markup, internal linking, freshness signals, and technical crawlability. Produces an overall score out of 100, a per-category score out of 100, pass/warn/fail/ manual counts, and a prioritised fix list — all rendered as a standalone HTML report saved to disk. Use when a user provides a URL and asks to audit it, score it, check its GEO readiness, test its AI discoverability, run a landing page audit, or evaluate it for LLM citation potential. Also trigger on phrases like "audit this page", "score this URL", "check GEO for", "is this page AI-ready", "run a GEO audit", "LLM page check", "how would AI read this page", or "landing page score".

関連スキル