narrow-any-scope
CommunityContain any usage by keeping it narrowly scoped.
Software Engineering#typescript#refactoring#code-quality#type-safety#static-analysis#javascript-to-typescript#narrow-any-scope
Authorluyi985
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Use when the bare presence of any is unavoidable, but its reach should be minimized to preserve type safety and maintainable code.
Core Features & Use Cases
- Narrow in assignments to constrain any immediately.
- Use inline type assertions and explicit return types to block spread.
- Audit code for "escaping any" smells and apply targeted scoping.
Quick Start
Begin by identifying any usage and immediately constrain it with explicit types and targeted assertions.
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: narrow-any-scope Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#narrow-any-scope 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.