form-compile

Generate 1C managed form Form.xml from JSON DSL or metadata.

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill form-compile-dach-coin
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: form-compile
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/form-compile
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill form-compile-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Этот Skill решает проблему трудоемкой и однообразной ручной сборки управляемых форм 1С: вместо того чтобы долго настраивать структуру элементов и привязки, он генерирует Form.xml автоматически из JSON-описания или на основе метаданных объекта.

Core Features & Use Cases

  • Генерация Form.xml по JSON DSL: описывай форму декларативно (элементы, реквизиты, события, типы полей), а компилятор соберет корректную структуру Form.xml.
  • Автогенерация по метаданным объекта (-FromObject): форма создается из структуры метаданных (атрибуты, табличные части, реквизиты и т.п.) с учетом пресетов раскладки.
  • Шаблоны и верификация структуры: поддерживаются параметры формы, события, доп. блоки, подвал/шапка и табличные секции; встроена логика предустановок ERP-стиля через presets.

Quick Start

Сгенерируй Form.xml из JSON-определения по пути ./form.json и запиши результат в ./Form.xml командой form-compile в режиме JSON DSL.

Frequently Asked Questions about form-compile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate 1C managed Form.xml from a JSON description?▼

To generate 1C managed Form.xml from a JSON description, you define elements, attributes, and events in a JSON DSL, then execute a compilation script. You must provide a JsonPath for the input and an OutputPath for the generated result.

Can I automatically create 1C forms from metadata instead of writing JSON?▼

Yes, you can automatically create 1C forms from metadata by using the -FromObject parameter. This generates the form structure directly from 1C object metadata attributes and tabular sections, applying ERP-style layout presets to an OutputPath-convention target.

What is JSON DSL used for when building 1C managed forms?▼

JSON DSL is used for declaratively describing 1C managed forms, including elements, requisites, events, and field types. The compiler reads this JSON DSL to automatically assemble a correct and consistent Form.xml structure without manual element configuration.

Does form generation support ERP-style layouts and presets for 1C objects?▼

Yes, form generation supports ERP-style layouts through built-in presets. These presets apply deterministic layout merging during compilation, ensuring typed ERP-style layouts and consistent form structure across different 1C modules.

What are the requirements for compiling 1C forms in JSON DSL mode?▼

Compiling 1C forms in JSON DSL mode requires specifying a JsonPath for the input file and an OutputPath for the generated Form.xml. This mode executes deterministic scripts to compile the declarative JSON structure into the final 1C form format.