mxl-compile

Generates 1C:Enterprise MXL spreadsheet templates from JSON layout definitions.

1|2|Updated Jul 19, 2026
One-click install
npx skills add https://github.com/IngvarConsulting/unica-marketplace --skill mxl-compile-ingvarconsulting
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mxl-compile
Source: https://github.com/IngvarConsulting/unica-marketplace/tree/main/plugins/unica/skills/mxl-compile
Command: npx skills add https://github.com/IngvarConsulting/unica-marketplace --skill mxl-compile-ingvarconsulting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating print-form layouts (MXL tabular documents) for 1C:Enterprise by hand-editing Template.xml is error-prone: palettes, indexes, merges, and namespaces must all be consistent. This Skill lets you describe the layout in a compact JSON DSL and generates a correct Template.xml automatically. ## Core Features & Use Cases - JSON-to-MXL compilation: Converts a JSON definition of areas, rows, cells, fonts, and styles into a valid 1C Template.xml via the unica.mxl.compile MCP tool. - Automatic layout calculation: Supports page formats like A4-landscape and proportional "Nx" column widths so dimensions are computed automatically. - Validation workflow: Pairs with unica.mxl.validate and unica.mxl.info to verify the generated template structure. - Use Case: You need a sales report print form. Write a JSON definition with header, data, and totals areas, then compile it into src/Reports/.../Ext/Template.xml ready for the 1C configuration. ## Quick Start Ask the assistant to compile your JSON layout definition into a 1C MXL template by providing the JSON file path and the desired Template.xml output path.

Frequently Asked Questions about mxl-compile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a 1C MXL print form template from JSON?▼

Write a JSON definition describing columns, fonts, styles, and areas with rows and cells, then call the unica.mxl.compile MCP tool with the JSON path and output path. The tool generates a correct Template.xml for the 1C tabular document.

How do I generate a 1C print form layout from a screenshot or scanned image?▼

Analyze the image with an external vision tool to determine structure, column boundaries, and proportions, then encode them in the JSON DSL using "Nx" proportional widths and a "page" format. Compile the result with unica.mxl.compile.

Does the MXL compiler support merged cells and row spans?▼

Yes, the JSON DSL supports span for horizontal cell merging and rowspan for vertical merging. The rowStyle property accounts for occupied cells when auto-filling empty space with borders.

How do I validate a generated 1C Template.xml file?▼

After compilation, call unica.mxl.validate to check correctness and unica.mxl.info to verify the resulting structure. These MCP tools confirm palettes, indexes, merges, and namespaces are consistent.

What page formats does the MXL JSON DSL support?▼

The page property accepts "A4-landscape", "A4-portrait", or a numeric value. When set, defaultWidth is computed automatically from the sum of proportional "Nx" column widths.