ワンクリックで
raven-dev
Raven development workflow for building, serving, testing, and debugging Swift WASM apps and Raven runtime changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Raven development workflow for building, serving, testing, and debugging Swift WASM apps and Raven runtime changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
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.
Swift WASM development for setup, build, optimize, debug, and test workflows in Raven and related apps.
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.
| name | raven-dev |
| description | Raven development workflow for building, serving, testing, and debugging Swift WASM apps and Raven runtime changes. |
Use this skill when working on Raven examples, runtime rendering behavior, DOMBridge event handling, or WASM dev loops.
cd Examples/TodoApp
swift build --swift-sdk swift-6.2.3-RELEASE_wasm
cd Examples/TodoApp
raven dev
http://localhost:8000/python3 raven-dev.py in Examples/TodoApp for automatic rebuild/reload loops.JSClosure storage in Swift dictionaries keyed by stable IDsprivate var eventClosures: [UUID: JSClosure] = [:]
public func addEventListener(
element: JSObject,
event: String,
handlerID: UUID,
handler: @escaping @Sendable @MainActor () -> Void
) {
let jsClosure = JSClosure { _ in
Task { @MainActor in handler() }
return .undefined
}
eventClosures[handlerID] = jsClosure
_ = element.addEventListener!(event, jsClosure)
}