For ruby-bindgen features and capabilities, see the docs/ directory
(classes, methods, enums, templates, default_values, filtering,
include_header, operators, iterators).
For configuration options, see docs/configuration.md.
lib/ruby-bindgen/generators/generator.rb- Base class for all generatorslib/ruby-bindgen/generators/rice/rice.rb- Rice generator that walks the ASTlib/ruby-bindgen/generators/rice/*.erb- ERB templates that generate Rice C++ codetest/headers/cpp/*.hpp- Test input headerstest/bindings/cpp/*-rb.cpp- Expected output (golden files)
Task-specific procedures live as Agent Skills under
.agent/skills/:
- running-tests — run rice_test and cmake_test, fully or by name. Read-only.
- update-expected-output —
regenerate golden files in
test/bindings/cpp/withUPDATE_EXPECTED=1. - bug-fix-workflow — test-first workflow, no-mocks / no-Rice-workarounds rules, typedef test layout.
The opencv-ruby regeneration workflow lives in that project's skills folder
at ../opencv-ruby/.agent/skills/regenerate-opencv-bindings/SKILL.md.
One commit per fix. Do not batch multiple unrelated fixes into a single commit.
Do not add Co-Authored-By or any other author attribution to commit messages.