form-validate

Validate 1C managed form XML files for structural integrity.

511|99|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Nikolay-Shirokov/cc-1c-skills --skill form-validate-nikolay-shirokov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-validate
Source: https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/form-validate
Command: npx skills add https://github.com/Nikolay-Shirokov/cc-1c-skills --skill form-validate-nikolay-shirokov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that your 1C managed form XML files (Form.xml) are structurally sound, preventing common errors before deployment.

Core Features & Use Cases

  • Structural Validation: Checks for unique IDs, correct companion element presence, valid data path references, and command linkages.
  • Error Detection: Identifies issues like duplicate IDs, missing required elements, and incorrect references to attributes or commands.
  • Use Case: After generating a form with /form-compile or manually editing a Form.xml, run /form-validate to catch potential structural errors that could cause runtime issues or prevent the form from loading correctly.

Quick Start

Validate the structure of the form file located at 'src/Forms/MyForm/MyForm.xml'.

Frequently Asked Questions about form-validate

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

FAQPage Schema
How do I validate the structure of a 1C managed form XML file?

To validate a 1C managed form XML file, check its unique element and attribute IDs, verify DataPath and CommandName references, and ensure commands have actions. This prevents structural errors before deployment.

Do I need PowerShell to check 1C form XML for duplicate IDs?

Yes, you need PowerShell to check 1C form XML for duplicate IDs, as the validation script requires it along with the 1C XML schema definitions to execute the structural integrity checks.

Why does my 1C managed form fail to load after manual editing?

Your 1C managed form may fail to load after manual editing due to incorrect DataPath or CommandName references, missing companion elements, or duplicate IDs within the Form.xml file.

What's the best way to catch structural errors in Form.xml before deployment?

The best way to catch structural errors in Form.xml before deployment is to run a structural validation check that identifies duplicate IDs, missing elements, and incorrect attribute or command references.

Can I validate form XML after generating it with a form compiler?

Yes, you can validate form XML after generating it with a form compiler to ensure the output is structurally sound and free of runtime issues caused by broken command linkages or invalid data paths.

What does 1C form structural validation check for?

1C form structural validation checks for unique element and attribute IDs, presence of companion elements, correct DataPath and CommandName references, and ensures that all commands have corresponding actions defined.