js-shorter

Community

Automatically modularize large JS/TS files.

AuthorDevelata
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Large JavaScript/TypeScript files are hard to maintain and understand. This Skill automates modularization by splitting code into components, routes, or state-based modules while preserving the original logic, following the guideline of keeping modules around 130 lines.

Core Features & Use Cases

  • Automatic splitting by export, function, and class boundaries to create modular parts (roughly under 130 lines for AI-friendly editing).
  • Three refactoring strategies: components, routes, and state-based splits.
  • Maintains original behavior and enables incremental refactoring to improve readability and scalability.

Quick Start

Run the modularizer on a target JS/TS file to generate modular parts according to the chosen strategy.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-shorter
Download link: https://github.com/Develata/Deve-Skills/archive/main.zip#js-shorter

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 223,000+ vetted skills library on demand.