cfe-validate

Validate 1C CFE Configuration.xml structure, metadata, and repository consistency.

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill cfe-validate-dach-coin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cfe-validate
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/cfe-validate
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill cfe-validate-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It prevents broken 1C configuration extensions (CFE) by validating that Configuration.xml has the correct structure, required metadata, valid properties, and consistent references to child objects and borrowed elements.

Core Features & Use Cases

  • Structural XML validation: Checks root element, required Configuration node, expected namespaces, UUID formats, and the presence of InternalInfo and Properties.
  • Metadata correctness checks: Validates extension properties (including enum-like values), objectbelonging rules, name/identifier formats, and the canonical ordering and uniqueness of ChildObjects entries.
  • Repository consistency validation: Verifies referenced language files and expected directory layout for child metadata types, plus validates borrowed objects (Attribute/TabularSection/EnumValue/Form) and their internal dependencies (including BaseForm and referenced style/design-time elements).

Quick Start

Use the cfe-validate skill to validate the extension at the path src by running cfe-validate with ExtensionPath set to src.

Frequently Asked Questions about cfe-validate

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

FAQPage Schema
How do I validate a 1C configuration extension before committing?

To validate a 1C configuration extension, run validation checks against the Configuration.xml file to verify structural correctness, metadata properties, and ChildObjects ordering before pre-commit or CI workflows. This prevents broken extension metadata before running 1C.

What does XML validation for 1C configuration extensions check?

XML validation for 1C configuration extensions checks the root element, required Configuration node, expected namespaces, UUID formats, and the presence of InternalInfo and Properties to ensure structural correctness and metadata validity.

Can I check borrowed object consistency in a 1C configuration extension?

Yes, you can check borrowed object consistency by validating borrowed objects like Attribute, TabularSection, EnumValue, and Form, along with their internal dependencies including BaseForm and referenced style elements.

Why does my 1C configuration extension fail metadata consistency checks?

1C configuration extension metadata consistency checks fail when ChildObjects entries violate canonical ordering rules, when expected directory layouts for child metadata types are missing, or when referenced language files are absent from the repository.

Do I need a specific 1C environment to run preflight checks on Configuration.xml?

No specific 1C environment is needed to run preflight checks on Configuration.xml. The validation process applies schema expectations, enforces required elements, and checks UUID patterns independently as a pre-commit or CI validation step.