---
id: ssh-review-and-refactor
name: "review-and-refactor"
url: https://skills.yangsir.net/skill/ssh-review-and-refactor
author: github
domain: ai-code-generation-quality
tags: ["code-review", "code-refactoring", "code-quality", "best-practices", "software-maintenance"]
install_count: 9800
rating: 4.50 (300 reviews)
github: https://github.com/github/awesome-copilot
---

# review-and-refactor

> 根据既定指令审查并重构项目代码，提升代码质量和可维护性。，AI Agent Skill，提升工作效率和自动化能力

**Stats**: 9,800 installs · 4.5/5 (300 reviews)

## Before / After 对比

### 审查与重构代码提升项目质量

## Readme

## 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.


---
*Source: https://skills.yangsir.net/skill/ssh-review-and-refactor*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh-review-and-refactor/markdown*