About review-and-refactor
A code-review and refactoring skill for software engineers or coding agents. It directs a review of repository-specific instructions and code, with existing files kept intact and tests rerun when available.
Key features
- 01Review repository coding instructions
- 02Inspect code for refactoring needs
- 03Keep existing files intact
- 04Run available tests after changes
Use cases
- 01Applying project coding standards
- 02Improving code maintainability
- 03Checking tests after refactoring
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ github/ awesome-copilot --skill review-and-refactorAfter installing, type/review-and-refactorin Claude Code to confirm it loaded.
Details
From the project READMERole
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.
Comments
Markdown supported