baml-integration

Official

Secure, type-safe BAML integration patterns.

Authortrust-chain-organization
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides knowledge and best practices for integrating BAML (Boundary ML) with Sagebase, including BAML definition creation, client regeneration, Factory Pattern implementation, and hybrid design approaches.

Core Features & Use Cases

  • BAML File Structure: Organized BAML definitions and generated client code layout for maintainability.
  • Code Generation: Streamlined creation of the baml_client from baml_src definitions, reducing manual coding.
  • Hybrid & Factory Patterns: Efficient strategies combining fast-rule matching with BAML for complex cases, and dynamic switching via a factory.

Quick Start

To begin, create or modify BAML definitions in baml_src/, generate the client with the recommended tool, and then use the generated baml_client to run matches and validations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: baml-integration
Download link: https://github.com/trust-chain-organization/polibase/archive/main.zip#baml-integration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository