fix-imports

Official

Clean up code imports

AuthorVulnetix
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automatically detects and corrects malformed, duplicate, and missing import statements in TypeScript and Vue files, ensuring code integrity and preventing runtime errors.

Core Features & Use Cases

  • Detects and fixes malformed imports: Removes extra semicolons or quotes.
  • Identifies and merges duplicate imports: Consolidates multiple imports of the same module.
  • Adds missing imports: Ensures all used symbols are properly imported.
  • Enforces backend extension rules: Verifies .ts extensions for relative imports in functions/.
  • Use Case: Refactor a large codebase by automatically cleaning up all import statements, improving maintainability and reducing potential bugs.

Quick Start

Run the fix-imports skill to clean up imports in the src directory.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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-imports
Download link: https://github.com/Vulnetix/vdb-api/archive/main.zip#fix-imports

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.