
Review And Refactor
The review-and-refactor skill analyzes project code against defined coding guidelines and standards stored in `.github/instructions/` files, then refactors the code to improve maintainability and compliance while preserving file structure and test integrity. It serves development teams that need automated code quality improvements aligned with their project's specific standards and best practices. This skill solves the problem of maintaining consistent code quality and adherence to established guidelines across a project without manual line-by-line review.
- skills.sh installs
- 11.1K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill review-and-refactor --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
.github/instructions/*.mdand.github/copilot-instructions.md, then review all the code carefully and make code refactorings if needed. - 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.
Sponsors
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Git & Pull Requests, Code Review & Quality, AI & Agent Building
More from github/awesome-copilot
All 318- Update Implementation Plan11.1K
- Make Repo Contribution11.1K
- Csharp Async11.1K
- Editorconfig11K
- Create Github Action Workflow Specification10.8K
- Java Docs10.8K
- Python Mcp Server Generator10.5K
- Csharp Xunit10.4K
- Ai Prompt Engineering Safety Review10.4K
- Agentic Eval10.3K
- Create Architectural Decision Record10.3K
- Breakdown Feature Prd10.1K
- Refactor Method Complexity Reduce10K
- Powerbi Modeling10K
- Pdftk Server10K
- Scoutqa Test10K
- Nano Banana Pro Openrouter10K
- Markdown To Html9.9K
- Meeting Minutes9.9K
- Git Flow Branch Creator9.9K
- Dataverse Python Production Code9.8K
- Boost Prompt9.8K
- Kotlin Springboot9.8K
- Image Manipulation Image Magick9.8K