baml-integration
型安全な BAML 統合を構築する
LLM 機能は、アプリケーションの型や生成クライアントからずれやすいものです。このスキルは、より安全な統合作業のために、BAML スキーマ、DTO、クライアント生成、ラッパーをガイドします。
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "baml-integration" from https://skillstore.io/skills/consiliency-baml-integration.md and its manifest at https://skillstore.io/api/skills/consiliency-baml-integration/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「baml-integration」を使用しています。 あるチームが、型付き LLM 出力を持つドキュメント分析機能を追加したいと考えています。
期待される結果:
このスキルは、BAML のリクエスト型とレスポンス型、関数の形、クライアント生成手順を提案します。
「baml-integration」を使用しています。 生成された TypeScript クライアントが API レスポンス型と一致しなくなっています。
期待される結果:
このスキルは、スキーマを比較し、ずれを特定し、再生成と利用側の更新を推奨します。
「baml-integration」を使用しています。 バックエンドサービスが複数のハンドラーから BAML 関数を直接呼び出しています。
期待される結果:
このスキルは、リトライ、キャッシュポリシー、メトリクス、構造化されたエラーハンドリングを備えた共有ラッパーを提案します。
セキュリティ監査
中リスクAll 80 static findings are false positives caused by Markdown syntax, fixed imports, benign identifiers, or constrained maintenance commands. Three medium-risk examples remain: mutable CI dependencies, raw exception disclosure, and unbounded in-memory caches. No audit-directed prompt injection, credential theft, or malicious command intent was found.
確認済みのセキュリティ上の懸念 (3)
リスク要因
⚙️ 外部コマンド (50)
📁 ファイルシステムへのアクセス (3)
🌐 ネットワークアクセス (1)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/consiliency-baml-integration/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/consiliency-baml-integration?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/consiliency-baml-integration?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/consiliency-baml-integration/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/consiliency-baml-integration.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学術引用 (APA · BibTeX · CFF)
APA形式の引用
Consiliency. (2026). baml-integration security audit report (audit version 10) [Author version unspecified]. Skillstore. https://skillstore.io/skills/consiliency-baml-integration/audits/10BibTeX形式の引用
@techreport{consiliency-consiliency-baml-integration-2026,
author = {Consiliency},
title = {baml-integration security audit report (audit version 10)},
institution = {Skillstore},
year = {2026},
number = {10},
url = {https://skillstore.io/skills/consiliency-baml-integration/audits/10},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "baml-integration security audit report (audit version 10)"
version: "unspecified"
type: report
authors:
- name: "Consiliency"
date-released: "2026-07-13"
url: "https://skillstore.io/skills/consiliency-baml-integration/audits/10"
identifiers:
- type: other
value: "skillstore:consiliency-baml-integration:audit:10"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 高作成できるもの
型付き LLM 機能を追加する
新しい LLM ワークフローを追加する前に、BAML の入力、出力、関数を定義します。
生成クライアントを同期する
BAML スキーマをデータベースモデル、API 契約、フロントエンド型と整合させます。
LLM アクセスを標準化する
生成された BAML クライアントを、リトライ、キャッシュ、レート制限、一貫したエラーハンドリングでラップします。
これらのプロンプトを試す
Review my repository for BAML files and generated clients. Summarize the current setup and any missing generation steps.
Create BAML input and output types for this LLM feature. Include clear field descriptions and enum choices where useful.
Compare these model changes with my BAML types. Identify fields to add, rename, or deprecate before regenerating clients.
Review this BAML client wrapper for retries, caching, rate limits, metrics, and error handling. Recommend targeted improvements.
ベストプラクティス
- アプリケーションロジックを書く前に、明示的な BAML 入力型と出力型を定義します。
- スキーマ変更後はクライアントを再生成し、リリース前に生成ファイルを検証します。
- 明確な説明、enums、焦点を絞った DTO を使用して、曖昧な LLM 出力を減らします。
回避
- BAML 出力型でレスポンスを表現できる場合は、型なしの LLM テキストを解析しないでください。
- 生成クライアントをデータベース、API、フロントエンド契約からずれたままにしないでください。
- リトライ、キャッシュ、レート制限を無関係なハンドラーコード内に隠さないでください。
よくある質問
このスキルは何のためのものですか?
Python と TypeScript をサポートしていますか?
本番コードを自動生成できますか?
BAML ドキュメントの代わりになりますか?
いつクライアントを再生成すべきですか?
Claude、Codex、または Claude Code はこれを使用できますか?
開発者情報
作成者
Consiliencyライセンス
MIT
Skillstore リビジョン
r1
バージョンに関する注意
作者はバージョンを宣言していません。
リポジトリ
https://github.com/Consiliency/treesitter-chunker/tree/main/.ai-dev-kit/skills/baml-integration参照
635f69fb8d2f4e6330ba47a4e5a0fb239c04d110
メンテナンスの新しさ
2026/7/25
利用状況
4 ダウンロード · 217 閲覧
ファイル構成