eclipse-langium/langium-ai
Agent skills for building Langium 4.x languages and for using the Langium AI (lai) CLI to generate descriptors, system prompts, evals, and MCP servers for your DSL
Guide for using the langium-ai (LAI) CLI to generate language descriptors, synthesize system prompts, run evaluations, and iteratively refine AI-powered tooling in Langium projects. Use when working with lai commands, descriptors, or evaluation files.
Generate or refine a language descriptor for a Langium DSL project. Bootstraps a new descriptor via lai gen descriptor if none exists, then guides refinement of paths, services, examples, documentation, and structure.
Expand and refine the evaluation suite for a Langium DSL project. Generates comprehensive eval files that cover syntactic correctness, semantic validity, user intent matching, edge cases, and language understanding.
Skill for generating a skill for understanding a specific Langium-based DSL. Used in cooperation with the lai & langium skills for understanding.
Generate a Model Context Protocol (MCP) server that exposes a Langium DSL's parser and validator as an MCP tool, allowing any MCP-compatible client to validate DSL code and receive diagnostics.
Generate or refine a system prompt for a Langium DSL project. Bootstraps a new system prompt via lai gen sysprompt if none exists, then guides targeted refinement based on evaluation results and language changes.
Build, fix, and improve Langium 4.x languages. Recipes, best practices, and troubleshooting for .langium grammars, scoping and cross-references, validation, LSP features (formatting, semantic tokens, code actions, hover, completion), code generators, langium/test tests, langium-config.json, and multi-language projects. Use when working in any project that depends on langium or langium-cli, or when a Langium language misbehaves (parse errors, unresolved references, missing diagnostics or editor features).