Index of every page on this site: llms.txt
All skills
Run it yourself

Этот скилл MUST быть вызван когда нужно точечно добавить или изменить элементы, реквизиты и команды в существующей управляемой форме. SHOULD также вызывать для инкрементальных изменений готовой формы. Do NOT использовать для создания формы с нуля — используй form-compile; для анализа формы — используй form-info.

Use this Skill: https://skilld.dev/gh/arman-kudaibergenov/1c-ai-development-kit/form-edit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈139 tokens for metadata: the name and description. ≈1.2k when used: this file.

Description uses 4.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈325 characters, or 4.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

/form-edit — Редактирование формы

Добавляет элементы, реквизиты и/или команды в существующий Form.xml. Автоматически выделяет ID из правильного пула, генерирует companion-элементы (ContextMenu, ExtendedTooltip, и др.) и обработчики событий.

Использование

/form-edit <FormPath> <JsonPath>

Параметры

Параметр Обязательный Описание
FormPath да Путь к существующему Form.xml
JsonPath да Путь к JSON с описанием добавлений

Команда

powershell.exe -NoProfile -File .claude/skills/form-edit/scripts/form-edit.ps1 -FormPath "<путь>" -JsonPath "<путь>"

JSON формат

{
  "into": "ГруппаШапка",
  "after": "Контрагент",
  "elements": [
    { "input": "Склад", "path": "Объект.Склад", "on": ["OnChange"] }
  ],
  "attributes": [
    { "name": "СуммаИтого", "type": "decimal(15,2)" }
  ],
  "commands": [
    { "name": "Рассчитать", "action": "РассчитатьОбработка" }
  ]
}

Позиционирование элементов

Ключ По умолчанию Описание
into корневой ChildItems Имя группы/таблицы/страницы, куда вставлять
after в конец Имя элемента, после которого вставлять

Типы элементов

Те же DSL-ключи, что в /form-compile:

Ключ XML тег Companions
input InputField ContextMenu, ExtendedTooltip
check CheckBoxField ContextMenu, ExtendedTooltip
label LabelDecoration ContextMenu, ExtendedTooltip
labelField LabelField ContextMenu, ExtendedTooltip
group UsualGroup ExtendedTooltip
table Table ContextMenu, AutoCommandBar, Search*, ViewStatus*
pages Pages ExtendedTooltip
page Page ExtendedTooltip
button Button ExtendedTooltip

Группы и таблицы поддерживают children/columns для вложенных элементов.

Кнопки: command и stdCommand

  • "command": "ИмяКоманды" → Form.Command.ИмяКоманды
  • "stdCommand": "Close" → Form.StandardCommand.Close
  • "stdCommand": "Товары.Add" → Form.Item.Товары.StandardCommand.Add (стандартная команда элемента)

Допустимые события (on)

Компилятор предупреждает об ошибках в именах событий. Основные:

  • input: OnChange, StartChoice, ChoiceProcessing, Clearing, AutoComplete, TextEditEnd
  • check: OnChange
  • table: OnStartEdit, OnEditEnd, OnChange, Selection, BeforeAddRow, BeforeDeleteRow, OnActivateRow
  • label/picture: Click, URLProcessing
  • pages: OnCurrentPageChange
  • button: Click

Система типов (для attributes)

string, string(100), decimal(15,2), boolean, date, dateTime, CatalogRef.XXX, DocumentObject.XXX, ValueTable, DynamicList, Type1 | Type2 (составной).

Вывод

=== form-edit: Форма ===

Added elements (into ГруппаШапка, after Контрагент):
  + [Input] Склад -> Объект.Склад {OnChange}

Added attributes:
  + СуммаИтого: decimal(15,2) (id=12)

---
Total: 1 element(s) (+2 companions), 1 attribute(s)
Run /form-validate to verify.

Когда использовать

  • После /form-compile: добавить элементы, которые не были в исходном JSON
  • Модификация существующих форм: добавить поле, реквизит или команду в форму из конфигурации
  • Пакетное добавление: один JSON может содержать элементы + реквизиты + команды

Workflow

  1. /form-info — посмотреть текущую структуру формы
  2. Создать JSON с описанием добавлений
  3. /form-edit — добавить в форму
  4. /form-validate — проверить корректность
  5. /form-info — убедиться что добавилось правильно

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts23d4 checks · Risk SAFE
  • Gen Agent Trust Hub23d

    This skill allows the agent to modify 1C managed forms by adding elements, attributes, and commands based on a JSON configuration. It operates locally by manipulating Form.xml files and does not perform network operations or access sensitive credentials.

  • Socket23d

    No alerts

  • Snyk23d

    Risk: LOW · No issues

  • Runlayer8mo

    1/2 files flagged

Signed by skilld at 92d389e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 9 months ago
What it can do
Runs commands Reads files Edits files
argument-hint
<FormPath> <JsonPath>
All 4 allowed tools
BashReadWriteGlob

README badge

README badge for arman-kudaibergenov/1c-ai-development-kit/form-edit