path-alias-validator
CommunityValidate and fix path alias usage across code.
Authorshenjingnan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Path Alias Validator helps teams enforce consistent import paths by detecting and fixing inconsistent or non-aliased imports across code, docs, and configuration files.
Core Features & Use Cases
- Detection: Finds relative imports that should be replaced with aliases in TypeScript/JavaScript sources and code examples in documentation blocks.
- Validation: Checks alias mappings across tsconfig.json, vitest.config.ts, tsup.config.ts, and package.json to ensure consistency.
- Auto-Fix: Proposes and applies automated replacements from relative paths to alias-based imports, improving maintainability.
Quick Start
To scan and repair path aliases in your repo, run the validator and review suggested changes before applying.
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: path-alias-validator Download link: https://github.com/shenjingnan/xiaozhi-client/archive/main.zip#path-alias-validator 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.