Universal validator of XML structures. Select a section by object type.
CF — configuration
Checks Configuration.xml: XML well-formedness, InternalInfo, properties, enum values, ChildObjects, DefaultLanguage, language files, object directories.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/cf-validate.ps1 -ConfigPath "<путь>"
| Parameter | Description |
|---|---|
ConfigPath |
Path to Configuration.xml or to the dump directory |
MaxErrors |
Error limit (default: 30) |
OutFile |
Write the result to a file (UTF-8 BOM) |
Checks (8): root structure, InternalInfo, Properties, enum values (11 properties), ChildObjects (44 types), DefaultLanguage, language files, object directories.
CFE — configuration extension
Checks the extension: XML format, Extension properties, composition, borrowed objects.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/cfe-validate.ps1 -ExtensionPath "<путь>"
| Parameter | Description |
|---|---|
ExtensionPath |
Path to the extension directory or Configuration.xml |
MaxErrors |
Error limit (default: 30) |
OutFile |
Write the result to a file |
Checks (9): root structure, InternalInfo, Extension properties (ObjectBelonging, NamePrefix, KeepMapping), enum values, ChildObjects, DefaultLanguage, language files, object directories, borrowed objects.
Meta — metadata object
Supported types (23): Catalog, Document, Enum, ExchangePlan, ChartOfAccounts, ChartOfCharacteristicTypes, ChartOfCalculationTypes, BusinessProcess, Task, InformationRegister, AccumulationRegister, AccountingRegister, CalculationRegister, Report, DataProcessor, CommonModule, ScheduledJob, EventSubscription, HTTPService, WebService, Constant, DocumentJournal, DefinedType.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/meta-validate.ps1 -ObjectPath "<путь>"
| Parameter | Description |
|---|---|
ObjectPath |
Path to the XML file or object directory (auto-resolve) |
MaxErrors |
Error limit (default: 30) |
OutFile |
Write the result to a file |
Checks (11): root structure, InternalInfo/GeneratedType, Properties (Name/Synonym), enum values, StandardAttributes, ChildObjects, Attributes/Dimensions/Resources (UUID, Name, Type), name uniqueness, TabularSections, cross-properties, HTTPService/WebService nested structure.
Form — managed form
Checks Form.xml: ID uniqueness, companion elements, DataPath references, commands.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/form-validate.ps1 -FormPath "<путь>"
| Parameter | Description |
|---|---|
FormPath |
Path to Form.xml |
MaxErrors |
Error limit (default: 30) |
Checks (11): Form root element, AutoCommandBar, uniqueness of element IDs, uniqueness of attribute IDs, uniqueness of command IDs, companion elements, DataPath→attribute, CommandName→command, events, Command actions, MainAttribute.
Subsystem — subsystem
Validates the subsystem XML from a configuration export.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/subsystem-validate.ps1 -SubsystemPath "<путь>"
| Parameter | Description |
|---|---|
SubsystemPath |
Path to the subsystem XML file |
MaxErrors |
Error limit (default: 30) |
OutFile |
Write the result to a file |
Checks (13): root structure, 9 required properties, Name identifier, Synonym, boolean properties, Content (xr:Item, xsi:type), Content duplicates, ChildObjects, ChildObjects duplicates, ChildObjects files, CommandInterface.xml, Picture, UseOneCommand→1 element.
Interface — command interface
Validates CommandInterface.xml: root element, sections, order, command references, duplicates.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/interface-validate.ps1 -CIPath "<путь>"
| Parameter | Description |
|---|---|
CIPath |
Path to CommandInterface.xml |
MaxErrors |
Error limit (default: 30) |
OutFile |
Write the result to a file |
Checks (13): root structure, allowed child elements (5 sections), section order, section duplicates, CommandsVisibility, CommandsVisibility duplicates, CommandsPlacement, CommandsOrder, SubsystemsOrder, SubsystemsOrder duplicates, GroupsOrder, GroupsOrder duplicates, command reference format.
Role — 1C role
Validates Rights.xml: namespace, global flags, object types, right names, RLS, templates. Optionally — role metadata.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/role-validate.ps1 -RightsPath "<путь>" [-MetadataPath "<путь>"]
| Parameter | Description |
|---|---|
RightsPath |
Path to Rights.xml |
MetadataPath |
Path to Roles/RoleName.xml (optional) |
OutFile |
Write the result to a file |
Checks: XML well-formed, <Rights> + namespace, 3 global flags, <object> (name, type, rights), nested objects, RLS <restrictionByCondition>, templates <restrictionTemplate>. Metadata (if specified): <Role>, UUID, Name, Synonym.
Important: for Cyrillic paths use -OutFile and read the result via the Read tool.
SKD — data composition schema
Validates Template.xml data composition schemas: format, broken references, duplicates.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/skd-validate.ps1 -TemplatePath "<путь>"
| Parameter | Description |
|---|---|
TemplatePath |
Path to Template.xml or directory (auto-resolve to Ext/Template.xml) |
MaxErrors |
Error limit (default: 20) |
OutFile |
Write result to file |
Checks (~30): Root (XML, DataCompositionSchema, namespace), DataSource (name, type, uniqueness), DataSet (xsi:type, name, dataSource, query), Fields (dataPath, field, uniqueness), Links (source/dest, expressions), CalcFields/TotalFields, Parameters, Templates, GroupTemplates, Variants, Settings.
MXL — spreadsheet document template
Checks Template.xml for structural errors: row/format/font/border indices, references to column sets, named areas.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/mxl-validate.ps1 -TemplatePath "<путь>"
Or by processing/template name:
powershell.exe -NoProfile -File .claude/skills/validate/scripts/mxl-validate.ps1 -ProcessorName "<Имя>" -TemplateName "<Макет>" [-SrcDir "<каталог>"]
| Parameter | Description |
|---|---|
TemplatePath |
Direct path to Template.xml |
ProcessorName |
Processing name (alternative to path) |
TemplateName |
Template name (alternative to path) |
SrcDir |
Source directory (default: src) |
MaxErrors |
Error limit (default: 20) |
Checks (12): height, vgRows, cell format indices, row/column formatIndex, column indices in cells, row columnsID, merge/namedItem columnsID, namedItem ranges, merge ranges, font indices, border line indices, pictureIndex.
EPF — external data processor
Checks XML sources: root structure, InternalInfo, Properties, ChildObjects, attributes, tabular sections, name uniqueness, form and template files.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/epf-validate.ps1 -ObjectPath "<путь>"
| Parameter | Description |
|---|---|
ObjectPath |
Path to root XML or processor directory (auto-resolve) |
MaxErrors |
Error limit (default: 30) |
OutFile |
Write result to file |
Checks (10): root structure (ExternalDataProcessor), InternalInfo, Properties (Name, Synonym), ChildObjects, Cross-references (DefaultForm), Attributes (UUID, Name, Type), TabularSections, name uniqueness, form/template files, form descriptors.
ERF — external report
Uses the same script as EPF — auto-detection by element type (ExternalReport). Additionally checks MainDataCompositionSchema.
powershell.exe -NoProfile -File .claude/skills/validate/scripts/epf-validate.ps1 -ObjectPath "<путь>"
| Parameter | Description |
|---|---|
ObjectPath |
Path to root XML or report directory (auto-resolve) |
MaxErrors |
Error limit (default: 30) |
OutFile |
Write result to file |
Checks (10): root structure (ExternalReport), InternalInfo, Properties (Name, Synonym, MainDataCompositionSchema), ChildObjects, Cross-references (DefaultForm, MainDCS→Template), Attributes, TabularSections, name uniqueness, files, form descriptors.
Return codes
| Code | Value |
|---|---|
| 0 | All checks passed (warnings possible) |
| 1 | There are errors |