| name | pkl |
| description | Use this skill when the user wants configuration-as-code with validation — evaluate Pkl modules, generate JSON/YAML/properties output, or amend existing config files with type-safe schemas. |
pkl Plugin
Apple's configuration language with rich validation, IDE support, and multi-format output. Define configs as typed Pkl modules and render them to JSON, YAML, properties, or other formats for apps and tooling.
Installation
brew install pkl
Basic Usage
pkl eval config.pkl
pkl eval -o config.json config.pkl
pkl format config.pkl
pkl repl
Common Patterns
pkl eval -f yaml config.pkl
pkl eval -m amend config.pkl
pkl project resolve
pkl eval --no-cache --trace config.pkl
Usage Examples
- "Convert this Pkl config to JSON for my app"
- "Validate and format my deployment config.pkl"
- "Generate YAML from a typed Pkl module"
SuperCLI
sc pkl _ _ eval config.pkl
sc pkl _ _ format config.pkl
sc plugins learn pkl