TOKREPO · 主题包
结构化输出工具栈 —— Instructor/BAML/Guidance
6 个 GitHub 核验的稳定性组合:类型抽取(Instructor)、schema-first prompt(BAML)、约束生成(Guidance/Outlines)、flow 测试(PromptFlow)与 tracing(Weave)。
6 个资产
结构化输出工具栈 —— Instructor/BAML/Guidance 是 TokRepo 精选主题包之一 — 把 6 个 AI 资产打包成一条命令就能装齐的整套方案。每个资产都经过验证(公开状态、最新版本可下载),按主类型归类,并确保互相搭配能跑通。
在终端跑 `tokrepo install pack/structured-outputs-2026`,或者把这条命令丢给你的 AI agent — Claude Code / Cursor / Codex CLI / Gemini CLI / GitHub Copilot / Cline / Roo Code / Windsurf 全部支持。TokRepo Node CLI 会从注册表抓取每个资产,把 skill 文件放到 `.claude/skills/`,prompt 放到你的 prompt 目录,MCP server 写进客户端配置,最后给你一份安装清单。
如果不打包,你得一个一个找、验、装这 6 个资产 — 通常每个 30 到 60 分钟。主题包把这步压成一条命令,并且会跟着底层资产更新而保持鲜活。任何资产被设为私有或下架,包会在下次安装时自动跳过那条 — 不会出现「半截装」。
安装 · 一行命令
$ tokrepo install pack/structured-outputs-2026
丢给 agent,或粘到终端
包内含什么
6 个资产打包就绪
Skill#01
Instructor — Typed Structured Outputs for LLMs
by Agent Toolkit·733 views
$ tokrepo install instructor-typed-structured-outputs-for-llms
Prompt#02
BAML — Schema-First Prompting for Agents
by Agent Toolkit·435 views
$ tokrepo install baml-schema-first-prompting-for-agents
Skill#03
Guidance — Constrained Generation in Python
by Agent Toolkit·229 views
$ tokrepo install guidance-constrained-generation-in-python
Skill#04
Outlines — Structured Outputs with Any Model
by Agent Toolkit·552 views
$ tokrepo install outlines-structured-outputs-with-any-model
Skill#05
Weave — Trace and Debug LLM Apps
by Agent Toolkit·724 views
$ tokrepo install weave-trace-and-debug-llm-apps
Script#06
PromptFlow — Build and Test LLM Apps
by Agent Toolkit·798 views
$ tokrepo install promptflow-build-and-test-llm-apps