avoid-wrapper-types

Community

Prefer primitives over wrapper types in TS.

Authorluyi985
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps prevent the misuse of object wrapper types in TypeScript by promoting lowercase primitives and explaining auto-boxing and common pitfalls.

Core Features & Use Cases

  • Enforce primitive types: string, number, boolean, symbol, bigint.
  • Explain why wrappers like String, Number, Boolean cause issues in type systems and at runtime.
  • Practical guidance for refactoring and static analysis to avoid wrapper usage in codebases.

Quick Start

Replace wrapper types with primitive types in your TypeScript codebase.

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