code-simplify

Review diffs and refactor JavaScript/TypeScript and Python code for quality improvements.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/Vivekmano27/agent-orchestrator --skill code-simplify-vivekmano27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-simplify
Source: https://github.com/Vivekmano27/agent-orchestrator/tree/main/plugins/project-orchestrator/skills/code-simplify
Command: npx skills add https://github.com/Vivekmano27/agent-orchestrator --skill code-simplify-vivekmano27

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review and fix quality issues automatically in code during diffs and commits, reducing duplication, improving naming, and simplifying logic to improve long-term maintainability.

Core Features & Use Cases

  • Duplication elimination: Extract shared logic into utilities to reduce code duplication.
  • Complexity reduction: Simplify nested conditionals and reduce cyclomatic complexity.
  • Naming & readability: Improve naming to clearly express intent and ease maintenance.
  • Practical use case: When you refactor a module, apply safe, incremental changes with clear commit messages.

Quick Start

Run code-simplify on your latest changes to extract utilities and reduce complexity.

Frequently Asked Questions about code-simplify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically reduce code complexity and duplication in my JavaScript or Python diffs?

Code simplification reviews your diffs to extract shared utilities, simplify nested conditionals, and reduce duplication across touched JavaScript, TypeScript, and Python files. It outputs concrete, ready-to-apply refactor suggestions that preserve original behavior.

What is the best way to refactor code and improve naming readability during a commit?

Refactoring during a commit is best handled by applying safe, incremental changes that improve naming and simplify logic. This process analyzes your changes and generates clear commit messages alongside concrete refactoring opportunities.

Can I use automated code simplification to add guard clauses and reduce cyclomatic complexity?

Yes, automated code simplification targets cyclomatic complexity by prioritizing guard clauses and extracting clean utilities. It reviews your code changes to flatten nested conditionals and output ready-to-apply structural improvements.

Does code simplification preserve existing behavior when extracting utilities across touched files?

Code simplification ensures changes preserve behavior when extracting shared logic into utilities across touched files. It focuses on safe, incremental refactoring that maintains functionality while eliminating duplication and improving maintainability.

How do I review refactoring opportunities in my latest codebase changes?

You can review refactoring opportunities by running code simplification on your latest changes. It analyzes the diff to identify naming improvements, complexity reduction areas, and duplication elimination targets, providing concrete suggestions to apply.