code-simplifier

Automate code simplification to improve readability while preserving functionality during refactors.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/RyoyaYahagi/skills --skill code-simplifier-ryoyayahagi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-simplifier
Source: https://github.com/RyoyaYahagi/skills/tree/main/code-simplifier
Command: npx skills add https://github.com/RyoyaYahagi/skills --skill code-simplifier-ryoyayahagi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplify and refine code to improve clarity, consistency, and maintainability while preserving exact functionality.

Core Features & Use Cases

  • Targeted code simplification of recently modified sections to reduce noise and improve readability.
  • Applies project-wide standards by loading CLAUDE.md (or equivalent standards) when present and applying them during refactoring.
  • Use Case: when cleaning up a codebase, apply standardized refactors to improve structure and naming without altering outputs.

Quick Start

Provide a focused refinement pass on the most recently changed modules to improve clarity while preserving functionality.

Frequently Asked Questions about code-simplifier

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

FAQPage Schema
How do I refactor code for readability without changing functionality?

Refactoring code for readability without changing functionality requires applying targeted simplification to recently modified sections. This process improves clarity and maintainability while enforcing project standards and preserving exact outputs.

How do I automate code simplification for recently modified modules?

To automate code simplification for recently modified modules, apply a focused refinement pass that reduces noise and improves structure. This limits changes to the scope of recently touched code, ensuring consistent quality assurance.

Can I enforce project coding standards during automated refactoring?

You can enforce project coding standards during automated refactoring by loading standard files like CLAUDE.md when present. This ensures codebase cleanup aligns with established naming and structural conventions without altering behavior.

What is the best way to standardize code structure across a codebase?

The best way to standardize code structure across a codebase is to apply targeted refactoring passes to recently changed modules. This improves consistency and maintainability while strictly limiting modifications to preserve existing functionality.

When should I limit code cleanup to recently touched files?

You should limit code cleanup to recently touched files when you need to reduce noise and improve readability without risking unintended side effects. This scoped approach preserves behavior while enforcing standards on active modules.

Does automated code simplification preserve exact program behavior?

Automated code simplification preserves exact program behavior by restricting modifications to structural and naming improvements. It enforces coding standards and limits changes to recently modified code without altering outputs or functionality.