limit-any-type
CommunityLimit the any type to keep TypeScript reliable
Authorluyi985
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps prevent silent type-safety breakages by discouraging the use of the any type in TypeScript and guiding developers toward safer alternatives.
Core Features & Use Cases
- Iron Rule: Never use any without a documented reason, and prefer explicit types like unknown or interfaces.
- Common Dangers: Highlights issues such as loss of type safety, broken contracts, and hidden refactoring bugs when any leaks into code.
- Practical Guidance: Provides a clear path to replace any with proper types and a strategy for gradual refactoring during migrations.
Quick Start
Refactor a failing function that uses any by replacing its parameter and return type with precise interfaces and types.
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: limit-any-type Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#limit-any-type 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.