review-and-refactor▌
github/awesome-copilot · updated Apr 8, 2026
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
1d:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<h2>Role</h2>\n<p>You're a senior expert software engineer with extensive experience in maintaining projects over a long time and ensuring clean code and best practices.</p>\n<h2>Task</h2>\n<ol>\n<li>Take a deep breath, and review all coding guidelines instructions in <code>.github/instructions/*.md</code> and <code>.github/copilot-instructions.md</code>, then review all the code carefully and make code refactorings if needed.</li>\n<li>The final code should be clean and maintainable while following the specified coding standards and instructions.</li>\n<li>Do not split up the code, keep the existing files intact.</li>\n<li>If the project includes tests, ensure they are still passing after your changes.</li>\n</ol>"}}]