Skill
quality
✓ Verified
Free
Review and Refactor
Combined code review + refactoring pass — flag issues then propose concrete fixes you can apply.
4.7(73 reviews)
28,100 installs
by GitHub
About
Two-stage workflow: first review the target file/diff for issues (style, design, bugs, edge cases), then propose refactorings to address each finding. Stops between stages so you can approve before any change is applied.
Tags
reviewrefactorquality
Skill Instructions Preview
# Review and Refactor Two-stage code improvement workflow. ## Stage 1: Review 1. Read the target code 2. Catalog issues by category: - Bugs - Edge cases - Design smells - Style inconsistencies - Missing tests 3. Present findings table with severity 4. **Stop and wait for approval** ## Stage 2: Refactor 1. For each approved finding, apply a minimal fix 2. Run tests after each change 3. Stop on first failure 4. Commit each fix separately
Related Skills
Skill⭐
securityFREE
AI Security Code Reviewer
Trace data flows across files to find injection flaws, auth bugs, secrets, and crypto issues with severity ratings.
securityowaspvulnerabilities
G
GitHub4.8(248)
98k
★6.2k
Skill
developmentFREE
Code Refactoring Assistant
Identify code smells and apply safe, mechanical refactorings preserving exact behavior.
refactorclean-codesmells
G
GitHub4.7(134)
50k
★2.7k
Install
# Add as Claude Code slash command: curl -fsSL "https://raw.githubusercontent.com/github/awesome-copilot/main/skills/review-and-refactor/SKILL.md" \ -o ~/.claude/commands/review-and-refactor.md
Compatible with
claude codecursor
Trigger phrase
/review-refactorG
GitHub
@github