1c-interface-validate

Validate 1C CommandInterface.xml structures for configuration errors.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

XML-based CommandInterface definitions often have structural errors, missing sections, or invalid references that break 1C subsystem activation. This Skill automates detection of root element issues, namespace validity, required sections, duplicates, and correct command references to prevent deployment issues.

Core Features & Use Cases

  • Validates root element, namespace, and version presence; checks allowed child sections and duplicates; verifies section order and presence of key sections like CommandsVisibility, CommandsPlacement, CommandsOrder, SubsystemsOrder, GroupsOrder.
  • Checks CommandInterface references against allowed patterns for standard, custom, common, and UUID forms; detects duplicates and missing elements; provides actionable feedback and error codes to guide fixes.
  • Typical use case: after updating a subsystem's CommandInterface, run the validator to ensure the XML passes all checks before deploying or integrating with tooling.

Quick Start

Validate a CommandInterface.xml for a given subsystem with the included scripts and Python/PowerShell helpers.

Frequently Asked Questions about 1c-interface-validate

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

FAQPage Schema
How do I validate a 1C CommandInterface.xml file for structural errors?

To validate a 1C CommandInterface.xml file, run the included Python or PowerShell scripts against the subsystem file. The validator checks XML well-formedness, root elements, namespaces, required sections, duplicates, and command references to ensure correct configuration.

What causes command visibility and placement errors in 1C subsystems?

Command visibility and placement errors in 1C subsystems are caused by missing XML sections, invalid references, or incorrect ordering. Validating the CommandInterface.xml structure detects these issues by enforcing required sections like CommandsVisibility, CommandsPlacement, and CommandsOrder.

Does the 1C CommandInterface validator check cross-references and UUID formats?

Yes, the 1C CommandInterface validator checks cross-references against allowed patterns for standard, custom, common, and UUID forms. It detects duplicates and missing elements, providing actionable feedback and error codes to guide fixes.

Can I use Python to automate 1C subsystem deployment checks before integration?

Yes, you can use Python to automate 1C subsystem deployment checks. The validator uses the lxml dependency to parse XML and ensure correct command visibility, placement, ordering, and references before deploying or integrating with tooling.

What are the limitations of automating 1C CommandInterface validation?

The limitations of automating 1C CommandInterface validation include relying on the lxml dependency for XML parsing. It focuses strictly on structural correctness, required sections, and reference patterns, meaning it validates configuration formats rather than runtime execution behavior.