/form-add - Добавление формы к объекту конфигурации

SkillDev tools

Your AI can add a managed form to a 1C configuration object once this skill is added. That turns form creation into a simple request instead of a manual task. It is made for people working on 1C configurations.

Available today. Use it from your connected AI after setup.

After adding the skill, ask your AI to add a managed form to a configuration object in your 1C project.

Then ask your AI: use the /form-add - Добавление формы к объекту конфигурации skill

What your AI can do with it

  • Add a managed form to a 1C configuration object
  • Create forms for configuration objects as part of your 1C development work
  • Handle the form addition steps so you do not have to do them by hand
  • Add forms when building out or extending a 1C configuration

What this skill tells your AI

The instructions your AI receives, as published by desko77/cursor-1c-skills in skills/1c-form-add/SKILL.md and read by ahel’s review.

Создает управляемую форму (metadata XML + Form.xml + Module.bsl) и регистрирует ее в корневом XML объекта конфигурации (Document, Catalog, InformationRegister и др.).

Usage

/form-add <ObjectPath> <FormName> [Purpose] [Synonym] [--set-default]
ПараметрОбязательныйПо умолчаниюОписание
ObjectPathда-Путь к XML-файлу объекта (Documents/Док.xml)
FormNameда-Имя формы (ФормаДокумента)
PurposeнетObjectНазначение: Object, List, Choice, Record
Synonymнет= FormNameСиноним формы
--set-defaultнетавтоУстановить как форму по умолчанию

Команда

powershell.exe -NoProfile -File skills/1c-form-add/scripts/form-add.ps1 -ObjectPath "<ObjectPath>" -FormName "<FormName>" [-Purpose "<Purpose>"] [-Synonym "<Synonym>"] [-SetDefault]

Purpose - назначение формы

PurposeДопустимые типы объектовОсновной реквизитDefaultForm-свойство
ObjectDocument, Catalog, DataProcessor, Report, ExternalDataProcessor, ExternalReport, ChartOf*, ExchangePlan, BusinessProcess, TaskОбъект (тип: *Object.Имя)DefaultObjectForm (DefaultForm для DataProcessor/Report/ExternalDataProcessor/ExternalReport)
ListВсе кроме DataProcessorСписок (DynamicList)DefaultListForm
ChoiceDocument, Catalog, ChartOf*, ExchangePlan, BusinessProcess, TaskСписок (DynamicList)DefaultChoiceForm
RecordInformationRegisterЗапись (InformationRegisterRecordManager)DefaultRecordForm

Примеры

# Форма документа
/form-add Documents/АвансовыйОтчет.xml ФормаДокумента --purpose Object

# Форма списка каталога
/form-add Catalogs/Контрагенты.xml ФормаСписка --purpose List

# Форма записи регистра сведений
/form-add InformationRegisters/КурсыВалют.xml ФормаЗаписи --purpose Record

# Форма выбора с синонимом
/form-add Catalogs/Номенклатура.xml ФормаВыбора --purpose Choice --synonym "Выбор номенклатуры"

# Установить как форму по умолчанию
/form-add Documents/Заказ.xml ФормаДокументаНовая --purpose Object --set-default

Workflow

  1. /form-add - создать каркас формы
  2. /form-compile или /form-edit - наполнить Form.xml элементами
  3. /form-validate - проверить корректность
  4. /form-info - проанализировать результат

Signals

GitHub stars
57
Forks
13
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
x-1c-form-add-desko77
Source
github.com/desko77/cursor-1c-skills