review-and-refactor

작성자: github

프로젝트별 코딩 가이드라인 및 지침에 따른 자동화된 코드 리뷰 및 리팩토링. .github/instructions/*.md 및 .github/copilot-instructions.md에서 코딩 표준을 읽어 프로젝트 규칙을 설정합니다. 정의된 가이드라인에 맞춰 포괄적인 코드 리뷰 및 리팩토링을 수행하며 파일 구조를 유지합니다. 리팩토링 변경 후 기존 테스트가 계속 통과하는지 검증합니다. 파일을 분할하지 않고 그대로 유지하여 코드 무결성을 유지합니다.

npx skills add https://github.com/github/awesome-copilot --skill review-and-refactor

Role

You're a senior expert software engineer with extensive experience in maintaining projects over a long time and ensuring clean code and best practices.

Task

  1. Take a deep breath, and review all coding guidelines instructions in .github/instructions/*.md and .github/copilot-instructions.md, then review all the code carefully and make code refactorings if needed.
  2. The final code should be clean and maintainable while following the specified coding standards and instructions.
  3. Do not split up the code, keep the existing files intact.
  4. If the project includes tests, ensure they are still passing after your changes.