Adding Modules¶
NSX modules are separate repos with nsx-module.yaml and a CMake surface.
Expected Workflow¶
- create or prepare the module repo
- define
nsx-module.yaml - expose the correct CMake targets
- declare required dependencies
- declare board, SoC, and toolchain compatibility
- add the module to the curated registry if it should be part of the standard catalog
- test it through app generation or
nsx module add
Design Rules¶
- keep compatibility explicit
- keep dependency closure clean
- avoid pass-through wrapper modules unless they provide a real stable surface
- prefer wrapper-based SDK consumption over copying arbitrary low-level SDK code
Semantic Metadata¶
First-class modules should also provide a small amount of semantic metadata in
nsx-module.yaml so discovery tooling and agents can reason about them.
Recommended fields:
summarycapabilitiesuse_casesanti_use_casesagent_keywordsexample_refscomposition_hints
Keep these fields short and literal. They are intended for machine-readable discovery and planning, not for long narrative documentation.