What problem does it solve?
This Skill addresses the challenge of complex, unreadable, or inconsistent code by refining it to be clearer, more maintainable, and adhere to project-specific best practices without altering its core functionality.
Core Features & Use Cases
- Code Refinement: Improves code readability, consistency, and maintainability.
- Functionality Preservation: Ensures all original features and behaviors remain intact.
- Best Practice Adherence: Applies project-specific coding standards (e.g., ES modules, explicit types, consistent naming).
- Use Case: You have a piece of recently written code that is hard to understand due to nested ternaries or overly compact syntax. Use this Skill to rewrite it using clearer constructs like switch statements or step-by-step variable assignments.
Quick Start
Simplify the provided code snippet to improve its readability and maintainability.