1c-mxl-decompile

Convert 1C MXL spreadsheets into a compact JSON DSL.

40|11|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-mxl-decompile-desko77
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1c-mxl-decompile
Source: https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-mxl-decompile
Command: npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-mxl-decompile-desko77

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Декомпиляция табличного документа MXL в компактное JSON-определение позволяет быстро получить редактируемое описание макета и упростить анализ/правку макета без работы с громоздким XML.

Core Features & Use Cases

  • Преобразование Template.xml табличного документа 1С в DSL на JSON, пригодный для редактирования.
  • Выделение областей, строк, шрифтов, стилей, объединений и параметров ячеек для последующей адаптации и повторной компиляции.
  • Проверяет совместимость с документацией mxl-dsl-spec и поддерживает цикл decompile → edit → compile.

Quick Start

Запустите mxl-decompile.ps1 с параметром -TemplatePath, указывающим на Template.xml, чтобы получить JSON DSL.

Frequently Asked Questions about 1c-mxl-decompile

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

FAQPage Schema
How do I convert a 1C MXL spreadsheet to JSON for editing?

Decompiling a 1C MXL layout extracts fonts, lines, formats, columns, merges, named items, rows, and area structures into a compact JSON DSL. This avoids working with cumbersome XML and simplifies layout analysis and modification.

What is the best way to extract areas and styles from a 1C Template.xml?

The best way to extract areas and styles from a 1C Template.xml is using a dedicated decompiler script. It parses the XML and translates layout elements into a structured JSON DSL, conforming to the mxl-dsl-spec for downstream validation and compilation.

Can I edit an MXL layout and compile it back for 1C Enterprise?

Yes, you can edit an MXL layout and compile it back for 1C Enterprise. The decompile process produces a JSON DSL that supports an edit cycle, enabling downstream /mxl-compile and validation steps to rebuild the modified layout.

Do I need to install lxml to decompile 1C MXL files?

Yes, you need to install the lxml dependency to decompile 1C MXL files. This library is required by the decompilation scripts to parse the Template.xml structure and extract the layout data into the JSON DSL format.

When should I use a JSON DSL instead of XML for 1C layout automation?

You should use a JSON DSL instead of XML when you need to quickly obtain an editable layout definition without handling cumbersome XML. It streamlines AI-assisted development workflows and simplifies the adaptation of cell parameters and merges.