skills/smithery.ai/js-library-distribution

js-library-distribution

Installation
SKILL.md

Library Distribution Patterns

Critical: No Global Pollution

Distributable libraries run in customer environments alongside unknown code. Global pollution can break customer sites.

NEVER Modify Global Objects

// ❌ CRITICAL: Never extend native prototypes
Array.prototype.customMethod = function() { ... }
String.prototype.format = function() { ... }
Object.prototype.toJSON = function() { ... }

// ❌ CRITICAL: Never modify third-party libraries
import _ from 'lodash'
_.customUtil = function() { ... }  // Pollutes lodash globally
Installs
1
First Seen
Mar 20, 2026
js-library-distribution from smithery.ai