What problem does it solve? Working with 1C spreadsheet templates (Template.xml / MXL) means editing thousands of lines of verbose XML with fragile palette indices, merges, and named areas that the 1C platform may silently ignore when malformed. This Skill replaces raw XML editing with a compact JSON DSL and deterministic PowerShell scripts. ## Core Features & Use Cases - Compile from JSON DSL: Turn a 20-30 line JSON definition (areas, parameters, styles, fonts, column widths) into a correct 200-500+ line Template.xml, with automatic palette, merge, and namespace handling. - Decompile to JSON: Reverse an existing Template.xml into the compact DSL for analysis or modification, with automatic naming of fonts and styles. - Structure analysis and validation: Inspect named areas, parameters, column sets, and drill-down parameters without reading raw XML, and run 12 structural checks (index bounds, palette references, merge ranges) that catch errors 1C would silently ignore. - Use Case: When building a print form for a 1C document, describe the layout in JSON, compile it to Template.xml, validate it, and integrate it into the configuration — or decompile an existing layout to understand and modify it. ## Quick Start Ask the assistant to compile your JSON layout definition into a 1C Template.xml print form and validate the result.