form-edit

Automates targeted edits to 1C managed forms' Form.xml via JSON-defined changes.

41|5|Updated May 28, 2026
One-click install
npx skills add https://github.com/msrv-tech/skills --skill form-edit-msrv-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-edit
Source: https://github.com/msrv-tech/skills/tree/main/form-edit
Command: npx skills add https://github.com/msrv-tech/skills --skill form-edit-msrv-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates targeted edits to existing 1C managed forms by applying JSON-defined changes to Form.xml, eliminating tedious manual edits.

Core Features & Use Cases

  • Automated element insertion, attribute additions, and event handlers with automatic companion elements (ContextMenu, ExtendedTooltip).
  • Supports both standard forms and BaseForm-based extension forms, with ID management and extension-mode handling.
  • Generates minimal, clear diagnostic output and guidelines for subsequent validation.

Quick Start

Run form-edit with -FormPath and -JsonPath to apply the changes described in the JSON file.

Frequently Asked Questions about form-edit

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

FAQPage Schema
How do I automate edits to 1C managed forms without manual XML changes?

You can automate 1C managed form edits by applying JSON-defined changes to Form.xml. This process handles element insertions, attribute additions, and event handlers while automatically generating companion elements like ContextMenu and ExtendedTooltip, eliminating manual XML modifications.

Can I use JSON definitions to add elements and commands to 1C extension forms?

Yes, JSON definitions can modify both standard 1C forms and BaseForm-based extension forms. The system detects extension mode automatically and manages element IDs to ensure your additions and attribute injections integrate correctly with the existing form structure.

What is the best way to inject attributes and event handlers into Form.xml?

The best way to inject attributes and event handlers into Form.xml is using a JSON definition file paired with parsing scripts. This method parses the form structure, manages IDs, and applies targeted modifications while emitting diagnostic messages and validation hints.

Do I need Python or PowerShell scripts to parse Form.xml for 1C form editing?

Yes, you need both PowerShell and Python scripts to parse Form.xml and JSON definitions. These scripts manage element IDs, detect whether you are editing a standard or extension form, and output diagnostic messages to guide subsequent validation of the applied changes.

Does form-edit work with lxml for parsing 1C Form.xml structures?

Yes, the form-edit process requires the lxml dependency to parse and manipulate Form.xml structures. This library enables the scripts to accurately locate elements, manage internal IDs, and apply JSON-defined additions across standard and extension-based 1C managed forms.

What are the limitations when adding elements to 1C managed forms via JSON?

Limitations include relying on valid JSON definitions and accurate Form.xml parsing via lxml. While it automates element insertion and companion generation, you must still perform subsequent validation using the emitted diagnostic messages to ensure structural integrity within the 1C environment.