unify-types

Community

Unify similar types to reduce code complexity.

Authorluyi985
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Small differences between almost-identical types can balloon maintenance and duplicate logic. This Skill promotes unifying such types to simplify modeling and reduce boilerplate.

Core Features & Use Cases

  • Unifies interfaces or types that differ by only one or two properties.
  • Reduces parallel type hierarchies and repeated narrowing logic.
  • Helps keep APIs and data models coherent while preserving explicit semantics.

Quick Start

Refactor two near-identical types into a single unified type with clear variant indicators where differences matter.

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: unify-types
Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#unify-types

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.