# Grammar Design Skill

Expert skill for formal grammar design including disambiguation, precedence, and validation.

## Quick Reference

- **Category**: Language Design
- **ID**: SK-022

## Key Capabilities

- EBNF/BNF grammar specification writing
- Unambiguous grammar design
- Operator precedence and associativity handling
- Grammar conflict analysis
- Parser class-specific grammar design (LL, LR, PEG)
- Grammar documentation with examples
- Common language construct syntax design
- Grammar evolution and backwards compatibility

## When to Use

Use this skill when implementing:
- Language syntax design
- Grammar specifications
- Parser generator input
- Language documentation

## Related Skills

- lexer-generator (SK-001)
- parser-generator (SK-002)
- tree-sitter (SK-025)
