typescript-any-eliminator
CommunityStrengthen TS types by removing any.
System Documentation
What problem does it solve?
This Skill helps eliminate the use of any in TypeScript by guiding you to use precise, generated types from your database schema, and by replacing loose any with unknown plus type guards. It reduces runtime errors caused by unchecked types.
Core Features & Use Cases
- Type strengthening: Replace any with generated types from Supabase database schemas (e.g., cotizaciones row type).
- Safe data handling: Use unknown with type guards to narrow down data before processing.
- Guided refactor examples: Convert dynamic or loosely-typed callbacks and dynamic objects to well-typed structures.
Quick Start
Search for occurrences of any in your codebase. Replace with precise types using generated Database Tables types and add type guards to validate unknown inputs. For example, convert a function parameter typed as any to data: unknown and implement a guard like isValidData to cast to a known interface before use.
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: typescript-any-eliminator Download link: https://github.com/sanchezx1/v0-fullcolor-cotizador/archive/main.zip#typescript-any-eliminator 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.