1c-subsystem-validate

Validate 1C Subsystem XML files for structural and metadata correctness.

40|11|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-subsystem-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1c-subsystem-validate
Source: https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-subsystem-validate
Command: npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-subsystem-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Подсистема 1C иногда содержит некорректную XML-структуру или неправильные метаданные после изменений, что приводит к ошибкам внедрения. Этот Skill выполняет автоматическую валидацию и сообщает об обнаруженных проблемах.

Core Features & Use Cases

  • Проверка XML на корректность структуры MetaDataObject/Subsystem и наличие uuid
  • Проверка наличия и валидности 9 обязательных свойств: Name, Synonym, Comment, IncludeHelpInContents, IncludeInCommandInterface, UseOneCommand, Explanation, Picture, Content
  • Проверка имени на валидный идентификатор и вывод предупреждений, если имя пустое или некорректное
  • Анализ Content на правильные форматы MDObjectRef и поиск дубликатов
  • Проверка дочерних объектов Subsystem и существование связанных файлов
  • Валидация CommandInterface.xml при наличии и проверка формата XML
  • Проверка Picture и ограничения UseOneCommand

Quick Start

Запустите скрипт subsystem-validate с указанием пути к XML-файлу подсистемы, чтобы выполнить валидацию.

Frequently Asked Questions about 1c-subsystem-validate

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

FAQPage Schema
How do I validate 1C subsystem XML structure after making configuration changes?

Validate 1C subsystem XML by running the validation script against the file path to check well-formedness, uuid presence, and 9 required properties. It returns deterministic results indicating OK or specific metadata errors found.

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

1C subsystem validation checks 9 required properties: Name, Synonym, Comment, IncludeHelpInContents, IncludeInCommandInterface, UseOneCommand, Explanation, Picture, and Content. It verifies identifier validity, MDObjectRef formatting, and UseOneCommand constraints.

Does the 1C subsystem validator check referenced files and CommandInterface.xml?

Yes, the 1C subsystem validator checks child objects, verifies the existence of associated referenced files, and validates CommandInterface.xml formatting when present in the configuration directory.

Why does my 1C subsystem configuration fail deployment due to XML metadata errors?

1C subsystem deployment fails when XML contains incorrect metadata or structural issues after modifications. Validation identifies these problems by checking Content for duplicate MDObjectRef entries and enforcing uuid presence and required properties.

Can I use lxml to automate 1C subsystem XML validation for large configurations?

Yes, this validation script uses lxml to automate 1C subsystem XML checks across typical configurations and workflows. It handles structural validation, content item analysis, and referenced file verification deterministically.