auto-typescript
OfficialEliminate unsafe casts; enforce true type safety.
AuthorCorvalis-LLC
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TypeScript projects often end up with unsafe casts like as any or as unknown as X, which hides type issues and leads to runtime errors. This Skill guides you to replace unsafe casts with explicit types, proper narrowing, and validated boundaries to improve reliability.
Core Features & Use Cases
- Eliminate as any and double casts by deriving concrete types and using type guards.
- Apply branded types to enforce domain safety across APIs and modules.
- Promote safe parsing and validation of external data using Zod or similar validators.
- Enforce strict TypeScript configuration such as noUncheckedIndexedAccess and exactOptionalPropertyTypes.
- Improve maintainability by explicit return types and robust type-level patterns. Use cases include API handling, database result processing, and complex generics where precise typing matters.
Quick Start
Refactor a sample function that uses as any to return a properly typed value and add a type guard to narrow unknown inputs.
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: auto-typescript Download link: https://github.com/Corvalis-LLC/Crow-Stack/archive/main.zip#auto-typescript 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 510,000+ vetted skills library on demand.