Coding & Refactoringlow risk

review-and-refactor

Review and refactor code in your project according to defined instructions

github/awesome-copilot·skills/review-and-refactor/SKILL.md
100/ 100Quality

Install this skill

Choose your coding agent and copy a project or personal installation command.

Pinned to the indexed commit
Project installation.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a codex -y
Personal installation~/.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a codex -g -y
Manual folder.agents/skills/review-and-refactorOfficial docs ↗
Project installation.claude/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a claude-code -y
Personal installation~/.claude/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a claude-code -g -y
Manual folder.claude/skills/review-and-refactorOfficial docs ↗
Project installation.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a github-copilot -y
Personal installation~/.copilot/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a github-copilot -g -y
Manual folder.agents/skills/review-and-refactorOfficial docs ↗
Project installation.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a cursor -y
Personal installation~/.cursor/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a cursor -g -y
Manual folder.agents/skills/review-and-refactorOfficial docs ↗
Project installation.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a gemini-cli -y
Personal installation~/.gemini/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/github/awesome-copilot.git --scope workspace --path skills/review-and-refactor
Manual folder.agents/skills/review-and-refactorOfficial docs ↗
⚠ Installation uses the open-source skills CLI. Inspect the source and permissions before running the command.

Skill instructions

View source on GitHub ↗
## 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.