1c-skd-validate

Validate 1C Data Composition Schema XML templates for structural errors and broken references.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Эта скилл валидирует XML-схемы компоновки данных СКД после создания или изменения конфигурации в 1С, чтобы выявлять структурные ошибки, битые ссылки и дубликаты имён.

Core Features & Use Cases

  • Проверка корневого элемента DataCompositionSchema, корректности пространства имён и наличия основных секций.
  • Анализ DataSource, DataSet (включая unions), полей, вычисляемых полей, totalField, параметров, шаблонов и variant settings на предмет консистентности и связности.
  • Использование перед загрузкой в конфигуратор 1С для раннего обнаружения ошибок и получения компактного отчета.
  • Пример использования: валидация Template.xml перед импортом макета в конфигурацию.

Quick Start

Run the validation script with -TemplatePath pointing to Ext/Template.xml to perform the full DCS validation.

Frequently Asked Questions about 1c-skd-validate

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

FAQPage Schema
How do I validate a 1C Data Composition Schema XML template before importing it?

Validate a 1C Data Composition Schema XML by running the validation script with -TemplatePath pointing to Ext/Template.xml to detect structural errors, broken references, and duplicate names before importing into the configurator.

What does DCS schema validation check in a 1C configuration?

DCS schema validation checks root elements, namespaces, datasets, fields, parameters, and settings variants in 1C configurations to ensure structural correctness, consistency, and identify broken references or duplicate names.

Can I use this validation with PowerShell and Python environments?

Yes, you can use this validation with PowerShell and Python environments, as the Skill integrates both validation paths and requires the lxml Python dependency to parse and analyze XML schemas.

Do I need lxml to check 1C DCS templates for broken references?

Yes, you need the lxml dependency installed to check 1C DCS templates for broken references, as it provides the underlying XML parsing required for validating data sources, calculated fields, and settings variants.

Why does my 1C Data Composition Schema fail to load in the configurator?

Your 1C Data Composition Schema may fail to load due to structural errors, broken references, or duplicate names in the XML template, which this validation script detects by analyzing datasets, fields, and parameters before you import the file.

What is the best way to find duplicate names in 1C DCS XML files?

The best way to find duplicate names in 1C DCS XML files is to run a validation script that analyzes fields, calculated fields, and parameters, generating a compact report of errors, warnings, and a summary of checks.