1c-form-edit

Modify 1C Form.xml by adding elements, attributes, and event bindings.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates targeted modifications of 1C Form.xml by adding elements, attributes, and event bindings.

Core Features & Use Cases

  • Add or modify form elements (inputs, checkboxes, labels) within an existing Form.xml.
  • Attach event handlers and companion elements (ContextMenu, ExtendedTooltip) automatically.
  • Support extension/BaseForm scenarios and automatic ID generation for new items.

Quick Start

Run the form-edit script with the FormPath to your Form.xml and the JsonPath to the JSON description.

Frequently Asked Questions about 1c-form-edit

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

FAQPage Schema
How do I add elements and event handlers to an existing 1C Form.xml?

You can add elements and event handlers to an existing 1C Form.xml by running a script that applies a JSON description to automatically insert inputs, checkboxes, and command bindings into the managed form.

What is the best way to automate 1C form extensions and BaseForm modifications?

Automating 1C form extensions and BaseForm modifications is best handled by scripts that process the Form.xml structure, automatically generating IDs and validating companion elements like ContextMenu and ExtendedTooltip for new items.

Does this approach support automatic ID generation for 1C managed forms?

Yes, automatic ID generation is supported for 1C managed forms. The process handles ID pool allocation and validation automatically when inserting new elements into documents and extensions.

How do I wire event bindings and companion elements when editing 1C forms?

To wire event bindings and companion elements when editing 1C forms, the script automatically attaches handlers and generates required companion elements like ContextMenu and ExtendedTooltip during the targeted Form.xml modification.

What do I need to start modifying 1C Form.xml files programmatically?

To start modifying 1C Form.xml files programmatically, you need the lxml dependency installed, the path to your Form.xml file, and a JSON file describing the targeted form modifications to apply.

Can I modify document forms and extensions without manually calculating item IDs?

Yes, you can modify document forms and extensions without manual ID calculation. The process automatically manages ID pools and validates generated IDs for newly inserted form elements.