跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Guidance

技能 已验证 活跃

Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework

目的

To provide developers with fine-grained control over LLM output, ensuring validity, structure, and reducing generation latency for tasks requiring precise formatting and multi-step reasoning.

功能

  • Constrained LLM output generation via regex and grammars
  • Guaranteed valid JSON, XML, and code generation
  • Token healing for natural continuations
  • Support for multiple LLM backends (API and local)
  • Pythonic control flow for multi-step workflows
  • Selection constraints for fixed choices

使用场景

  • Generating valid JSON or XML outputs
  • Enforcing specific data formats (emails, dates, phone numbers)
  • Building structured agent workflows with decision trees
  • Reducing LLM latency by constraining generation paths
  • Creating reproducible LLM outputs through precise grammars

非目标

  • Replacing the core LLM inference engine
  • Providing a low-level interface for raw token generation
  • Handling the execution of external tools (delegated to user code)
  • Managing LLM agent orchestration beyond generation control

Execution

  • info:Pinned dependenciesWhile dependencies are listed, specific version pinning and lockfiles are not explicitly detailed in the SKILL.md, relying on standard pip behavior.

安装

请先添加 Marketplace

/plugin marketplace add Orchestra-Research/AI-Research-SKILLs
/plugin install AI-Research-SKILLs@ai-research-skills

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交17 days ago
星标8.3k
许可证MIT
状态
查看源代码

类似扩展

Guidance

79

Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework

技能
davila7

Teach Guidance

100

Guide a person in becoming a better teacher and explainer. AI coaches content structuring, audience calibration, explanation clarity, Socratic questioning technique, feedback interpretation, and reflective practice for technical presentations, documentation, and mentoring. Use when a person needs to present technical content and wants preparation coaching, wants to write better documentation or tutorials, struggles to explain concepts across expertise levels, is mentoring a colleague, or is preparing for a talk or knowledge-sharing session.

技能
pjt222

Moyu (摸鱼)

100

감지된 과잉 엔지니어링 패턴: (1) 사용자가 명시적으로 요청하지 않은 코드나 파일을 수정할 때 (2) 요청되지 않은 새로운 추상화 계층(클래스, 인터페이스, 팩토리, 래퍼)을 생성할 때 (3) 요청되지 않은 주석, 문서, JSDoc, 타입 주석을 추가할 때 (4) 요청되지 않은 새로운 종속성을 도입할 때 (5) 최소 편집 대신 파일 전체를 다시 작성할 때 (6) diff 범위가 사용자의 요청을 명백히 초과할 때 (7) 사용자가 "너무 많아", "거기는 건드리지 마", "X만 변경해", "간단하게", "그만"과 같은 신호를 보낼 때 (8) 발생할 수 없는 시나리오에 대한 오류 처리, 유효성 검사, 방어적 코드를 추가할 때 (9) 요청되지 않은 테스트, 설정 스캐폴딩, 문서를 생성할 때

技能
uucz

Create Command

100

Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration

技能
NeoLabHQ

Write A Skill

100

Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.

技能
mattpocock

Openclaw

100

使用多提供商路由从文本生成图像和视频 — 支持 GPT Image 2.0(近乎完美的文本渲染)、Nanobanana 2、Seedream 5.0、Midjourney V8.1(统一的逼真+动漫风格)、Flux 2 Klein(经济高效的草稿)、Seedance 2.0 / Happyhorse 1.0 / Veo 3.1 视频,以及本地 ComfyUI 工作流。包含 1,446 个精选提示和风格感知提示增强。当用户想要创建图像/视频、设计素材、制作照片动画、增强提示或管理 AI 艺术工作流时使用。不适用于:通用聊天、代码生成、文档编写、现有素材的视频编辑、音频/TTS,或任何与 AI 图像/视频创建无关的任务。

技能
jau123