1c-form-validate

Validate 1C managed Form.xml structure for runtime errors.

413|90|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/comol/cursor_rules_1c --skill 1c-form-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1c-form-validate
Source: https://github.com/comol/cursor_rules_1c/tree/main/.cursor/skills/1c-form-validate
Command: npx skills add https://github.com/comol/cursor_rules_1c --skill 1c-form-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Validates the structural correctness of a 1C managed Form.xml (Form) to detect ID duplicates, missing companion elements, DataPath inconsistencies, and multilingual Title formatting before deployment.

Core Features & Use Cases

  • Structural integrity checks: root Form version, AutoCommandBar, unique IDs for elements, attributes, and commands.
  • Reference validation: ensures DataPath root attributes exist, Button CommandName references existing Commands, and events have handlers.
  • Robust companions & multilingual support: verifies required companion elements and multilingual Title formatting.

Quick Start

Run 1c-form-validate <PathToForm.xml> to check the Form.xml for structural errors.

Frequently Asked Questions about 1c-form-validate

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

FAQPage Schema
How do I validate 1C Form.xml structure before deployment?

To validate 1C Form.xml structure, run 1c-form-validate <PathToForm.xml> to check root Form version, AutoCommandBar, unique IDs, DataPath references, and multilingual Title formatting to prevent runtime errors.

What causes duplicate ID errors in 1C managed forms?

Duplicate ID errors in 1C managed forms occur when elements, attributes, or commands share identical identifiers. Structural validation identifies these duplicates across the Form.xml to ensure integrity before deployment.

How does Form.xml validation detect DataPath reference inconsistencies?

Form.xml validation detects DataPath reference inconsistencies by verifying that DataPath root attributes exist and that Button CommandName references point to existing Commands, ensuring all mappings resolve correctly.

When do I need to check 1C form event handlers and command actions?

You need to check 1C form event handlers and command actions after form generation or edits to ensure events have valid handlers and command actions are properly mapped, preventing runtime failures during execution.

Can I verify multilingual Title formatting in 1C Form.xml?

You can verify multilingual Title formatting in 1C Form.xml using structural validation, which checks that companion elements exist and multilingual Title elements follow correct formatting rules before deployment.