integra-typescript-patterns
OfficialGuide safer, cleaner TypeScript patterns.
AuthorIntegra-Beauty
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill guides TypeScript teams to adopt consistent type patterns, improving code safety and maintainability by avoiding unsafe casts, enabling better type inference, and standardizing interface and enum usage.
Core Features & Use Cases
- Encourages minimal explicit return types and promotes type inference where possible.
- Recommends runtime type assertions to validate untrusted data and avoids brittle hard casts.
- Outlines interface design practices, enum usage with explicit values, and cautious null handling.
- Use Case: A team re-architects a TS module to align with the conventions by refactoring types, adding runtime guards, and ensuring interface consistency.
Quick Start
Run a quick pass to infer return types, replace unsafe casts with runtime assertions, and align interfaces and enums to the conventions.
Dependency Matrix
Required Modules
None requiredComponents
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: integra-typescript-patterns Download link: https://github.com/Integra-Beauty/integra-conventions/archive/main.zip#integra-typescript-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 471,000+ vetted skills library on demand.