js-refactor-cleanup-skill

Community

Refactor JS/TS code for clarity.

AuthorHMWKR
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of cleaning up, renaming, and refactoring JavaScript and TypeScript code, enhancing readability and maintainability without altering program behavior.

Core Features & Use Cases

  • Code Improvement: Renames variables, functions, and extracts helpers to improve code clarity.
  • Modernization: Converts callback-based code to async/await for better readability.
  • Consistency: Applies Prettier-like formatting and idiomatic naming conventions.
  • Use Case: Refactor a legacy JavaScript codebase by improving variable names, extracting complex logic into smaller functions, and ensuring consistent formatting across all files.

Quick Start

Use the js-refactor-cleanup-skill to refactor the provided JavaScript code, focusing on clearer naming and extracting small helper functions.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 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: js-refactor-cleanup-skill
Download link: https://github.com/HMWKR/dotclaude/archive/main.zip#js-refactor-cleanup-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.