本文へスキップ

AI との統合

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

ドキュメントを読む

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

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

プロンプトを書く

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

アシスタントへの依頼例
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.

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

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

bolerish/edge · ガイド