Awesome-copilot review-and-refactor
Review and refactor code in your project according to defined instructions
install
source · Clone the upstream repo
git clone https://github.com/github/awesome-copilot
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/github/awesome-copilot "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/review-and-refactor" ~/.claude/skills/github-awesome-copilot-review-and-refactor && rm -rf "$T"
manifest:
skills/review-and-refactor/SKILL.mdsource content
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
- Take a deep breath, and review all coding guidelines instructions in
and.github/instructions/*.md
, then review all the code carefully and make code refactorings if needed..github/copilot-instructions.md - The final code should be clean and maintainable while following the specified coding standards and instructions.
- Do not split up the code, keep the existing files intact.
- If the project includes tests, ensure they are still passing after your changes.