cfe-validate

Validate 1C configuration extension structure and metadata for correctness.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill validates the structural integrity and metadata of 1C configuration extensions (CFE), ensuring XML well-formedness, correct InternalInfo, proper extension properties, and consistent object references to prevent deployment issues.

Core Features & Use Cases

  • XML structural validation: verifies root, Configuration, and nested elements against expected MDClasses namespaces and UUID formats.
  • InternalInfo and ContainedObject checks: confirms presence and correctness of ClassId/ObjectId pairs, ensuring all required IDs exist.
  • Extension properties validation: enforces Adopted ownership, valid Name, allowed ConfigurationExtensionPurpose, and checks for optional fields like NamePrefix and KeepMappingToExtendedConfigurationObjectsByIDs.
  • Enum and property value validation: validates allowed values for extension properties to catch misconfigurations early.
  • ChildObjects validation: ensures known object types, detects duplicates, and checks canonical ordering.
  • Language and directory validation: ensures required language files exist and object directories are present for all object types.
  • Borrowed objects and sub-items: validates ExtendedConfigurationObject references, and checks Attributes, TabularSections, EnumValues, and Forms for proper structure and cross-references.
  • Form metadata integrity: verifies Form metadata, existence of related Form.xml, and associated Form dependencies.
  • Cross-reference validation: validates references to CommonPicture, StyleItem, and Enum values used in borrowed forms.

Quick Start

Run the validator against your extension by executing the provided script with -ExtensionPath pointing to the extension directory.

Frequently Asked Questions about cfe-validate

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

FAQPage Schema
How do I validate 1C CFE extension structure and metadata for correctness?

The validator checks ClassId and ObjectId pairs, verifying that all required UUIDs exist and are correctly formatted within the InternalInfo and ContainedObject sections of your 1C extension.

Can I use this to validate 1C configuration extensions in a CI pipeline?

Form metadata integrity validation checks associated Form.xml files, verifies related form dependencies, and validates cross-references to CommonPicture, StyleItem, and Enum values used in borrowed forms.

What does CFE extension properties validation check for?

ChildObjects validation ensures known object types are present, detects duplicate entries, and checks canonical ordering. Language and directory validation confirms required language files and object directories exist for all object types.

Do I need lxml installed to run the 1C CFE validator?

The validator enforces checks implemented in both PowerShell and Python scripts, including required fields, UUID formats, allowed property values, and file existence, producing a detailed validation report.

Why does my 1C configuration extension fail deployment after edits?

It validates borrowed objects, sub-items like Attributes and TabularSections, and Form metadata to ensure structural consistency and prevent deployment issues caused by missing or malformed XML elements.