review-and-refactor

Checks your code and suggests ways to make it cleaner, faster, and easier to read.

Installation
Run `npx skills add "https://github.com/github/awesome-copilot" --skill "review-and-refactor"` to install this skill, then follow its SKILL.md instructions for my next request.

Paste this into Claude Code, Cursor, or any agent that can run commands.

SKILL.mdShow the author's original SKILL.md
---
name: review-and-refactor
description: '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.

Mirrored from the author's public source. Install counts from the open skills registry.

The systems behind these skills get built for partners every week.

Partner with us