Ai Friendly Web Designのロゴ

Ai Friendly Web Design

コミュニティ
ianho7
ai-friendly-web-design

Build, review, and refactor web interfaces that are easy for humans, screen readers, browser automation, Playwright tests, and AI agents to understand and operate. Use for UI components, forms, frontend features, semantic HTML, ARIA, stable locators, URL state, accessibility reviews, and agent-friendly web design.

概要

公開者ianho7
リポジトリai-friendly-web-design-skill
スキル名ai-friendly-web-design
スター
77
フォーク
3
同梱ファイル
5
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 5個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

AI-Friendly Web Design

Purpose

Use this skill to make web interfaces easier to discover, operate, test, and review across human users, assistive technology, browser automation, and AI agents.

When To Use

Use this skill when the task involves any of the following:

  • Designing a new UI flow, screen, component, or form
  • Implementing or refactoring frontend UI
  • Reviewing existing UI for accessibility, automation, or operability issues
  • Writing Playwright or browser automation tests
  • Deciding semantic HTML, ARIA, locator, or URL state patterns

Task Modes

Choose one primary mode before acting.

1. Design New UI

  • List the core user tasks before proposing components.
  • Define the UI contract in user-facing terms: actions, fields, states, and outcomes.
  • Cover loading, error, empty, and success states explicitly.
  • Decide which state should be reproducible through the URL.
  • Mark which critical controls need stable locators.

2. Implement UI

  • Prefer native HTML elements before custom widgets.
  • Add ARIA only when native semantics are not enough.
  • Ensure every critical control has an accessible name.
  • Keep critical state readable as visible or programmatically associated text.
  • Add stable locator hooks only for critical actions, fields, and status.

3. Review Existing UI

  • Output findings as High, Medium, and Low severity.
  • Prefer the display format 🔴 High, 🟡 Medium, and 🟢 Low when the output surface supports emoji.
  • Explain how each issue affects accessibility, automation, or agent operability.
  • Prioritize blockers on critical user flows.
  • Give concrete fixes instead of abstract advice.
  • If a suggested fix would change hover, click, close, focus, expand, or layout behavior, present it as a behavior-change proposal requiring confirmation rather than a direct recommendation.
  • Avoid unrelated redesign or architecture churn.

4. Refactor Existing UI

  • Prefer the smallest patch that fixes operability.
  • Preserve the current visual design unless the user asked for redesign.
  • Preserve existing interaction paths and visible layout by default, including hover, click, outside-click-close, blank-area-close, Esc-close, expand/collapse, and focus return, unless the user explicitly approves a behavior change.
  • Preserve the existing design system and component boundaries where practical.
  • Fix the parts that break semantics, state clarity, or stable interaction.
  • Do not use this work as an excuse to rewrite the stack.

5. Generate Tests

  • Prefer user-facing locators such as role, label, and text.
  • Avoid CSS selectors unless there is no stable user-facing alternative.
  • Cover critical flows plus loading, error, and success states.
  • Use stable custom locators only when the UI needs them.
  • Write tests around observable behavior, not implementation details.

Non-Negotiables

  • Use semantic HTML before ARIA.
  • Prefer native browser controls before custom widgets.
  • Critical actions must not be hover-only.
  • Critical flows must not depend on popup-only, drag-only, or canvas-only interaction.
  • Every critical control needs an accessible name.
  • Loading, error, empty, and success states must be readable text.
  • Critical actions and fields need stable ways to locate them.
  • Search, filter, sort, pagination, and selected tab state should usually be reflected in the URL.
  • Do not add CAPTCHA, agent manifests, or automation-specific APIs unless the user asks or the project already needs them.

Reference Routing

Read only the files needed for the current task.

  • For core goals, severity, and review judgment: references/principles.md
  • For semantic HTML, native control choices, and interaction anti-patterns: references/semantic-html-first.md
  • For stable locators and URL state: references/locator-and-state.md
  • For review deliverables and AI-readable content notes: references/review-output-format.md
  • For quick implementation or review guidance on common components: references/component-recipes.md

Output Rules

  • State the chosen task mode before substantial action when the mode is not obvious from context.
  • Keep recommendations tied to critical user tasks and observable UI behavior.
  • When reviewing, use the review format in references/review-output-format.md.
  • When reviewing, use severity labels 🔴 High, 🟡 Medium, and 🟢 Low when possible. If emoji rendering is unavailable, use High, Medium, and Low exactly.
  • When implementing or refactoring, explain any non-native control choice and why native HTML was not sufficient.
  • When adding custom locators, keep naming stable and domain-oriented.

Boundaries

  • Do not turn this skill into a full WCAG summary.
  • Do not recommend experimental agent manifests as a default path.
  • Do not add locator hooks to every element.
  • Do not prefer ARIA-heavy custom UI over native HTML without a clear reason.
  • Do not assume visual polish alone makes a UI operable.

Agent manifests such as .well-known/ai.json are experimental and not required. Mention them only when the user is explicitly designing machine-readable app metadata or the project already uses such a convention.

同梱ファイル

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

よくある質問

AIスキル「Ai Friendly Web Design」では何ができますか?

Build, review, and refactor web interfaces that are easy for humans, screen readers, browser automation, Playwright tests, and AI agents to understand and operate. Use for UI components, forms, frontend features, semantic HTML, ARIA, stable locators, URL state, accessibility reviews, and agent-friendly web design.

TypingMindでAi Friendly Web Designを使うメリットは何ですか?

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

TypingMindにAi Friendly Web Designをインストールするにはどうすればよいですか?

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

Ai Friendly Web Designを使えるAIモデルはどれですか?

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

Ai Friendly Web Designで使えるAIモデルの数に制限はありますか?

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

AIスキル「Ai Friendly Web Design」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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