Skip to main content

VIBEE API

Specification-Driven Code Generator.

Module: src/vibeec/

CLI Commands​

tri gen <spec.vibee>               # Generate Zig code
tri strict check # VIBEE compliance check
tri improve # Self-improvement engine
tri validate <file> # Validate specs or code

See also: TRI CLI Reference for the full unified CLI, and VIBEE Tools for all VIBEE-related commands.

Specification Format​

name: module_name
version: "1.0.0"
language: zig
module: module_name

types:
TypeName:
fields:
field1: String
field2: Int

behaviors:
- name: function_name
given: Precondition
when: Action
then: Expected result

Supported Types​

TypeDescription
StringText string
IntInteger
FloatFloating point
BoolBoolean
List<T>Array
Option<T>Nullable