What problem does it solve?
Engineers often introduce complexity, inconsistencies, or unclear naming when making quick edits, which makes code harder to read, maintain, and review; this Skill streamlines recently changed code to improve clarity and consistency without changing its behavior.
Core Features & Use Cases
- Preserve functionality: Applies transformations that never change outputs, side effects, or public APIs.
- Apply project standards: Enforces ES module usage, import sorting, function keyword preference, explicit top-level return annotations, React Props typing, and consistent naming and error-handling patterns.
- Enhance clarity: Reduces unnecessary nesting, removes redundant abstractions, and improves variable and function names for readability.
- Use Case: During code review, run the Skill on recently modified files to automatically simplify logic and align them with repository conventions before merging.
Quick Start
Use the code-simplifier skill to refine the recently modified files in the src directory, improving clarity and consistency while keeping all behavior unchanged.