forms_generation

forms_generation is a cursor rule for Cursor from Desko77/cursor-1c-skills. It costs 0 tokens per session (1,079 once invoked), scanned A, original, MIT.

A set of rules for creating and changing 1C application forms, which are screens used in the 1C business-software platform. It selects the appropriate editor tools for EDT projects and gives a fallback for older Configurator projects.

In plain words
What is it for?
Use it to create or modify fields, groups, buttons, tables, decorations, pages, command interfaces, and form events, then validate the form and check project errors.
Why use it?
It reduces form-generation errors by using the project's preferred tools and by checking that the form structure and project validation pass afterward. It also prevents using the less suitable fallback when an EDT project is available.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to create or modify fields, groups, buttons, tables, decorations, pages, command interfaces, and form events, then validate the form and check project errors.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/desko77/cursor-1c-skills/forms_generation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for forms_generation

README.md
[![agentmods](https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/forms_generation/github.svg)](https://agentmods.dev/rules/desko77/cursor-1c-skills/forms_generation)
Your own site
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/forms_generation"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/forms_generation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forms_generation

Your own site · 80×15
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/forms_generation"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/forms_generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,079 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01079
Opus 5.5 $0.00000 $0.00432
Sonnet 5.5 $0.00000 $0.00216
Haiku 4.5 $0.00000 $0.00108

Measured 1mo ago against content hash ae8b5e2dec85, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forms_generation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules/forms_generation.mdc · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Генерация и модификация форм 1С

Основной путь - EDT MCP (ai-edt). Сервер 1c-forms-mcp в этом стеке отключен: на EDT-проектах он генерирует формы хуже и с ошибками. Использовать только как fallback для конфигураций без EDT (формат Конфигуратора), предварительно включив сервер вручную.

Управляемые формы EDT-проекта (Form.form) - через EDT MCP

Файл формы в EDT - Form.form (не Form.xml). Работать инструментами ai-edt (см. скил ai-edt-tools, references/metadata-forms-constructors.md).

Создание формы

  1. edit_metadata operation=create_form (createForm) - создает форму с базовыми свойствами (иначе форма не открывается). Для CommonForm автоматически создается форма-обертка.
  2. edit_metadata form-операции - наполнение: addField, addGroup, addButton, addTable, addDecoration, командный интерфейс, события формы.
  3. get_form_structure - проверить дерево элементов (JSON), includeCommandInterface=true для командного интерфейса.
  4. get_form_screenshot - визуальный контроль (PNG из WYSIWYG), параметр activePage для страниц.
  5. Валидация результата строго по порядку: revalidate_objects по форме и владельцу, затем get_project_errors с фильтром по ним (без перевалидации ошибки останутся от прошлого состояния).

Модификация формы

  1. get_form_structure - обзор текущих элементов.
  2. get_form_screenshot - текущее состояние.
  3. edit_form / edit_metadata form-операции - добавить (addField/addGroup/addButton/addTable) или удалить (removeItem) элементы.
  4. get_form_screenshot refresh=true - проверить результат.

Требования к XML Form.form (extInfo, дефолты полей, привязка handlers) - edt-form-xml-requirements.md.

Именование form-команд и кнопок (конвенция EDT)

Именовать form-команду ПО ДЕЙСТВИЮ, чисто, без машинных суффиксов:

  • команда: ПечатьСкладскихНакладных (НЕ ПечатьСкладскихНакладныхCommand);
  • обработчик команды: то же имя ПечатьСкладскихНакладных (НЕ ...Команда);
  • кнопка: add_button name=ПечатьСкладскихНакладных - плагин 3.1.x сам создает одноименную команду (item и command в разных пространствах имен, одноименность допустима). Раньше плагин клеил <name>Command / <commandName>Команда - устарело, не воспроизводить вручную.

Read the full file on GitHub · 55 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +11 lines ae8b5e2dec85
  2. 3mo ago First seen · 44 lines · 0 tokens per session scan A 377e983c418a

Subscribe to this mod's changes

forms_generation is a cursor rule published in the GitHub repository Desko77/cursor-1c-skills (78 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,079 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

forms_generation compared with cursor rules from other repositories

forms_generation next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forms_generationDesko77/cursor-1c-skillsCursor rule786d agoMITA0Cursor
jsdocyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA627Cursor
project-contextyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA1,160Cursor
code-styleyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA331Cursor
naming-abbreviationsyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA277Cursor
evolution-no-legacyyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA147Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor