typescript-rust-pattern
CommunityEnhance TypeScript code safety and maintainability with Rust-inspired patterns.
Authorghaerdi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps TypeScript developers write more robust and maintainable code by applying safety patterns inspired by Rust's type system.
Core Features & Use Cases
- Discriminated Unions: Eliminate impossible states and enforce exhaustive checks.
- Result Types: Handle errors explicitly and make failure paths visible.
- Boundary Validation: Validate data once at the system boundary for reliability.
- Explicit Mutability: Control and document when functions mutate data.
- Use Case: Ideal for refactoring legacy TypeScript code or developing new applications that require high safety and reliability standards.
Quick Start
Run the 'typescript-rust-pattern' skill to apply Rust-inspired patterns to your TypeScript codebase.
Dependency Matrix
Required Modules
@ghaerdi/rustifyzodyup
Components
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: typescript-rust-pattern Download link: https://github.com/ghaerdi/dotfiles/archive/main.zip#typescript-rust-pattern 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 620,000+ vetted skills library on demand.