mcpField
F
form-info

form-info

github.com/nikolay-shirokovDevelopment74155 installsUpdated today
Repository

About form-info

form-info is a command-line skill for 1C developers that summarizes Form.xml structure, attributes, commands, and events. It supports pagination and handler locations to make large forms easier to inspect.

Key features

  1. 01Prints the form element tree
  2. 02Lists attributes and types
  3. 03Shows commands and events
  4. 04Expands sections by name
  5. 05Limits and paginates output
  6. 06Shows handler names and line ranges

Use cases

  1. 01Inspecting a large Form.xml
  2. 02Finding form commands and events
  3. 03Browsing selected collapsed sections

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nikolay-shirokov/cc-1c-skills --skill form-info

After installing, type/form-infoin Claude Code to confirm it loaded.

Bundled filesscripts/form-info.ps1scripts/form-info.py

Details

From the project README

/form-info — Компактная сводка формы

Читает Form.xml и выводит дерево элементов, реквизиты с типами, команды, события. Заменяет чтение тысяч строк XML.

Команда

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/form-info.ps1" -FormPath "<путь к Form.xml>"

Параметры

ПараметрОбязательныйОписание
FormPathдаПуть к файлу Form.xml
ExpandнетРаскрыть свёрнутую секцию по имени или title, * — все
LimitнетМакс. строк (по умолчанию 150)
OffsetнетПропустить N строк (пагинация)
HandlersнетИмена обработчиков событий и команд с диапазонами строк в модуле формы

Вывод самодокументирован. [Group:AH]/[Group:AV] = AlwaysHorizontal/AlwaysVertical.

Командная панель ([CmdBar]) и контекстное меню ([ContextMenu]) элемента показываются в дереве, когда в них есть свои кнопки или отключено автозаполнение. Панель таблицы с нестандартным именем — суффикс [cmdBar:Имя] у таблицы; стандартное имя — <Таблица>КоманднаяПанель. [std] — стандартная команда (Close, у таблицы — Товары.Add), [cmd] — команда формы.

Comments

Markdown supported