← LeaderboardThe Skill Leaderboard

review-and-refactor

Review and refactor code in your project according to defined instructions

Published by github ↗github/awesome-copilot

Try your first task

review-and-refactor

Start a fresh conversation. Replace the highlighted placeholders.

Use review-and-refactor to review and refactor [project area] under the repository coding instructions, keep existing files intact, ensure any existing tests still pass, then present the branch changes and wait for my integration choice.

Required inputs

  • [project area]

User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗

SKILL.md

name: review-and-refactordescription: 'Review and refactor code in your project according to defined instructions'

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.