About
The ESM Module Patterns skill provides a comprehensive blueprint for implementing native ECMAScript Modules (ESM) in TypeScript environments. It enforces an 'ESM-only' architecture, guiding users through the transition away from CommonJS to leverage modern standards required by Node.js and contemporary bundlers. By utilizing this skill, developers can ensure their projects are correctly configured with appropriate package.json exports, mandatory .js file extensions in imports, and optimized barrel file structures for cleaner API surfaces and improved tree-shaking performance.