Skip to main content
skill CX Codex

mxl-validate — Claude Code skill: what it does, how to install

Validates 1C spreadsheet document (MXL) templates. Catches structural errors in Template.xml after modifications or automated generation.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skills
Open on GitHub

What mxl-validate does

This skill inspects Template.xml files inside 1C spreadsheet document templates. It detects broken palette references and misaligned merged cell boundaries. It also checks named area ranges and input field consistency.

Under the hood, the skill executes mxl-validate.ps1 via PowerShell. It requires a <TemplatePath> parameter pointing to the template directory or the Template.xml file. You can pass -Detailed to inspect passing checks, or stop execution early with -MaxErrors (defaults to 20).

The validator runs directly through powershell.exe. Therefore, a working PowerShell binary must be available in your path.

What it helps with

  • validate Template.xml integrity after editing a spreadsheet layout
  • detect broken palette references and invalid cell indices
  • find corrupted merged cell boundaries and named area ranges
  • verify input field cell consistency across report templates

Example prompts for the agent

  • /mxl-validate "Catalogs/Products/Templates/PrintForm"
  • Validate template "src/Reports/Invoice/Templates/Layout" with -Detailed output
  • Check "Templates/PriceList" for layout errors with -MaxErrors 5

How to install mxl-validate

1Plugin marketplace

/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skills

This installs the whole 1c-skills plugin with all its skills

2Skills CLI (Vercel)

npx skills add Nikolay-Shirokov/cc-1c-skills --skill mxl-validate -a claude-code

3Manually: put the files in place

~/.claude/skills/mxl-validate/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/mxl-validate/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about mxl-validate

How to install mxl-validate in Claude Code?

First add the catalog by running /plugin marketplace add Nikolay-Shirokov/cc-1c-skills, then install the bundle with /plugin install 1c-skills@cc-1c-skills. Alternatively, execute npx skills add Nikolay-Shirokov/cc-1c-skills --skill mxl-validate -a claude-code in your terminal.

What checks does mxl-validate run on Template.xml?

It verifies XML structural consistency, focusing on cell indices, palette color lookups, merged cell limits, named area bounds, and input field integrity.

What prerequisites are needed to run mxl-validate?

The skill relies on powershell.exe to run its validation script, alongside Bash, Read, and Glob tools configured in your agent environment.

Source text

SKILL.md · MIT
---
name: mxl-validate
description: Валидация макета табличного документа (MXL). Используй после создания или модификации макета для проверки корректности
argument-hint: <TemplatePath> [-Detailed] [-MaxErrors 20]
allowed-tools:
  - Bash
  - Read
  - Glob
---

# /mxl-validate — валидация макета табличного документа (MXL)

Проверяет Template.xml на структурные ошибки: индексы, ссылки на палитры, диапазоны именованных областей и объединений, согласованность ячеек-полей ввода.

## Параметры

| Параметр      | Обяз. | Умолч. | Описание                                 |
|---------------|:-----:|---------|--------------------------------------------|
| TemplatePath  | да    | —       | Путь к макету (директория или Template.xml) |
| Detailed      | нет   | —       | Подробный вывод (все проверки, включая успешные) |
| MaxErrors     | нет   | 20      | Остановиться после N ошибок                |

## Команда

```powershell
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/ПечатнаяФорма"
```

© Nikolay Shirokov · MIT · Nikolay-Shirokov/cc-1c-skills

Topics and platforms

SKILL.md skills catalog →

From the same set59

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor