/mxl-decompile - Декомпилятор макета в DSL
SkillFiles & storageThis skill converts 1C spreadsheet documents (MXL files) into JSON definitions. Once added, your AI can take an existing layout and produce an editable description of it in JSON form, so the layout's structure can be read and changed as plain text instead of only inside the original editor.
Available today. Use it from your connected AI after setup.
No other account needed.
Add the skill, then point your AI at an MXL file and ask it to decompile the layout into a JSON definition.
Then ask your AI: use the /mxl-decompile - Декомпилятор макета в DSL skill
What your AI can do with it
- Decompile MXL table documents into JSON definitions
- Get an editable description of an existing layout
- Read the structure of a 1C spreadsheet template as JSON
- Turn a layout you only have in MXL form into text you can edit
What this skill tells your AI
The instructions your AI receives, as published by desko77/cursor-1c-skills in skills/1c-mxl-decompile/SKILL.md and read by ahel’s review.
Принимает Template.xml табличного документа 1С и генерирует компактное JSON-определение (DSL). Обратная операция к /mxl-compile.
Использование
/mxl-decompile <TemplatePath> [OutputPath]
Параметры
| Параметр | Обязательный | Описание |
|---|---|---|
| TemplatePath | да | Путь к Template.xml |
| OutputPath | нет | Путь для JSON (если не указан - stdout) |
Команда
powershell.exe -NoProfile -File skills/1c-mxl-decompile/scripts/mxl-decompile.ps1 -TemplatePath "<путь>/Template.xml" [-OutputPath "<путь>.json"]
Рабочий процесс
Декомпиляция существующего макета для анализа или доработки:
- Claude вызывает
/mxl-decompileдля получения JSON из Template.xml - Claude анализирует или модифицирует JSON (добавляет области, меняет стили)
- Claude вызывает
/mxl-compileдля генерации нового Template.xml - Claude вызывает
/mxl-validateдля проверки
JSON-схема DSL
Полная спецификация формата: docs/mxl-dsl-spec.md (прочитать через ).
Генерация имен
Скрипт автоматически генерирует осмысленные имена:
- Шрифты:
default,bold,header,small,italic- или описательные имена по свойствам - Стили:
bordered,bordered-center,bold-right,border-topи т.д. - по комбинации свойств
Детектирование rowStyle
Если в строке есть пустые ячейки (без параметров/текста) и все они имеют одинаковый формат - этот формат распознается как rowStyle, а пустые ячейки исключаются из вывода.
Signals
- GitHub stars
- 57
- Forks
- 13
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
x-1c-mxl-decompile-desko77- Source
- github.com/desko77/cursor-1c-skills