/mxl-decompile - Декомпилятор макета в DSL
SkillFiles & storageYour AI can turn an existing MXL spreadsheet document into a JSON definition of that layout. Once this skill is added, give it an MXL file and it will produce an editable description you can read and work with. It is useful when you need to understand or adjust the structure of a layout that already exists.
Available today. Use it from your connected AI after setup.
No other account needed.
After adding it, share the MXL document you want to convert and ask your AI to decompile its layout into a JSON definition.
Then ask your AI: use the /mxl-decompile - Декомпилятор макета в DSL skill
What your AI can do with it
- Decompile a 1C table document (MXL)
- Convert an existing layout into a JSON definition
- Get an editable description of a layout you already have
- Read the structure of an existing MXL document in JSON form
What this skill tells your AI
The instructions your AI receives, as published by desko77/claude-code-skills-1c 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 (прочитать через Read tool).
Генерация имен
Скрипт автоматически генерирует осмысленные имена:
- Шрифты:
default,bold,header,small,italic- или описательные имена по свойствам - Стили:
bordered,bordered-center,bold-right,border-topи т.д. - по комбинации свойств
Детектирование rowStyle
Если в строке есть пустые ячейки (без параметров/текста) и все они имеют одинаковый формат - этот формат распознается как rowStyle, а пустые ячейки исключаются из вывода.
Signals
- GitHub stars
- 61
- Forks
- 14
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
x-1c-mxl-decompile- Source
- github.com/desko77/claude-code-skills-1c