lean-ts-patterns
CommunityBuild lean, zero-dependency TypeScript tools.
Authorcaidanw
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides patterns and code snippets to build lightweight, dependency-free TypeScript tools and libraries, reducing bloat and improving performance.
Core Features & Use Cases
- Zero Dependencies: Inline small utilities and use Node.js built-ins to avoid external package bloat.
- Type Safety: Leverage advanced TypeScript features like
constgenerics and conditional types for robust, type-safe code. - Composable Primitives: Build complex functionality by composing simple, single-purpose functions.
- Use Case: When creating a new CLI tool, a small utility library, or refactoring existing code to remove unnecessary dependencies, these patterns will guide you to a more maintainable and efficient solution.
Quick Start
Use the lean-ts-patterns skill to inline a simple ANSI color utility function into your project.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: lean-ts-patterns Download link: https://github.com/caidanw/skills/archive/main.zip#lean-ts-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.