bare-importmaps
CommunityEnforce bare imports and local import maps.
System Documentation
What problem does it solve?
Enforce Bare-style builtin imports and package-local import maps for Holepunch, Pear, Autobonk, Bare runtime, and other dual-runtime JavaScript work. Use when editing code that may run under Bare or a repo that already uses package.json "imports" for bare polyfills. Prefer plain builtin specifiers like "fs", "path", "crypto", "url", "http", and "https" instead of "node:*", and update the nearest package.json import map and dependencies when a new builtin is introduced.
Core Features & Use Cases
- Enforces plain builtin specifiers across codebases to avoid node:* imports.
- Keeps import maps package-local by updating the nearest package.json.
- Applies to Bare-compatible environments and repos with existing import maps.
Quick Start
Replace node:* imports with plain builtin specifiers and update the nearest package.json import map accordingly.
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: bare-importmaps Download link: https://github.com/mikker/dotfiles/archive/main.zip#bare-importmaps 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 510,000+ vetted skills library on demand.