guidance-grammars
CommunityGrammar-guided generation for structured prompts.
Software Engineering#guidance#grammar#type-safety#structured-output#constrained-generation#LLM-prompting#template-generation
Authormanutej
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a framework for grammar-constrained generation using Guidance to produce structured, template-bound outputs from language models, reducing drift and ensuring format compliance.
Core Features & Use Cases
- Grammar-based generation: apply formal grammars to control text structure and allowed tokens.
- Composition and interleaving: build multi-step prompts with deterministic composition and captured variables.
- Type-safe templates: create templates with bound captures that map to structured data or schemas.
- Use cases: generate standardized reports, code templates, or constrained QA pairs with predictable formats.
Quick Start
Install Guidance, define a simple grammar, and run a constrained generation task to produce a templated output.
Dependency Matrix
Required Modules
None requiredComponents
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: guidance-grammars Download link: https://github.com/manutej/categorical-meta-prompting/archive/main.zip#guidance-grammars Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.