Repository navigation
feat(skill): Rune Rust-native UI guidance and verified scaffold (0.3.0) - #3
Merged
Merged
Conversation
Add references/rust/rune.md: when the Rune GPU UI framework fits over a JS host or DOM-based Rust framework, git-rev pinning (the crates.io `rune` is an unrelated scripting language), crate shape for desktop and web from one cdylib+rlib crate, page mounting, web-target limits (WebGPU canvas, opt-in WebGL2 fallback, no DOM accessibility mirror), and evidence gates using rune::Runtime view tests, headless snaps/trees/scripts and wasm builds. Add assets/rune-web/: a scaffold built and tested against Rune 781e2b6d87cd5f32d6f4365956fad4baaf24ee50. Route to it from SKILL.md (and its description, for skill discovery), browser-wasm.md and steering; record provenance; release as 0.3.0. Co-Authored-By: jjohare <github@thedreamlab.uk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Rune (anomalyco/rune, MIT) guidance to the skill so Rust-to-WebAssembly UI work knows the framework exists, when it fits and how to verify it.
Changes
references/rust/rune.md: selection criteria, the crates.io name collision (the registry'sruneis the unrelated scripting language, so depend by gitrev), crate shape, page mounting, web-target limits and evidence gates.assets/rune-web/: a scaffold (Cargo.toml.tmpl,lib.rs.tmpl,main.rs.tmpl,smoke.json). The.tmplnames keep it from becoming a nested Cargo package.SKILL.md(row and description),browser-wasm.md§3 andsteering.md; provenance entries; version 0.3.0. The library and CLI are unchanged.Evidence (scaffold copied verbatim, Rune
781e2b6d87cd5f32d6f4365956fad4baaf24ee50)cargo test(native; needslibxkbcommonto link)rune::Runtimetest that taps through the real viewcargo clippy --all-targets -D warnings(native)cargo clippy --target wasm32-unknown-unknown -D warningsscripts/web-build.shrelease build.wasmis 10,893,638 B raw and 2,847,763 B gzipstartran; Rune reportedWebGPU requires a supported browser and HTTPS. No rendered-page proof--snap/--tree--no-default-features, doc-D warnings, package, sealmap--checkCI here does not build the scaffold, because that would pull wgpu into this workspace. Rebuild the scaffold by hand whenever the pinned Rune
revchanges.🤖 Generated by Claude Code