review-and-refactor
🎯Skillfrom github/awesome-copilot
Reviews code and performs refactoring according to predefined instructions and coding standards.
Overview
Review and Refactor is a skill that performs comprehensive code review and refactoring based on your project's defined coding guidelines and instructions. It acts as a senior software engineer, reading all coding standards from .github/instructions/*.md and .github/copilot-instructions.md, then systematically reviewing and cleaning up code to ensure it meets those standards.
Key Features
- Standards-Driven Review - Reads and applies all coding guidelines defined in
.github/instructions/*.mdand.github/copilot-instructions.mdto ensure consistent adherence - Clean Code Refactoring - Refactors code for maintainability and cleanliness while preserving existing file structure and not splitting up code unnecessarily
- Test Preservation - Verifies that existing tests still pass after refactoring changes, ensuring no regressions are introduced
- Non-Destructive Approach - Keeps existing files intact and focuses on improving code quality within the current project structure
Who is this for?
This skill is ideal for developers and teams who have established coding guidelines in their repository and want an automated way to enforce them consistently. It is particularly useful for maintaining code quality across large projects where manual code review may miss guideline violations.
Same repository
github/awesome-copilot(314 items)
Installation
npx vibeindex add github/awesome-copilot --skill review-and-refactornpx skills add github/awesome-copilot --skill review-and-refactor~/.claude/skills/review-and-refactor/SKILL.mdSKILL.md
More from this repository10
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Generates comprehensive Product Requirements Documents (PRDs) by systematically analyzing requirements and crafting detailed technical specifications
Expert technical writer guided by the Diataxis framework, creating tutorials, how-to guides, reference docs, and explanation pages for software documentation.
Generates Excalidraw diagrams from natural language descriptions, creating visual representations of processes, systems, relationships, and ideas.
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Provides Spring Boot best practices covering project setup, dependency injection, REST API design, data access with JPA, security configuration, and testing strategies.
Creates optimized multi-stage Dockerfiles for any language or framework, separating builder and runtime stages to produce smaller, more secure container images.
Creates README.md files for projects.
Merges mature lessons from domain memory files into instruction files, consolidating knowledge with minimal redundancy across global, user, and workspace scopes.