type-value-space

Community

Clarify Type vs Value space in TypeScript.

Authorluyi985
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Skill helps developers determine whether a symbol is used in Type Space (type-level) or Value Space (runtime), preventing misinterpretations of interfaces, classes, and type aliases.

Core Features & Use Cases

  • Disambiguation guidance: clearly explains when symbols refer to types versus values, with concrete examples.
  • Error-diagnosis assistance: aids in resolving common TypeScript errors caused by mixing type and value semantics.
  • Code analysis support: supports understanding destructuring, typeof, and enum/class behaviors at runtime.

Quick Start

Provide a code snippet, and I will determine for each symbol whether it resides in type space or value space and explain the runtime implications.

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

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.