Add mxl-decompile skill for Template.xml → JSON DSL conversion

Reverse of /mxl-compile: reads Template.xml and produces compact
JSON definition with auto-generated font/style names, rowStyle
detection, span/rowspan mapping, and column width compression.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-02-08 19:07:08 +03:00
co-authored by Claude Opus 4.6
parent 298d503c64
commit bfbef3c361
3 changed files with 649 additions and 1 deletions
+3 -1
View File
@@ -19,6 +19,7 @@
| `/mxl-info` | `<TemplatePath>` | Анализ структуры табличного документа (области, параметры, колонки) |
| `/mxl-validate` | `<TemplatePath>` | Валидация табличного документа (индексы, ссылки, границы) |
| `/mxl-compile` | `<JsonPath> <OutputPath>` | Компиляция табличного документа из JSON-определения |
| `/mxl-decompile` | `<TemplatePath> [OutputPath]` | Декомпиляция табличного документа в JSON-определение |
Навыки удаления (`epf-remove-*`) не вызываются Claude автоматически — только по явной команде пользователя.
@@ -144,7 +145,8 @@ src/
├── epf-bsp-add-command/ # SKILL.md (шаблоны кода, без скриптов)
├── mxl-info/ # SKILL.md + scripts/mxl-info.ps1
├── mxl-validate/ # SKILL.md + scripts/mxl-validate.ps1
── mxl-compile/ # SKILL.md + scripts/mxl-compile.ps1
── mxl-compile/ # SKILL.md + scripts/mxl-compile.ps1
└── mxl-decompile/ # SKILL.md + scripts/mxl-decompile.ps1
docs/
├── 1c-xml-format-spec.md # Спецификация XML-формата выгрузки
├── 1c-help-spec.md # Спецификация встроенной справки