1c-ordinary-forms

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

Rules for working with ordinary forms in 1C, an enterprise application platform, rather than its newer managed-form model. They explain how to recognize this older form type and how its code and layout differ.

In plain words
What is it for?
Use it when editing or reviewing ordinary 1C forms to identify the form model, access elements correctly, handle modal calls, and understand its fixed layout and thick-client execution.
Why use it?
It prevents mixing incompatible form models, which can stop 1C code from compiling or cause incorrect element access and client-server behavior. It also clarifies legacy details that often matter when supporting older configurations.

Cursor rule for Cursor

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

Good fit Use it when editing or reviewing ordinary 1C forms to identify the…

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/desko77/cursor-1c-skills/1c-ordinary-forms
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 1c-ordinary-forms

README.md
[![agentmods](https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/1c-ordinary-forms.svg)](https://agentmods.dev/rules/desko77/cursor-1c-skills/1c-ordinary-forms)
Your own site
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/1c-ordinary-forms"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/1c-ordinary-forms.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 979 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.00979
Opus 5 $0.00000 $0.00490
Sonnet 5 $0.00000 $0.00196
Haiku 4.5 $0.00000 $0.00098

Measured 7d ago against content hash bd2f2d3278fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

1c-ordinary-forms 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 7d 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/1c-ordinary-forms.mdc · 79 lines

How it starts

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

Обычные формы 1С

Применяется: когда конфигурация работает в обычном приложении либо форма создана как обычная. Это legacy-режим (8.1, 8.2 и совместимые конфигурации 8.3), но встречается он в поддержке постоянно.

Правило про отличия и типовые поломки. Управляемые формы - forms_generation.md, form_module_rules.md, edt-form-xml-requirements.md.


Признак: чем форма является

Обычная форма отличается от управляемой не оформлением, а моделью исполнения. Определять по модулю:

Признак в модуле Форма
Есть директивы &НаКлиенте, &НаСервере управляемая
Директив нет, обращение к элементам через ЭлементыФормы обычная

Смешанного варианта не бывает: код одной модели в форме другой не компилируется.

Что меняется в коде

Аспект Обычная форма Управляемая форма
Доступ к элементам ЭлементыФормы.ИмяЭлемента Элементы.ИмяЭлемента
Клиент-серверное разделение нет, модуль исполняется в толстом клиенте директивы компиляции обязательны
Модальные вызовы допустимы запрещены, только асинхронные аналоги
Размеры и раскладка фиксированные, в пикселях, с привязками автоматическая раскладка группами
Вкладки панель с закладками группа-страницы
Команды кнопки командных панелей формы команды формы и командный интерфейс

Отсюда практическое следствие: перенос кода между моделями это переписывание, а не правка. Обращение ЭлементыФормы.Таблица.ТекущиеДанные в управляемой форме не заработает даже после переименования, потому что данные там хранятся в реквизитах формы, а не в элементе.

Порядок операций с видимостью

В обычной форме порядок показа и скрытия страниц значим: сначала делается видимой нужная страница, потом скрывается прежняя. Обратный порядок оставляет панель без единой видимой страницы, и платформа выбирает страницу сама - обычно не ту.

В управляемой форме порядок роли не играет.

Модальность

Модальные вызовы в обычной форме допустимы, и код в них читается линейно. Именно этот код чаще всего переносят в управляемую форму как есть, где он либо не компилируется, либо запрещен настройкой конфигурации. При переносе каждый модальный вызов превращается в асинхронный с продолжением - это меняет структуру метода, а не одну строку.

Read the full file on GitHub · 79 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. 7d ago First seen · 79 lines · 0 tokens per session scan A bd2f2d3278fc

Subscribe to this mod's changes

1c-ordinary-forms is a cursor rule published in the GitHub repository Desko77/cursor-1c-skills (55 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 979 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.