expressive-refactor
CommunityWrite code that speaks for itself.
Authorwannysim
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you eliminate unnecessary comments and improve code readability by leveraging closures and method chaining for more expressive and self-explanatory code.
Core Features & Use Cases
- Comment Reduction: Refactors code to reduce reliance on comments by making the code itself more descriptive.
- Closure Usage: Encapsulates temporary variables and logic within closures to prevent scope pollution.
- Method Chaining: Restructures code to use fluent interfaces, making sequential operations read like natural language sentences.
- Use Case: Refactor a complex function with many temporary variables and explanatory comments into a series of chained methods with clear, descriptive names.
Quick Start
Refactor the provided code snippet to maximize expressiveness by minimizing comments and utilizing closures and method chaining.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: expressive-refactor Download link: https://github.com/wannysim/mumak-www/archive/main.zip#expressive-refactor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.