code-simplifier

Installation
SKILL.md

Code Simplifier

Analyze recently modified code and suggest refinements that improve clarity, consistency, and maintainability - without changing what the code does. The review covers three complementary aspects:

  1. Code Reuse - Eliminate duplication, consolidate shared logic, leverage existing utilities.
  2. Code Quality - Improve naming, reduce complexity, enforce project standards from AGENTS.md.
  3. Efficiency - Fix algorithmic issues, remove unnecessary work, optimize resource usage.

Review Process

Identify the Scope

By default, focus on recently modified code. Use git diff or the file list from the current PR/MR to determine the changed files. When the user specifies a different scope, follow their instruction:

  • Specific files: "simplify src/auth.py" - review only the named files
  • Directory: "simplify the utils/ folder" - review all files in that directory
  • Full repo: "simplify the whole project" - review the entire codebase
  • PR/MR: "simplify this PR" - review only files changed in the current PR/MR
Installs
2
GitHub Stars
108
First Seen
May 16, 2026
code-simplifier — openhands/extensions