import-conventions
CommunityEnforce explicit imports and consistent ordering.
Authorcrmagz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide enforces consistent and explicit import practices across a codebase, reducing confusion and errors caused by ambiguous or wildcard imports.
Core Features & Use Cases
- Explicit Named Imports: always import named symbols and never use wildcard imports to improve clarity and tree-shakability.
- Import Order: structure imports from Node built-ins, external dependencies, internal packages, and local modules to maintain consistency.
- Workspace Monorepo Hygiene: supports monorepo setups with workspace packages, ensuring consistent imports across packages.
Quick Start
Organize your TypeScript imports using the explicit-named imports rule and the defined import order.
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: import-conventions Download link: https://github.com/crmagz/cdk-constructs-library/archive/main.zip#import-conventions 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.