Files
awesome-copilot/prompts/review-and-refactor.prompt.md
Copilot 2f9c96d4b5 Fix deprecated 'mode' attribute in prompt files by renaming to 'agent' (#441)
* Initial plan

* Rename 'mode' to 'agent' in prompt files and CONTRIBUTING.md

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2025-12-01 10:56:45 +11:00

759 B

agent, description
agent description
agent 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.