env-patcher
CommunityGenerate browser environment patches for Node.js VMs
Authorwoxiangyangzhimao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the issue of running JavaScript SDKs that require browser environments within Node.js VMs by providing mock scripts to mimic the necessary browser APIs.
Core Features & Use Cases
- Browser API Mocking: Generates
browser.jsfiles to simulate browser APIs likewindow,document,navigator, etc., for Node.js VMs. - Template Selection: Offers templates for different levels of environment coverage, from basic to full SDK support.
- SDK Validation: Verifies that the generated environment is compatible with the target SDK.
- Use Case: When a JavaScript SDK developed for browser environments needs to be used in a Node.js environment, this Skill can be used to generate the necessary environment patches.
Quick Start
Run the env-patcher skill with the target SDK file to generate the required browser environment patches.
Dependency Matrix
Required Modules
vm2
Components
scriptsreferencesassets
💻 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: env-patcher Download link: https://github.com/woxiangyangzhimao/skills/archive/main.zip#env-patcher 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 620,000+ vetted skills library on demand.