Skip to main content

GitHub Copilot Cookbook

Learn how to use GitHub Copilot to accomplish specific tasks.

Spotlight

Implementing a feature from a GitHub Issue

Implementing a feature from a GitHub Issue

Give a GitHub issue to GitHub Copilot 명령 줄 인터페이스 (CLI), then steer the conversation to implement the feature.
    CI 테스트 실패 진단

    CI 테스트 실패 진단

    CI 로그를 끌어오고, 오류를 로컬 코드와 상호 연결하고, 터미널을 떠나지 않고 문제를 해결하는 데 사용합니다 코파일럿 CLI .
      코드 가독성 및 유지 관리 기능 향상

      코드 가독성 및 유지 관리 기능 향상

      공동 파일럿 채팅 코드를 더 쉽게 이해하고 유지 관리할 수 있는 방법을 제안할 수 있습니다.

        예제 살펴보기 35

        • 템플릿 만들기

          공동 파일럿 채팅 는 워크플로를 간소화하고 프로젝트 전체에서 일관성을 보장하는 템플릿을 만드는 데 도움이 될 수 있습니다.
          • Communicate effectively
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • 리포지토리 활동을 분류하고 요약하기

          Copilot은 사용자가 팔로우하는 리포지토리에서 핵심 정보를 추출해 최근 활동을 최신 상태로 파악할 수 있도록 도와줍니다.
          • Communicate effectively
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • CLI
        • 연구 통합

          Copilot Chat은 여러 출처의 연구 결과와 인사이트를 하나의 응집력 있는 요약으로 종합하는 데 도움을 줍니다.
          • Communicate effectively
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • 다이어그램 만들기

          GitHub Copilot 채팅은 데이터를 더 잘 이해하고 인사이트를 전달하는 다이어그램을 만드는 데 도움이 될 수 있습니다.
          • Communicate effectively
          • Visualize data
          • Scale institutional knowledge
          • Author and optimize with Copilot
          • Chat
        • Generating tables

          공동 파일럿 채팅 can help you create tables to organize information and present it clearly.
          • Communicate effectively
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • 잘못된 JSON 디버깅

          공동 파일럿 채팅 는 JSON 데이터의 구문 오류 또는 구조적 문제를 식별하고 해결할 수 있습니다.
          • Debugging code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • Handling API rate limits

          공동 파일럿 채팅 can help handle API rate limits by suggesting code that detects them and implements retry logic.
          • Debugging code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • CI 테스트 실패 진단

          CI 로그를 끌어오고, 오류를 로컬 코드와 상호 연결하고, 터미널을 떠나지 않고 문제를 해결하는 데 사용합니다 코파일럿 CLI .
          • Debugging code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • CLI
        • 잠재적인 기능 구현 살펴보기

          공동 파일럿 채팅 는 단일 기능을 구현하기 위한 다양한 방법을 탐색하는 데 도움이 될 수 있습니다.
          • Functionality analysis
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • Analyzing and incorporating user feedback

          공동 파일럿 채팅 can enhance the process of incorporating user feedback into your project.
          • Functionality analysis
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • Implementing a feature from a GitHub Issue

          Give a GitHub issue to GitHub Copilot 명령 줄 인터페이스 (CLI), then steer the conversation to implement the feature.
          • Author and optimize with Copilot
          • CLI
        • 코드 가독성 및 유지 관리 기능 향상

          공동 파일럿 채팅 코드를 더 쉽게 이해하고 유지 관리할 수 있는 방법을 제안할 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • lint 오류 수정

          공동 파일럿 채팅 는 코드 linter로 식별되는 문제를 해결하는 방법을 제안할 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 성능 최적화를 위한 리팩터링

          공동 파일럿 채팅 는 느리게 실행되는 코드를 가속화하는 방법을 제안할 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • Refactoring for environmental sustainability

          공동 파일럿 채팅 can suggest ways to make code more environmentally friendly.
          • Refactoring code
          • Improve quality and maintainability
          • Author and optimize with Copilot
          • Chat
        • 디자인 패턴을 구현하기 위한 리팩터링

          공동 파일럿 채팅 에서는 코드를 개선하는 데 사용할 수 있는 디자인 패턴을 제안할 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 데이터 접근 계층 리팩터링

          공동 파일럿 채팅 는 비즈니스 논리에서 데이터 액세스 코드를 분리하는 방법을 제안하여 애플리케이션을 더 쉽게 유지 관리하고 확장할 수 있도록 할 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • UI 구성 요소에서 비즈니스 논리 분리

          공동 파일럿 채팅 에서는 비즈니스 논리를 사용자 인터페이스 코드와 분리하여 애플리케이션을 더 쉽게 유지 관리하고 크기를 조정할 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 횡단 관심사 처리

          공동 파일럿 채팅 는 코드가 있는 메서드 또는 함수의 핵심 관심사가 아닌 우려 사항과 관련된 코드를 방지하는 데 도움이 될 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 복잡한 상속 계층 구조 간소화

          공동 파일럿 채팅 는 여러 계층의 상속이 있는 클래스를 방지하기 위해 코드를 리팩터링하는 데 도움이 될 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 데이터베이스 교착 상태 또는 데이터 무결성 문제 해결

          공동 파일럿 채팅 는 느리거나 차단된 데이터베이스 작업 또는 누락되거나 잘못된 데이터가 있는 테이블을 발생시키는 코드를 방지하는 데 도움이 될 수 있습니다.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • Translating code to a different programming language

          공동 파일럿 채팅 can help you rewrite code to perform the same operations but in a different programming language.
          • Refactoring code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 흐름을 중단하지 않고 문제 제기

          작업 중간에 눈에 띄는 것이 있으면 코파일럿 CLI를 사용해 코드 컨텍스트, 연결된 PR, 레이블을 포함한 GitHub 이슈를 등록한 다음, 하던 작업으로 돌아가세요.
          • Documenting code
          • Author and optimize with Copilot
          • CLI
        • Documenting legacy code

          공동 파일럿 채팅 can help with documenting legacy code.
          • Documenting code
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • Explaining legacy code

          공동 파일럿 채팅 can help with explaining unfamiliar code.
          • Documenting code
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • 복잡한 알고리즘이나 논리 설명

          공동 파일럿 채팅 는 복잡한 알고리즘 또는 논리에 대한 명확하고 간결한 설명서를 추가하는 데 도움이 될 수 있습니다.
          • Documenting code
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • 코드 변경 내용과 설명서 동기화

          공동 파일럿 채팅는 코드 문서를 최신 상태로 유지하는 데 도움을 줄 수 있습니다.
          • Documenting code
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • Writing discussions or blog posts

          공동 파일럿 채팅 can help you generate ideas, outline, or draft discussions or blog posts.
          • Documenting code
          • Author and optimize with Copilot
          • Scale institutional knowledge
          • Chat
        • 단위 테스트 생성

          공동 파일럿 채팅 는 함수에 대한 단위 테스트를 생성하는 데 도움이 될 수 있습니다.
          • Testing code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 레이어를 추상화하기 위한 모의 개체 만들기

          공동 파일럿 채팅 단위 테스트에 사용할 수 있는 모의 개체를 만드는 데 도움이 될 수 있습니다.
          • Testing code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 웹 페이지에 대한 엔드 투 엔드 테스트 만들기

          공동 파일럿 채팅 는 엔드 투 엔드 테스트를 생성하는 데 도움이 될 수 있습니다.
          • Testing code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • Updating unit tests to match code changes

          공동 파일럿 채팅 can help with updating your tests.
          • Testing code
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 리포지토리 보안 유지

          공동 파일럿 채팅 는 리포지토리 및 코드를 보호하는 데 도움이 될 수 있습니다.
          • Security analysis
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • Managing dependency updates

          공동 파일럿 채팅 can help you get set up with Dependabot to streamline dependency updates.
          • Security analysis
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat
        • 코드에서 기존 취약성 찾기

          Copilot 채팅은 코드에서 일반적인 취약성을 찾고 수정 사항을 제안하는 데 도움이 될 수 있습니다.
          • Security analysis
          • Author and optimize with Copilot
          • Improve quality and maintainability
          • Chat