Skip to main content

GitHub Copilot에 대한 개인 사용자 지정 지침 추가

개인 기본 설정과 맞도록 GitHub Copilot Chat 응답을 사용자 지정합니다.

Note

개인 사용자 지정 지침은 현재 GitHub Copilot Chat in GitHub에서만 지원됩니다.

GitHub Copilot Chat 응답을 사용자 지정하는 데 사용할 수 있는 방법에 대한 개요는 About customizing GitHub Copilot Chat responses을(를) 참조하세요.

GitHub Copilot Chat에 대한 개인 사용자 지정 지침 정보

GitHub 웹 사이트의 대화 전반에서 개인 기본 설정에 맞게 사용자 지정된 채팅 응답을 받으려면 GitHub Copilot Chat에 대한 사용자 지정 지침을 추가할 수 있습니다. 예를 들어 Copilot Chat이 항상 기본 설정 언어 또는 특정 스타일로 응답하도록 선택할 수 있습니다. 추가할 수 있는 지침의 몇 가지 예는 다음과 같습니다.

  • Always respond in Spanish.
  • Your style is a helpful colleague, minimize explanations but provide enough context to understand the code.
  • Always provide examples in TypeScript.

Note

  • It is possible for multiple types of custom instructions to apply to a conversation. Personal instructions take the highest priority, followed by repository instructions, with organization instructions prioritized last. However, all sets of relevant instructions are still combined and provided to Copilot Chat.
  • Whenever possible, you should avoid providing conflicting sets of instructions. If you are concerned about response quality, you can also choose to temporarily disable repository instructions. See GitHub Copilot에 대한 리포지토리 사용자 지정 지침 추가.

개인 사용자 지정 지침 추가

채팅 패널 또는 몰입형 모드에서 개인 사용자 지정 지침을 추가할 수 있습니다. 두 모드 모두에서 동일한 지침이 적용됩니다.

  1. GitHub 페이지의 오른쪽 상단에서 다음 중 하나를 수행합니다.

  2. 채팅 패널 또는 몰입형 페이지 오른쪽 상단에 있는 드롭다운 메뉴를 선택한 다음, Personal instructions를 클릭합니다.

  3. 텍스트 상자에 자연어 지침을 추가합니다.

    원하는 형식으로 지침을 작성할 수 있습니다. 예를 들어, 각각 새로운 줄에 하나의 텍스트 블록으로 작성하거나 빈 줄로 구분하여 작성할 수 있습니다.

  4. 필요에 따라 을 클릭하여 일반적인 지침에 사용할 수 있는 템플릿을 확인할 수 있습니다. "Communication" 등의 상자 중 하나를 클릭하면 {format}과 같은 자리 표시자가 있는 텍스트 상자에 지침이 추가되며, 이 자리 표시자는 사용자의 선호도에 따라 바꿀 수 있습니다.

  5. 저장을 클릭합니다. 지침은 이제 활성 상태가 되었으며 변경하거나 제거할 때까지 활성 상태로 유지됩니다.

실행 중인 지침을 보려면 https://github.com/copilot으로 이동하여 대화를 시작합니다.

개인 사용자 지정 지침을 성공적으로 추가했나요?

아니요