mcpField
R
review-and-refactor

review-and-refactor

github.com/githubDevelopment40.5k11.1k installsUpdated today
Repository

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

  1. 01Review repository coding instructions
  2. 02Inspect code for refactoring needs
  3. 03Keep existing files intact
  4. 04Run available tests after changes

Use cases

  1. 01Applying project coding standards
  2. 02Improving code maintainability
  3. 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-refactor

After installing, type/review-and-refactorin Claude Code to confirm it loaded.

Details

From the project 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.

Comments

Markdown supported