Engineering
navi avatar

navi

Navi programming language expert. Use for writing Navi code, debugging, implementing concurrency, handling error states, and managing Navi's type system or module integrations.

Introduction

The Navi expert skill provides comprehensive support for the Navi language, a high-performance, statically-typed compiled language designed for complex computing tasks and financial system glue logic. This skill assists developers in navigating Navi's syntax, which features modern optional types, robust error handling, and single-threaded concurrency models. Whether you are building real-time market monitoring tools or developing custom financial indicators, this skill serves as an authoritative guide for implementing idiomatic code that adheres to Navi's specific constraints and performance goals.

  • Expert knowledge of Navi syntax including structs, impl blocks, and module imports.

  • Guidance on safe memory management without NULL pointer exceptions using optional types and unwrap patterns.

  • Detailed patterns for error handling with throws, try/catch blocks, and early return logic.

  • Support for Navi's concurrency primitives including spawn blocks and typed channels.

  • Implementation assistance for Navi Stream (.nvs) logic, including technical indicator integration and data processing.

  • Guidance on building cross-platform applications targeting Linux, macOS, Windows, or WebAssembly.

  • Use this skill when you need to convert logic into .nv source files or optimize performance-critical paths.

  • Always refer to Navi's specific syntax limitations, such as the rule that if/switch must be used as statements rather than expressions.

  • When implementing concurrency, remember that Navi uses single-threaded interleaving, not multi-threaded parallelism; avoid long-blocking operations in spawn blocks.

  • Use the provided error handling patterns for reliable runtime execution and to avoid panic states.

  • The skill includes information on integrating Navi with market data inputs and exported variables from stream modules.

Repository Stats

Stars
104
Forks
1
Open Issues
10
Language
Not provided
Default Branch
main
Sync Status
Idle
Last Synced
May 3, 2026, 08:43 PM
View on GitHub