form-validate

Validate 1C managed form XML for structural, reference, and extension errors.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Framework --skill form-validate-alex1980alex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-validate
Source: https://github.com/Alex1980Alex/1C-Framework/tree/main/external/cc-1c-skills/.claude/skills/form-validate
Command: npx skills add https://github.com/Alex1980Alex/1C-Framework --skill form-validate-alex1980alex

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It catches structural and reference errors in 1C managed forms before they reach production, reducing broken UI logic and time spent debugging XML by hand.

Core Features & Use Cases

  • Form structure validation: checks root form version, AutoCommandBar presence, unique IDs, unique names, and companion UI elements.
  • Reference integrity checks: verifies DataPath links, button command references, event handler names, and command actions.
  • Extension-aware validation: detects BaseForm usage, validates callType values, and warns about extension ID ranges.
  • Use case: run it after editing a managed form to confirm the XML still matches 1C platform expectations and to spot duplicate or missing metadata references.

Quick Start

Ask the skill to validate the specified 1C form path and return any structural, reference, or extension-related issues it finds.

Frequently Asked Questions about form-validate

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

FAQPage Schema
How do I validate 1C managed form XML before deployment?

Validating 1C managed form XML involves parsing the form file to detect structural, reference, and extension-specific errors before deployment. The process checks root form version, AutoCommandBar presence, unique IDs, and companion UI elements.

What structural errors does 1C form validation typically check for?

1C form validation checks root form version, AutoCommandBar presence, unique IDs, unique names, and companion UI elements. It also verifies DataPath links, button command references, and event handler names.

Can I check DataPath consistency and command wiring in 1C form extensions?

Yes, validation checks DataPath consistency and command wiring in 1C form extensions. It detects BaseForm usage, verifies callType values, validates command actions, and warns about extension ID ranges.

Does 1C managed form validation work with lxml for XML parsing?

Yes, 1C managed form validation requires lxml for XML parsing to perform form-model checks. This dependency enables enforcement of unique IDs, companion elements, command actions, and callType rules.

Why does my 1C form have duplicate or missing metadata references after editing?

Duplicate or missing metadata references in 1C forms occur when XML edits break platform expectations. Running validation after editing confirms the XML matches 1C platform expectations and spots these reference errors.

What's the best way to detect extension-specific errors in 1C base form extensions?

The best way to detect extension-specific errors in 1C base form extensions is to run validation that identifies BaseForm usage, validates callType values, and warns about extension ID ranges before the form reaches production.