一键导入
swift-wasm
Swift WASM development for setup, build, optimize, debug, and test workflows in Raven and related apps.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Swift WASM development for setup, build, optimize, debug, and test workflows in Raven and related apps.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | swift-wasm |
| description | Swift WASM development for setup, build, optimize, debug, and test workflows in Raven and related apps. |
Comprehensive guidance for Swift 6.2 WebAssembly workflows used by Raven.
setup: Set up Swift toolchain and WASM SDKbuild: Build the current project for WASMdev: Start development workflow/serveroptimize: Build an optimized production bundledebug: Diagnose build/runtime WASM issuestest: Run tests and browser validationQUICKSTART.mdDocumentation/GettingStarted.mdDocs/bundle-size-quickstart.mdbrew install swiftly
swiftly install 6.2.3
swiftly use 6.2.3
swift --version
swift sdk install \
https://download.swift.org/swift-6.2.3-release/wasm-sdk/swift-6.2.3-RELEASE/swift-6.2.3-RELEASE_wasm.artifactbundle.tar.gz \
--checksum 394040ecd5260e68bb02f6c20aeede733b9b90702c2204e178f3e42413edad2a
swift sdk list
swift build --swift-sdk swift-6.2.3-RELEASE_wasm
swift build --swift-sdk swift-6.2.3-RELEASE_wasm -c release -Xswiftc -Osize
swift build \
--swift-sdk swift-6.2.3-RELEASE_wasm \
-c release \
-Xswiftc -Osize \
-Xswiftc -whole-module-optimization \
-Xlinker --lto-O3 \
-Xlinker --gc-sections \
-Xlinker --strip-debug
-Osize / LTO / strip.build/wasm32-unknown-wasip1/.Implement and verify SwiftUI API parity for Raven UI components. Use when asked to audit missing or mismatched SwiftUI views/modifiers, add parity components, wire examples into `Examples/TodoApp`, validate rendering in a browser (including dark mode), and prepare branch/PR deliverables.
Create or extend Raven UI components and modifiers (rendering to VNode/DOM, wiring events, managing state), including JavaScriptKit interop guidelines (DOMBridge, JSClosure, @MainActor).
Generate and maintain deterministic SwiftUI-vs-Raven API parity reports and automation. Use when users ask to audit missing SwiftUI components/APIs, refresh coverage reports, reduce report noise, tune matching logic (owner-qualified names, constructors, operators), or update the weekly GitHub Actions PR workflow that publishes Reports/swiftui-api-gap/gap_report.md.
Raven development workflow for building, serving, testing, and debugging Swift WASM apps and Raven runtime changes.
Swift WASM development with Swift 6.2 APIs. Use for setting up WASM toolchains, building for WebAssembly, optimizing bundles, debugging WASM apps, or troubleshooting Swift WASM issues.