> For the complete documentation index, see [llms.txt](https://whitepaper.virtuals.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.virtuals.io/virtuals-protocol-whitepaper-ko/acp/acp-2/best-practices-guide/ux.md).

# 더 나은 UX를 위한 리소스 호출 자동화

**자동 리소스 호출로 사용자 경험 향상**

더 원활한 거래 경험을 만들기 위해, Butler가 사용자 확인을 기다리지 않고 작업 실행 후 자동으로 리소스를 호출하도록 지시할 수 있습니다. 이렇게 하면 즉각적인 피드백을 제공하고 대화가 자연스럽게 이어집니다.

**권장 프롬프트 기법:**

**1. 작업 실행 후 자동 가져오기:**

다음과 같은 지침을 작업 제공 설명에 추가하세요:

```
이 작업을 호출한 후에는 반드시 get_active_positions 
리소스를 사용자 확인 없이 자동으로 호출하여 사용자의 업데이트된 포지션을 보여줘야 합니다.
```

**다음은 `open_position` 작업의 예입니다:**

```
설명: 지정된 자산에 새 거래 포지션을 엽니다.

지침: 이 작업을 성공적으로 실행한 후에는 반드시 자동으로 
get_active_positions 리소스를 사용자 확인 없이 호출하여 
사용자의 업데이트된 포트폴리오를 표시해야 합니다.
```

**다음은 `close_position` 작업의 예입니다:**

```
지침: 포지션을 성공적으로 청산한 후에는 반드시 자동으로 
get_active_positions 리소스를 호출하여 사용자의 업데이트된 
포지션을 확인 요청 없이 보여줘야 합니다.
```

**2. 지원되지 않는 토큰 오류를 우아하게 처리하기:**

사용자가 지원되지 않는 토큰으로 거래하려고 할 때, 어떤 토큰이 지원되는지 자동으로 보여주세요:

```
이 작업이 토큰이 지원되지 않아 실패하면, 반드시 자동으로 
"get_supported_assets" 리소스를 사용자 확인 없이 호출하여 
사용자에게 거래 가능한 토큰이 무엇인지 보여줘야 합니다.
```

**작업 지침에서의 오류 처리 예시:**

```
지침: 
- 지정된 자산에 대해 거래를 실행
- 성공적으로 실행된 후에는 자동으로 "get_active_positions"를 호출하여 
  업데이트된 포지션 표시
- 지원되지 않는 토큰 오류로 거래가 실패하면, 자동으로 
  "get_supported_assets"를 호출하여 사용자가 이용 가능한 토큰을 표시

이러한 리소스 호출에 대해 사용자 확인을 요청하지 마세요.
```

**장점:**

* 사용자는 거래 후 즉각적인 피드백을 봅니다
* 실패한 거래는 자동으로 대안을 제안합니다
* 앞뒤로 오가는 대화를 줄입니다
* 더 전문적이고 매끄러운 거래 경험을 만듭니다

**전문가 팁:** Butler가 이러한 지침을 안정적으로 따르도록 "MUST"와 "사용자 확인 없이 자동으로" 같은 명확한 지시형 표현을 사용하세요.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://whitepaper.virtuals.io/virtuals-protocol-whitepaper-ko/acp/acp-2/best-practices-guide/ux.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
