Agent skill · software engineering · aiskillstore
baml-integration
Generic BAML patterns for type-safe LLM prompting. Covers schema design, DTO generation, client wrappers, and cross-language codegen. Framework-agnostic.
Why this skill is useful
Provides specific patterns and commands for BAML integration that enhance type-safe LLM prompting and code generation, which the AI may not reliably generate on its own.
What it needs
Requires baml-cli installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
BAML Integration Skill Universal patterns for working with BAML (Boundary ML) in any project. BAML provides type-safe LLM prompting with automatic code generation for Python and TypeScript. Design Principle This skill is framework-generic. It provides universal BAML patterns that work in any codebase: NOT tailored to CodeGraph-DE, Book-Vetting, or any specific project Covers common patterns applicable across all BAML projects Specific domain types should go in project-specific skills Variables Variable Default Description ---------- --------- ------------- BAMLSRC bamlsrc Directory containing BAML files AUTOGENERATE true Auto-run baml-cli generate on changes STRICTTYPES true Enforce strict type matching Instructions MANDATORY - Follow the Workflow steps below in order. 1. Understand BAML's role in the project 2. Check existing BAML schema and types 3. Follow type-safe patterns when working with LLMs 4. Keep generated code in sync Red Flags - STOP and Reconsider If you're about to: Define LLM prompts without BAML types Manually parse LLM output instead of using BAML Skip running baml-cli generate after schema changes Ignore type errors in generated clients STOP -> Define BAML types -> Generate client -> Then proceed Workflow 1. Understand Project BAML Setup Check the BAML configuration: 2. Review Existing Types Before adding new types, review what exists: 3. Define New Types When adding LLM-powered features: 4. Generate Client After schema changes: 5. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/baml-integration