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
66/ 100推荐值

导入这个 Skill

选择你的 coding agent,复制项目级或个人级安装命令。

固定到平台收录的 commit
导入当前项目.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a codex -y
导入个人环境~/.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a codex -g -y
手动放置目录.agents/skills/review-and-refactorOfficial docs ↗
导入当前项目.claude/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a claude-code -y
导入个人环境~/.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
手动放置目录.claude/skills/review-and-refactorOfficial docs ↗
导入当前项目.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a github-copilot -y
导入个人环境~/.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
手动放置目录.agents/skills/review-and-refactorOfficial docs ↗
导入当前项目.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a cursor -y
导入个人环境~/.cursor/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a cursor -g -y
手动放置目录.agents/skills/review-and-refactorOfficial docs ↗
导入当前项目.agents/skills/review-and-refactor
npx skills add https://github.com/github/awesome-copilot/tree/0aaced533251f5b86c69dfbc5e55db74c4b4d1af/skills/review-and-refactor -a gemini-cli -y
导入个人环境~/.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
手动放置目录.agents/skills/review-and-refactorOfficial docs ↗
⚠ 安装命令使用开源 skills CLI。执行前请检查来源、脚本和权限。
## 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.