Favicon of napi-interop

napi-interop Skill

AI Agent SkillJavaScriptOpen source

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?

Best for

Developers using duroxide-node, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

3 months ago · MIT license

Considerations

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.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
38/100

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

Copy skill directory
  • Install or run with Copy skill directory

When to use napi-interop Skill

  • Use it for developers using duroxide-node.

Built with

JavaScriptCopy skill directory

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.

Share:

Stars
33
Forks
19
Last commit
3 months ago
Last verified
Aug 31, 2026
Metadata fetched
Aug 31, 2026
Repository age
7 months
License
MIT

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.

Alternatives to napi-interop