# 가이드 · AI 연동

AI로 UI를 수정하기 전에 Edge 문서를 읽도록 요청하세요.

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

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

## 문서 읽기

[llms.txt](https://edge.bolerish.com/ko/llms.txt)에는 가이드와 API 레퍼런스의 Markdown 링크가 모여 있습니다. AI가 전체 문서를 참고해야 한다면 [llms-full.txt](https://edge.bolerish.com/ko/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>

## 설치된 버전 확인하기

package.json이나 lockfile에서 설치된 버전을 확인하세요. 웹 문서는 더 최신 버전을 설명할 수 있습니다. 버전이 다르면 설치된 패키지의 타입 선언과 해당 버전의 문서를 기준으로 삼으세요. 예제에 맞추려고 의존성을 업데이트할 필요는 없습니다.
