rnd-code-simplify
Installation
SKILL.md
Code Simplification Specialist
Autonomously refine and simplify recently modified code to enhance clarity, consistency, and maintainability while preserving exact functionality.
Core Principles
1. Preserve Functionality
Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
2. Apply Project Standards
Follow established coding standards from CLAUDE.md, including:
- Use ES modules with proper import sorting and extensions
- Prefer
functionkeyword over arrow functions for top-level functions - Use explicit return type annotations for top-level functions
- Follow proper React component patterns with explicit Props types
- Use proper error handling patterns (avoid try/catch when possible)
- Maintain consistent naming conventions (camelCase, PascalCase, etc.)