About mxl-validate
mxl-validate is a skill that checks 1C tabular document templates for structural errors. It validates indexes, palette references, named and merged ranges, and consistency of input-field cells, with options for detailed output and an error limit.
Key features
- 01Check template structure and indexes
- 02Validate palette references and ranges
- 03Check input-field cell consistency
- 04Detailed output and configurable error limit
Use cases
- 01Validate a template before using it
- 02Find invalid ranges or palette references
- 03Limit errors shown during validation
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nikolay-shirokov/ cc-1c-skills --skill mxl-validateAfter installing, type/mxl-validatein Claude Code to confirm it loaded.
Bundled filesscripts/mxl-validate.ps1scripts/mxl-validate.py
Details
From the project README/mxl-validate — валидация макета табличного документа (MXL)
Проверяет Template.xml на структурные ошибки: индексы, ссылки на палитры, диапазоны именованных областей и объединений, согласованность ячеек-полей ввода.
Параметры
| Параметр | Обяз. | Умолч. | Описание |
|---|---|---|---|
| TemplatePath | да | — | Путь к макету (директория или Template.xml) |
| Detailed | нет | — | Подробный вывод (все проверки, включая успешные) |
| MaxErrors | нет | 20 | Остановиться после N ошибок |
Команда
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/mxl-validate.ps1" -TemplatePath "Catalogs/Номенклатура/Templates/Макет"
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/mxl-validate.ps1" -TemplatePath "src/МояОбработка/Templates/ПечатнаяФорма"
Comments
Markdown supported