form-edit

Modify 1C managed Form.xml files by adding UI elements, attributes, and commands from JSON configuration.

511|99|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Nikolay-Shirokov/cc-1c-skills --skill form-edit-nikolay-shirokov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-edit
Source: https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/form-edit
Command: npx skills add https://github.com/Nikolay-Shirokov/cc-1c-skills --skill form-edit-nikolay-shirokov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for the programmatic modification of existing 1C managed forms by adding elements, attributes, and commands, streamlining the process of form customization and development.

Core Features & Use Cases

  • Element Addition: Add new input fields, checkboxes, labels, and other UI elements to forms.
  • Attribute Management: Define and add new data attributes to forms.
  • Command Integration: Incorporate new commands and link them to event handlers.
  • Use Case: After generating a base form with /form-compile, you need to add a new 'Warehouse' field to the 'Header' group and a 'Calculate Total' button. This Skill can achieve that by referencing the existing Form.xml and a JSON file describing the additions.

Quick Start

Use the form-edit skill to add a new 'CustomerName' input field after the 'ContactPerson' element in the 'MainForm.xml' file, using the specifications in 'new_fields.json'.

Frequently Asked Questions about form-edit

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

FAQPage Schema
How do I programmatically modify an existing 1C managed form?

You can programmatically modify an existing 1C managed form by using a JSON configuration file to define additions, which the tool applies directly to the target Form.xml to update its structure.

Can I add new input fields and commands to 1C forms without manual editing?

Yes, you can add UI elements and commands to 1C forms without manual editing by defining them in a JSON configuration file, which programmatically generates dynamic IDs and companion elements in the Form.xml.

What is the best way to link event handlers when adding elements to Form.xml?

The best way to link event handlers when adding elements to Form.xml is by defining the command integrations and handler mappings in a JSON configuration file, ensuring deterministic form updates and proper event execution.

Does form-edit work with JSON to update 1C form attributes?

Yes, form-edit works with JSON to update 1C form attributes by reading a JSON configuration file that specifies new data attributes and applying those definitions directly to the existing managed Form.xml.

How to add a new field after an existing element in 1C managed forms?

To add a new field after an existing element in 1C managed forms, reference the target element in your JSON configuration file, and the tool will programmatically insert the new input field into the Form.xml at the specified position.