
review-and-refactor
✓ Official★ 36,200by github · part of github/awesome-copilot
Automated code review and refactoring against project-specific coding guidelines and instructions. Reads coding standards from .github/instructions/*.md and .github/copilot-instructions.md to establish project conventions Performs comprehensive code review and refactoring to align with defined guidelines while preserving file structure Validates that existing tests continue to pass after refactoring changes Maintains code integrity by keeping files intact rather than splitting or...
Automated code review and refactoring against project-specific coding guidelines and instructions. Reads coding standards from .github/instructions/*.md and .github/copilot-instructions.md to establish project conventions Performs comprehensive code review and refactoring to align with defined guidelines while preserving file structure Validates that existing tests continue to pass after refactoring changes Maintains code integrity by keeping files intact rather than splitting or...
Inspect the full instructions your agent will receiveExpandCollapse
This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.
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
- 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.
npx skills add https://github.com/github/awesome-copilot --skill review-and-refactorRun this in your project — your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.