{"enrichment":{"faq":[{"a":"parser-development teaches you to implement a parser for a new language in Biome by starting with an ungram grammar definition, building a lexer and token source, then writing parse rules with error recovery. The process involves defining syntax rules in ungrammar format, implementing token handling, and adding bogus node patterns to gracefully recover from parse errors.","q":"How do I implement a parser for a new language in Biome?"},{"a":"parser-development covers error recovery strategies in Biome parsers through techniques like bogus node handling, checkpoint backtracking, and recovery token sets. These strategies allow the parser to continue parsing after encountering syntax errors, maintaining a usable syntax tree and enabling better error diagnostics without stopping at the first mistake.","q":"What are error recovery strategies in Biome parsers?"},{"a":"parser-development shows how to create ungram grammar definitions by writing syntax rules in ungrammar format, then generating parser skeletons from those definitions. The ungrammar format provides a declarative way to specify language syntax, which can be used to scaffold the initial parser structure before implementing the actual parsing logic.","q":"How do you create ungram grammar definitions and generate parser skeletons?"},{"a":"parser-development teaches lexer and token source construction for Biome by covering buffered lexer implementation and token handling patterns. You'll learn to create token sources that feed the parser, manage token buffering for lookahead, and integrate lexical analysis with the parser's error recovery mechanisms.","q":"How do I build a lexer and token source for Biome parsing?"},{"a":"parser-development covers list parsing patterns including separated list handling, which is essential for parsing comma-separated arguments, array elements, and similar constructs. These patterns integrate with error recovery to handle missing or malformed separators gracefully while maintaining parser resilience.","q":"What patterns does parser-development cover for parsing lists with separators?"},{"a":"parser-development includes testing workflows for validating parser implementations by checking recovery patterns, verifying syntax tree structure, and ensuring error diagnostics are accurate. The skill covers debugging techniques specific to the Biome codebase and validation strategies for confirming parsers handle both valid and malformed input correctly.","q":"How do you test and validate Biome parser implementations?"}],"shadow_tags":["language-implementation","syntax-trees","error-recovery","lexical-analysis","grammar-authoring","token-parsing","code-generation","compiler-design","ast-construction"],"summary_rewrite":"This skill teaches you how to add parsing support for new languages to Biome by authoring grammars in ungrammar format, implementing lexers and token sources, and writing parse rules with robust error recovery. It covers list parsing patterns, conditional syntax handling, and testing workflows for the Biome codebase."},"files":[{"bytes":9108,"path":".claude/skills/parser-development/SKILL.md","sha256":"d505f333d0477aef163e75e43fe33f69e900e916f863c90998244beec9b777fe","url":"https://skillfed.io/files/biomejs/biome/parser-development/2cc6c138/SKILL.md"}],"id":"biomejs/biome/parser-development","links":{"html":"https://skillfed.io/biomejs/biome/parser-development","md":"https://skillfed.io/biomejs/biome/parser-development.md","repo":"https://github.com/biomejs/biome"},"meta":{"agents_supported":["claude-code"],"first_seen":"2026-07-28","forks":1157,"language":"Rust","last_updated":"2026-07-27","license":"Apache-2.0","name":"parser-development","publisher":"biomejs","stars":25418},"relations":{"similar":[{"id":"softspark/ai-toolkit/rust-patterns"},{"id":"rtk-ai/rtk/design-patterns"},{"id":"mohitmishra786/low-level-dev-skills/rust-no-std"},{"id":"gitbutlerapp/gitbutler/cli-commands"},{"id":"geoffjay/claude-plugins/gpui-patterns"},{"id":"ZhangHanDong/makepad-skills/makepad-2.0-events"},{"id":"geoffjay/claude-plugins/rust-ui-architecture"},{"id":"geoffjay/claude-plugins/gpui-performance"},{"id":"geoffjay/claude-plugins/tokio-concurrency"},{"id":"personamanagmentlayer/pcl/rust-expert"}]},"slug":{"owner":"biomejs","repo":"biome","skill":"parser-development"},"version":"2cc6c138"}
