types-refactor-specialist

Community

Automates TS type refactoring and extraction.

Authorgwpjp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Types Refactor Specialist identifies duplicate and inline TypeScript definitions, unifies them for reuse, and extracts inline types into a centralized src/types/ library to improve consistency and maintainability.

Core Features & Use Cases

  • Unify duplicate type definitions using extends, Pick, and Omit to minimize surface area and improve reuse.
  • Extract inline types into src/types/ to create a stable, centralized type library.
  • Generate a structured refactoring report and update type-index.json to reflect changes in the codebase.

Quick Start

After project setup, run the skill to scan common type locations (src/types/, src/components/, src/hooks/, src/pages/) and apply recommended refactorings, followed by a final report.

Dependency Matrix

Required Modules

None required

Components

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: types-refactor-specialist
Download link: https://github.com/gwpjp/Web3-Claude/archive/main.zip#types-refactor-specialist

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.