Add mxl-compile skill: DSL compiler for SpreadsheetDocument

JSON DSL format compiles to valid 1C Template.xml with correct
format palettes, merges, named areas, and rowStyle gap-filling.
Tested on simple (4 areas) and invoice (7 areas) templates.

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