Parsing and Mutating Strings

Official

Precisely transform strings, preserve narrow types.

Authorinocan-group
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a powerful set of utilities to parse and mutate string values and types with high precision, ensuring that the resulting TypeScript types are as narrow and accurate as possible. It simplifies complex string manipulations at both runtime and design-time, reducing manual effort and potential errors.

Core Features & Use Cases

  • Simple String Operations: Offers utilities for trimming whitespace, stripping content before/after delimiters, retaining specific sections, and ensuring leading/trailing substrings.
  • Type-Safe String Transformations: Leverages inferred-types to provide compile-time guarantees for string mutations, ensuring type narrowing and correctness.
  • Use Case: Automatically clean user input by stripping unwanted characters, ensuring specific prefixes/suffixes, or extracting data between known delimiters, all while maintaining strong type inference.

Quick Start

Use the parsing skill to explain how to use the StripLeading<T, U> type utility to remove a specific prefix from a string literal type.

Dependency Matrix

Required Modules

inferred-types

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: Parsing and Mutating Strings
Download link: https://github.com/inocan-group/inferred-types/archive/main.zip#parsing-and-mutating-strings

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.