---
title: "review-and-refactor"
description: "Review and refactor skills for code simplification, deduplication, best-practice audits, frontend refactor planning, and adversarial review."
canonical: https://agentpluginsdirectory.com/plugins/review-and-refactor
last-updated: 2026-09-16
---

# review-and-refactor
Review and refactor skills for code simplification, deduplication, best-practice audits, frontend refactor planning, and adversarial review.
- Slug: review-and-refactor
- Publisher: Frad LEE
- Repository: https://github.com/slurpyb/skills
- Manifest: wip/plugins/review-and-refactor/plugin.json
- Version: 1.5.5
- License: MIT
- Category (editorial): other
- Skills: 7 (adversarial-reviewer, best-practices, code-deduplication, codex-review, frontend-refactor-planner, refactor-project, refactor)
- MCP servers: 0
- Stars: 0
- Repository created: 2026-02-03
- Repository last pushed: 2026-09-15
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/review-and-refactor
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What review-and-refactor does, in the publisher's words

Agent and skills for code simplification and refactoring to improve code quality while preserving functionality.

Version: 1.5.5

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/slurpyb/skills/HEAD/wip/plugins/review-and-refactor/README.md

## Skills

- adversarial-reviewer: Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt: every line is guilty until proven innocent.
- best-practices: Language-specific best practices, code quality standards, and framework detection rules. Use when executing refactoring workflows, applying code quality rules, detecting frameworks, or checking language-specific patterns for TypeScript, Python, Go, Swift, or React.
- code-deduplication: Prevent semantic code duplication with capability index and check-before-write
- codex-review: OpenAI Codex CLI code review with GPT-5.2-Codex, CI/CD integration
- frontend-refactor-planner: Creates safe refactor plans for messy UI code including component splitting strategies, state simplification, performance optimizations, and accessibility improvements. Provides phased approach, risk assessment, and "done" criteria. Use when refactoring "legacy code", "messy components", "performan…
- refactor-project: Executes automated project-wide refactoring with a focus on cross-file optimization. This skill should be used when the user asks for project-wide refactoring, cross-file simplification, consistency standardization across the codebase, duplication reduction, or invokes "/refactor-project".
- refactor: Executes automated refactoring for specific files, directories, or semantic queries. This skill should be used when the user asks to refactor specific files or directories, simplify recently changed code, clean up dead code in a limited scope, or invokes "/refactor".

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.
