fix-unused-imports
CommunityAutomatically remove unused TS imports and vars.
Authorinernoro
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automatically detect and fix TypeScript unused imports/variables errors (TS6133). Use when encountering "declared but its value is never read" errors during tsc, build, or CI checks.
Core Features & Use Cases
- Identify the error message and extract the file path, line number, and unused identifier.
- Read the file around the error to determine the best fix.
- Decide fix strategy: remove the entire unused import, prune from multi-import lists, or handle unused variables.
- Apply the fix and verify by re-running the original command.
Quick Start
Run the tool to automatically remove the unused import or variable and re-check the TypeScript compilation.
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: fix-unused-imports Download link: https://github.com/inernoro/prd_agent/archive/main.zip#fix-unused-imports 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.