subsystem-validate

Validates 1C subsystem XML files for structural correctness and malformed metadata.

41|5|Updated May 28, 2026
One-click install
npx skills add https://github.com/msrv-tech/skills --skill subsystem-validate-msrv-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subsystem-validate
Source: https://github.com/msrv-tech/skills/tree/main/subsystem-validate
Command: npx skills add https://github.com/msrv-tech/skills --skill subsystem-validate-msrv-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) components.

What problem does it solve?

Проверяет структурную корректность XML-файла подсистемы 1С, выгруженного из конфигурации.

Core Features & Use Cases

  • XML-валидность и структура: убеждается в наличии MetaDataObject/Subsystem, валидном uuid и версии.
  • Свойства и формат: проверяет наличие 9 обязательных свойств (Name, Synonym, Comment, IncludeHelpInContents, IncludeInCommandInterface, UseOneCommand, Explanation, Picture, Content) и корректность их типов и значений.
  • Content и правила: анализирует формат элементов Content, разрешённые типы ссылок на объекты и выявление дубликатов.
  • ChildObjects: проверяет наличие и уникальность дочерних объектов, а также существование соответствующих XML-файлов в подпапке Subsystems.
  • CommandInterface.xml: при наличии проверяет валидность XML и корректность структуры.
  • Отчёт и предупреждения: аккумулирует ошибки и предупреждения и формирует подробный отчёт.

Quick Start

supply the path to the subsystem XML to run a full structural validation and receive a detailed report.

Frequently Asked Questions about subsystem-validate

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

FAQPage Schema
How do I validate a 1C subsystem XML file for structural errors?

To validate a 1C subsystem XML file, supply the file path to run a full structural validation that checks XML well-formedness, required properties, and content formatting, delivering a detailed error report.

What 1C subsystem metadata properties are checked during XML validation?

Subsystem XML validation checks nine required properties including Name, Synonym, Comment, and Content, verifying their presence, correct types, and valid values to detect malformed metadata.

How do I detect duplicate content items in a 1C subsystem configuration?

To detect duplicate content items in a 1C subsystem, the validation analyzes Content elements, identifies duplicate references, and reports them alongside child object uniqueness checks.

Does 1C subsystem validation check CommandInterface.xml and nested child objects?

Yes, validation checks nested child objects for uniqueness and verifies corresponding XML files exist in the Subsystems subfolder, while optionally validating CommandInterface.xml structure when present.

Can I limit the number of errors reported when validating 1C subsystem XML?

You can configure a maximum error limit for 1C subsystem XML validation, which accumulates errors and warnings into a detailed report that stops once the configured threshold is reached.

Do I need lxml to validate exported 1C subsystem XML definitions?

Yes, lxml is required as a dependency to parse and validate exported 1C subsystem XML definitions, performing structural integrity checks and UUID validation across development and QA workflows.