adding-builtin-module

Generate Rust and JavaScript code for Node.js-compatible built-in modules.

19|2|Updated Jun 13, 2025
One-click install
npx skills add https://github.com/golemcloud/wasm-rquickjs --skill adding-builtin-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adding-builtin-module
Source: https://github.com/golemcloud/wasm-rquickjs/tree/main/.agents/skills/adding-builtin-module
Command: npx skills add https://github.com/golemcloud/wasm-rquickjs --skill adding-builtin-module

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of adding new Node.js-compatible built-in modules to the skeleton, simplifying the implementation of new built-in or native+JS module pairs.

Core Features & Use Cases

  • Automated Module Creation: Generates Rust and JavaScript code for new built-in modules.
  • Hybrid Module Support: Supports the creation of modules using a native bridge and a JS wrapper.
  • Customization: Allows customization of module dependencies and features.
  • Use Case: When developing an application that requires additional Node.js functionality, this Skill can be used to add a new module quickly and efficiently.

Quick Start

Use the adding-builtin-module skill to create a new built-in module for the 'example' function in Rust.

Frequently Asked Questions about adding-builtin-module

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a Node.js-compatible built-in module to a Rust project skeleton?

This Skill automates adding built-in modules by generating the necessary Rust and JavaScript code into your software skeleton, simplifying the implementation of native Node.js functionality.

Can I create a hybrid native and JavaScript module pair?

Yes, the Skill supports creating hybrid modules by generating a native Rust bridge alongside a JavaScript wrapper, allowing you to implement native+JS module pairs efficiently.

Do I need to know Rust and JavaScript to build built-in modules?

Yes, knowledge of both Rust and JavaScript is required. While the Skill automates code generation, you need these languages to implement and customize the module features and dependencies.

What is the best way to generate Rust code for a new Node.js module?

Using this Skill is an efficient way to generate Rust code for a new Node.js module, as it automates scaffolding and allows customization of module dependencies and features.

When should I automate built-in module creation instead of writing Rust code manually?

You should automate built-in module creation when your application requires additional Node.js functionality, allowing you to quickly generate Rust and JavaScript code without manual scaffolding.