form-edit

Generate XML fragments to insert controls and events into 1C managed forms.

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill form-edit-dach-coin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-edit
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/form-edit
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill form-edit-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Skill form-edit solves the problem of manually editing 1C managed Form.xml (adding new controls, data bindings, and commands) by generating correct XML fragments with consistent IDs, companions, and event handlers.

Core Features & Use Cases

  • Adds elements/requisites/commands to an existing managed form: Inserts new controls into the correct group/table/page and positions them relative to existing elements.
  • Auto-generates required companions: ContextMenu and ExtendedTooltip companions are emitted for supported controls, including tooltip/event wiring.
  • Supports event handler wiring with validation: Produces Event entries using known event names and maps common event suffixes to handler names.
  • Handles extension-form mode automatically: If the form contains BaseForm, it switches to extension ID ranges and allows additional extension sections.

Quick Start

Tell the AI to add an InputField into the specified managed form by running form-edit with the target FormPath and a JSON that describes what to insert, where, and which events to attach.

Frequently Asked Questions about form-edit

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

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

To add elements to a 1C managed Form.xml, provide the target FormPath and a JSON DSL describing the insertion location and control types. The tool generates correct XML fragments with deterministic IDs, required companion nodes, and event handler declarations.

What is the best way to insert controls into groups or tables in a 1C managed form?

Inserting controls into 1C form groups or tables requires generating correct XML with deterministic ID allocation. Using a JSON DSL, you can select the exact insertion location, emit supported control types, and automatically generate required ExtendedTooltip companions.

How do I declare event handlers in a 1C managed form XML?

Declaring event handlers in 1C managed forms involves producing Event entries with validated event names. The process maps common event suffixes to handler names and emits the correct XML wiring while inserting the new control into the Form.xml.

Does 1C managed form editing work with extension forms?

Yes, 1C managed form editing works with extension forms. When the form contains a BaseForm, the system automatically switches to extension ID ranges and allows additional extension sections for localized modifications.

What are the limitations of using a JSON DSL for 1C form editing?

The JSON DSL for 1C form editing requires loading the existing Form.xml first and is limited to targeted, localized modifications. It supports emitting specific control types and validates event names, but does not generate entire forms from scratch.