meta-compile

Convert 1C metadata JSON DSL definitions into XML and bsl modules.

151|20|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Arman-Kudaibergenov/1c-ai-development-kit --skill meta-compile-arman-kudaibergenov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-compile
Source: https://github.com/Arman-Kudaibergenov/1c-ai-development-kit/tree/main/.claude/skills/meta-compile
Command: npx skills add https://github.com/Arman-Kudaibergenov/1c-ai-development-kit --skill meta-compile-arman-kudaibergenov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Этот скилл устраняет ручную и трудоёмкую работу по созданию объектов метаданных 1С (XML и модулей выгрузки) вручную, ускоряя запуск новых сущностей и снижая вероятность ошибок в структуре Configuration.xml.

Core Features & Use Cases

  • JSON DSL → выгрузка метаданных 1С: принимает JSON-описание объекта метаданных и генерирует соответствующие XML и модули в структуре выгрузки конфигурации.
  • Автоматическая регистрация в Configuration.xml: добавляет сгенерированный объект в <ChildObjects> для корректного включения в выгрузку конфигурации.
  • Широкий охват типов метаданных: поддерживает справочники, документы, перечисления, планы обмена, планы счетов, регистры (сведений/накопления/бухгалтерии/расчёта), отчёты, обработки, роли сервисов (HTTP/веб), журналы документов и прочие сервисные объекты.

Типовой сценарий: вы хотите быстро завести новый справочник/документ/регистр по формализованному JSON DSL и сразу получить готовую выгрузку конфигурации (включая необходимые модули), чтобы дальше выполнить компиляцию/дальнейшие правки через другие skills (например, meta-edit или cf-edit).

Quick Start

Use the meta-compile skill to generate a new 1C metadata object from a JSON file by calling it with the JsonPath to the definition and the OutputDir where the configuration export structure (including Configuration.xml) should be created.

Frequently Asked Questions about meta-compile

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

FAQPage Schema
How do I generate 1C metadata objects from a JSON file?

To generate 1C metadata objects from JSON, provide a JSON DSL definition path and an output directory. The tool converts the definition into a valid configuration export package, generating the required XML files and bsl modules while registering the object into Configuration.xml.

What 1C metadata types can I create using a JSON DSL?

You can create a wide range of 1C metadata types using JSON DSL, including catalogs, documents, enums, information registers, accumulation registers, charts of accounts, exchange plans, reports, and data processors.

How does automatic registration in Configuration.xml work for new 1C objects?

Automatic registration in Configuration.xml works by adding the newly generated metadata object directly into the <ChildObjects> section. This ensures the object is correctly included in the configuration export package alongside its generated XML and bsl modules.

What inputs are required to create a 1C configuration export package from JSON?

Creating a 1C configuration export package from JSON requires two mandatory inputs: a JsonPath pointing to your object definition and an OutputDir where the configuration structure will be created. The tool validates required fields like type and name before emitting files.

Can I use JSON to automate adding new documents and registers to a 1C configuration?

Yes, you can use JSON DSL to automate adding new documents and registers to a 1C configuration. The tool reads the JSON definition, validates required fields, and emits object-specific files into type-based subdirectories to build the export package.

Why manually creating 1C metadata XML and bsl modules is error-prone and how to avoid it?

Manually creating 1C metadata XML and bsl modules is error-prone due to the complex structure of Configuration.xml. You can avoid these errors by using a JSON DSL to automatically generate the required files and register them correctly.