guidance-grammars
Guidance library grammar-constrained generation with categorical structure. Use when implementing structured LLM outputs with grammar constraints, building template-based generation with guaranteed formats, creating type-safe prompt templates with interleaved computation, or applying categorical grammar theory to constrained generation.
Installation and usage
Guidance library grammar-constrained generation with categorical structure. Use when implementing structured LLM outputs with grammar constraints, building template-based generation with guaranteed formats, creating type-safe prompt templates with interleaved computation, or applying categorical grammar theory to constrained generation.
Once installed, you can use this skill by running the following command in your terminal:
skills use guidance-grammars