What problem does it solve?
This skill provides an authoritative NeuroScript language reference and troubleshooting guide to resolve questions about neuron definitions, ports, shapes, connections, match expressions, context bindings, conditionals, and impl references so authors can write correct .ns files and avoid shape or instantiation errors.
Core Features & Use Cases
- Syntax reference: Clear rules for neuron declarations, parameters, port specifications, use statements, impl notation, and comments.
- Shape and dimension system: Explanations of literal, named, wildcard, variadic, and expression dimensions, plus shape unification and broadcasting rules.
- Graph & control flow guidance: Best practices for pipelines, implicit and explicit forks, match expressions, guards, and if/elif/else routing.
- Context and recursion semantics: Detailed behavior for @lazy, @static, and @global bindings, recursion constraints, and validation rules.
- Validation scenarios: How to detect and fix non-exhaustive matches, unreachable arms, dimension mismatches, recursive instantiation errors, and impl/import formatting mistakes.
Quick Start
Ask the skill to inspect a neuron definition that is failing validation and explain the minimal changes required to fix ports, shapes, match arms, or context bindings.