# ガイド · AI との統合

アシスタントが UI を変更する前に、最新の Edge ドキュメントを渡してください。

Package: @bolerish/edge 0.4.0
Source: https://edge.bolerish.com/ja/docs/ai-integration/

<a id="llms-txt"></a>

## ドキュメントを読む

[llms.txt](https://edge.bolerish.com/ja/llms.txt) は各ガイドと API リファレンスの Markdown へのリンクをまとめた短い索引です。ドキュメント全体が必要な場合は、[llms-full.txt](https://edge.bolerish.com/ja/llms-full.txt) をアシスタントに渡してください。

これらのファイルはサイトと同じ内容から生成され、対象のパッケージバージョンを示します。公開するだけでアシスタントが自動的に読むとは限らないため、依頼に URL を含めてください。

<a id="prompt"></a>

## プロンプトを書く

変更したいコンポーネントのコードを貼り付け、どの要素に効果を付けたいか伝えてください。例えば、次のように依頼できます。

```text
Read https://edge.bolerish.com/llms.txt and follow the relevant Markdown links.
Check the installed @bolerish/edge version and its types before choosing APIs.
Add Edge to the component below, preserving its markup, colors and interactions.
Connect only the surfaces I specify. Keep native controls and focus indicators.
Use the library's default motion="system" unless I ask for another mode.
```

<a id="installed-version"></a>

## インストール済みのバージョンを確認する

パッケージ設定やロックファイルを確認してください。ウェブの文書は新しい版の説明かもしれません。異なる場合は、インストール済みパッケージの型宣言と対応する文書を使います。例に合わせるだけの依存更新は避けてください。
