napi-interop Skill
Rust↔JS interop architecture in duroxide-node. Use when modifying the napi bridge, adding ScheduledTask types, fixing cross-thread issues, changing tracing delegation, or debugging blockinplace / ThreadsafeFunction behavior. Published by microsoft in duroxide-node.
Decision snapshot
Is this a fit?
Developers using duroxide-node, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
3 months ago · MIT license
No specific cautions were detected. Review the source and requested permissions before installing.
What is napi-interop Skill?
Rust↔JS interop architecture in duroxide-node. Use when modifying the napi bridge, adding ScheduledTask types, fixing cross-thread issues, changing tracing delegation, or debugging blockinplace / ThreadsafeFunction behavior. Published by microsoft in duroxide-node. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using duroxide-node
Declared skill metadata
- Source file: .agents/skills/napi-interop/SKILL.md
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
When to use napi-interop Skill
- Use it for developers using duroxide-node.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/duroxide-node
- Skill file: .agents/skills/napi-interop/SKILL.md
What it does
Rust↔JS interop architecture in duroxide-node. Use when modifying the napi bridge, adding ScheduledTask types, fixing cross-thread issues, changing tracing delegation, or debugging blockinplace / ThreadsafeFunction behavior.
Skill instructions
napi-rs Interop Architecture Overview duroxide-node bridges Rust's duroxide runtime to Node.js via napi-rs. The interop has two distinct paths — orchestrations (generator-based, synchronous blocking) and activities (async Promise-based). Getting this wrong causes silent replay corruption, deadlocks, or dropped futures. File Map | File | Role | |------|------| | src/handlers.rs | Core interop — orchestration handler loop, activity invocation, global context maps, select/race/join, activity cancellation | | src/types.rs | ScheduledTask enum — the protocol between JS and Rust | | src/lib.rs | napi entry point, [napi] trace functions | | src/runtime.rs | JsRuntime — wraps duroxide::Runtime, registers handlers | | src/client.rs | JsClient — wraps duroxide::Client | | src/provider.rs | JsSqliteProvider | | src/pgprovider.rs | JsPostgresProvider | | lib/duroxide.js | JS generator driver, OrchestrationContext, ActivityContext | Orchestration Interop (Blocking Generator Loop) The replay engine
Verified compatibility and discovery
Frequently asked questions
What is napi-interop?
napi-interop is a open-source AI agent skill with Copy skill directory. Rust↔JS interop architecture in duroxide-node. Use when modifying the napi bridge, adding ScheduledTask types, fixing cross-thread issues, changing tracing delegation, or debugging blockinplace /.
Who is napi-interop best for?
napi-interop is best for reusing agent instructions, scripts, and references.
How do I install napi-interop?
Install or run napi-interop using Copy skill directory. Check napi-interop for the latest setup command.
Is napi-interop actively maintained?
napi-interop may need a closer maintenance check before production use.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.