mxl-validate

Validate MXL template structure in 1C tabular documents.

413|90|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/comol/cursor_rules_1c --skill mxl-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mxl-validate
Source: https://github.com/comol/cursor_rules_1c/tree/main/.cursor/source/mxl-validate
Command: npx skills add https://github.com/comol/cursor_rules_1c --skill mxl-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Validates the structural correctness of MXL templates used for 1C tabular documents to prevent silent data loss caused by malformed layouts.

Core Features & Use Cases

  • Checks Template.xml against a comprehensive set of structural rules (height vs. rows, vgRows, format indices, column definitions, named ranges, merges, and drawings) to catch issues before deployment.
  • Supports both TemplatePath and ProcessorName/TemplateName modes, with configurable SrcDir and MaxErrors to fit CI/QA workflows.

Quick Start

Run /mxl-validate with a TemplatePath or with -ProcessorName and -TemplateName to start validation.

Frequently Asked Questions about mxl-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate 1C MXL templates before deployment?

To validate 1C MXL templates, run a structural check against Template.xml using a TemplatePath or ProcessorName/TemplateName. This analyzes tabular document layouts to prevent silent data loss and exits non-zero on failure.

Why does my 1C tabular document layout process silently lose data?

1C tabular document layout processing loses data silently when MXL templates are structurally malformed. Validating Template.xml for height, rows, column definitions, and merges catches these structural issues before deployment.

Can I use MXL template validation in a CI or QA workflow?

Yes, you can use MXL template validation in CI and QA workflows. It supports configurable SrcDir and MaxErrors parameters to fit automated pipelines, allowing you to adjust the maximum error threshold before receiving a non-zero exit code.

What structural rules are checked during 1C MXL template validation?

1C MXL template validation checks structural rules including height versus rows, vgRows, format indices, column definitions, named ranges, merges, and drawings to ensure Template.xml correctness before deployment.

Does MXL validation work with pre-build EPF workflows?

Yes, MXL validation supports pre-build EPF workflows. It analyzes Template.xml across Processor and Template paths, providing error and warning reports with an adjustable maximum error threshold to halt failures.