mxl-compile

Compile compact JSON layout definitions into valid 1C Template.xml files.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Framework --skill mxl-compile-alex1980alex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mxl-compile
Source: https://github.com/Alex1980Alex/1C-Framework/tree/main/external/cc-1c-skills/.claude/skills/mxl-compile
Command: npx skills add https://github.com/Alex1980Alex/1C-Framework --skill mxl-compile-alex1980alex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) components.

What problem does it solve?

This Skill turns a compact JSON layout definition into a correct 1C tabular document template, removing the error-prone manual work of assembling Template.xml by hand.

Core Features & Use Cases

  • JSON to Template.xml compilation: Generates 1C spreadsheet markup from a concise DSL.
  • Layout fidelity: Handles columns, row heights, merged cells, styles, fonts, borders, wrapping, and named areas.
  • Print-form workflows: Useful for creating invoice forms, reports, and other printable tabular documents.
  • Layout reconstruction: Can be paired with image-based design work by translating measured proportions into valid template structure.

Quick Start

Ask the skill to compile your JSON layout definition into a valid 1C Template.xml file.

Frequently Asked Questions about mxl-compile

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

FAQPage Schema
How do I generate a 1C Template.xml file from JSON?

You can generate a 1C Template.xml file by compiling a compact JSON layout definition into valid 1C spreadsheet markup. This process translates your JSON specification into a deterministic tabular document template with correct columns, rows, merges, and named areas.

What is the best way to create 1C tabular document print forms without manual XML assembly?

Compiling a JSON layout specification into a 1C Template.xml file removes the error-prone manual work of assembling spreadsheet markup by hand. It consistently generates invoice forms and report templates with correct font and border palettes.

Can I define merged cells, named areas, and styles for 1C spreadsheet layouts in JSON?

Yes, you can define merged cells, named areas, styles, fonts, borders, and wrapping in a JSON layout specification. The compilation process applies these properties to generate a valid 1C tabular document template with rowspan and colspan merging.

Does JSON to 1C MXL template compilation support page-aware width calculation?

JSON to 1C MXL template compilation supports page-aware width calculation for tabular document layouts. It generates deterministic XML markup while applying validation and support-guard checks for protected configuration objects.

Can I use a JSON specification to reconstruct 1C report templates from screenshot proportions?

A JSON specification can reconstruct 1C report templates by translating measured screenshot proportions into valid template structures. This layout reconstruction workflow generates tabular document templates with consistent columns and row heights.

Do I need lxml to compile JSON into 1C MXL templates?

Yes, you need the lxml dependency to compile JSON into 1C MXL templates. This library is required for the deterministic XML generation process that outputs valid Template.xml files for 1C tabular document print forms.