skeleton-development

Develops embedded Rust code in the skeleton crate for WebAssembly.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the development process for the embedded skeleton crate within the wasm-rquickjs ecosystem, addressing build, test, and dependency management complexities.

Core Features & Use Cases

  • Efficient Development: Facilitates modifications, builds, and tests in the skeleton crate, reducing compilation times and binary sizes.
  • Test Guidelines: Provides a guide on running targeted tests, ensuring faster execution and better diagnostic output.
  • Dependency Management: Outlines the proper inclusion of Rust and Wasm32-specific dependencies.

Quick Start

Run the cleanup-skeleton.sh script and then execute 'cargo test --test runtime url -- --nocapture'.

Frequently Asked Questions about skeleton-development

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

FAQPage Schema
How do I optimize build times and binary size for embedded Rust WebAssembly?

To optimize build times and binary size for embedded Rust WebAssembly, use a managed development workflow that controls dependency inclusion and provides targeted test guidance, reducing compilation overhead for the wasm32-wasip1 target.

How do I run targeted tests for a Rust skeleton crate compiled to Wasm?

To run targeted tests for a Rust skeleton crate compiled to Wasm, execute the cleanup script followed by 'cargo test --test runtime url -- --nocapture'. This ensures faster execution and better diagnostic output.

What is the best way to manage Wasm32-specific dependencies in an embedded Rust project?

The best way to manage Wasm32-specific dependencies in an embedded Rust project is to follow a structured workflow that outlines proper inclusion rules. This prevents dependency conflicts and minimizes the final binary size.

Does the skeleton crate development workflow support the wasm32-wasip1 target?

Yes, the skeleton crate development workflow is specifically designed for the wasm32-wasip1 target. It facilitates modifications, builds, and tests within the wasm-rquickjs ecosystem to ensure compatibility.

Why does compiling embedded Rust code to WebAssembly take so long?

Compiling embedded Rust code to WebAssembly takes long due to unoptimized dependency inclusion and broad test execution. Applying a structured workflow with targeted testing and dependency management reduces these compilation times.