프로젝트에 대한 구체적인 질문이나 일반적인 소프트웨어 관련 질문을 Copilot Chat에 문의할 수 있습니다. Copilot Chat에게 코드를 작성하고, 오류를 수정하고, 테스트를 작성하고, 문서 코드를 작성하도록 요청할 수도 있습니다.
위의 탭을 사용하여 Copilot Chat을(를) 사용하는 환경을 선택합니다.
일부 예제 프롬프트에서는 GitHub 웹 사이트의 특정 컨텍스트에 있어야 합니다. 이러한 컨텍스트에 액세스하는 방법에 대한 자세한 내용은 다양한 컨텍스트에서 Copilot Chat에 질문하기를 참조하세요.
일반 소프트웨어 질문하기
일반적인 소프트웨어 관련 질문을 Copilot Chat에 문의할 수 있습니다. 예시:
tell me about nodejs web server frameworks
how to create an express app
what is the best way to update an npm package
리포지토리에 대한 질문하기
Copilot Chat에게 리포지토리에 대해 질문할 수 있습니다. 예시:
what is the purpose of this repository?
When was the most recent release?
Where is rate limiting implemented in our API?
What was the last merged PR by USERNAME
특정 파일 또는 기호에 대해 질문하기
특정 파일 또는 기호에 대해 Copilot Chat에 질문할 수 있습니다. 예시:
what sorting algorithm does this function use
how are these files related
what is the purpose of this function
기술 자료에 대한 질문하기
기술 자료에 대해 Copilot Chat에 질문할 수 있습니다. 예시:
How do I deploy a new application?
What's the process for creating a new REST API?
What are our best practices for logging?
특정 코드 조각에 대한 질문하기
특정 코드에 대해 Copilot Chat에 질문할 수 있습니다. 전체 파일 또는 특정 줄에 대해 질문할 수 있습니다. 예시:
전체 파일에 대해 질문하는 경우 다음과 같이 입력할 수 있습니다.
Explain this file.
How could I improve this code?
How can I test this script?
특정 줄에 대해 질문하는 경우 다음과 같이 입력할 수 있습니다.
Explain the function at the selected lines.
How could I improve this class?
Add error handling to this code.
Write a unit test for this method.
GitHub Advanced Security 경고에 대해 질문하기
GitHub Advanced Security 기능(code scanning, secret scanning, Dependabot alerts)을 통해 조직 내 리포지토리의 보안 경고에 대해 Copilot Chat에 질문할 수 있습니다. 예시:
How would I fix this alert?
How many alerts do I have on this pull request?
Which line of code is this code scanning alert referencing?
What library is affected by this Dependabot alert?
끌어오기 요청 시 Copilot Chat에 질문하기
끌어오기 요청 시 Copilot Chat에 질문할 수 있습니다. 질문은 끌어오기 요청의 다양한 요소와 관련이 있을 수 있습니다. 예를 들면 다음과 같습니다.
끌어오기 요청의 변경 내용 요약을 요청할 수 있습니다.
Summarize this PR for me.
Summarize the comments in this PR.
Summarize the changes in this PR.
끌어오기 요청 시 특정 파일의 변경 내용에 대해 질문할 수 있습니다.
What's the purpose of this file?
Why has this module been included?
끌어오기 요청 시 특정 줄의 변경 내용에 대해 질문할 수 있습니다.
What is "actorData" in this line?
Explain this "do..end" block.
워크플로가 실패한 이유를 묻는 메시지가 표시될 수 있습니다.
Tell me why this job failed
Suggest a fix for this error
특정 문제 또는 토론에 대해 Copilot Chat에 질문하기
특정 문제 또는 토론에 대해 Copilot Chat에 질문할 수 있습니다. 예시:
what is the purpose of this issue?
특정 커밋에 대해 Copilot Chat에 질문하기
특정 커밋에 대해 Copilot Chat에 질문할 수 있습니다. 예시:
what is the purpose of this commit?
what is the expected output of this commit?
what is the best way to test this commit?