ts-type-naming

Community

Enforce TypeScript type naming conventions.

Authorlonewolfyx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TypeScript interfaces must use an I prefix and PascalCase, while type aliases use camelCase; this skill enforces those conventions and centralizes type declarations to maintain consistency across the codebase.

Core Features & Use Cases

  • Enforces interface naming patterns: I + PascalCase (e.g., IUserInfo, IApiConfig) and type naming: camelCase (e.g., userInfo, apiResponse).
  • Validates file locations for type declarations in general TS projects (root types.ts) or Nuxt projects (shared/types/types.ts), and reports deviations.
  • Suggests or automatically moves/renames declarations to compliant type files and updates references.

Quick Start

Run the TypeScript type naming checker on your repository to identify interface/type naming violations and apply fixes to align them with the rules.

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: ts-type-naming
Download link: https://github.com/lonewolfyx/skills/archive/main.zip#ts-type-naming

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