meta-compile

Generate 1C configuration XML and module files from JSON metadata definitions.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Framework --skill meta-compile-alex1980alex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-compile
Source: https://github.com/Alex1980Alex/1C-Framework/tree/main/external/cc-1c-skills/.claude/skills/meta-compile
Command: npx skills add https://github.com/Alex1980Alex/1C-Framework --skill meta-compile-alex1980alex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

It turns JSON-based metadata definitions into ready-to-use 1C configuration objects, removing manual XML editing and repetitive boilerplate.

Core Features & Use Cases

  • Metadata generation: Creates catalogs, documents, registers, enums, constants, modules, reports, web services, and more from a compact DSL.
  • Type and field normalization: Handles shorthand attributes, composite types, enum value aliases, defaults, and reference type mapping.
  • Batch compilation: Compiles arrays of objects in one pass and reports per-item success or failure.
  • Safety guardrails: Detects vendor-protected configurations and blocks unsafe edits with clear guidance.
  • Use case: A developer can define several 1C objects in JSON and generate the corresponding configuration files and modules without hand-building XML.

Quick Start

Ask the skill to compile your JSON metadata definition into the target 1C configuration directory.

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 configuration XML from JSON definitions?

1C configuration XML is generated from JSON definitions by parsing shorthand metadata attributes and compiling them into ready-to-use configuration files and modules. This removes manual XML editing and repetitive boilerplate for catalogs, documents, and registers.

Can I batch compile multiple 1C metadata objects at once?

Batch compiling multiple 1C metadata objects is supported by processing arrays of definitions in one pass. The compilation reports per-item success or failure, allowing you to generate several catalogs, documents, and registers simultaneously.

Do I need lxml to create 1C metadata files from a JSON DSL?

You need the lxml dependency installed to create 1C metadata files from a JSON DSL. This library handles the underlying XML generation and type normalization required to map shorthand attributes into valid configuration elements.

What happens when generating metadata for vendor-protected 1C configurations?

Generating metadata for vendor-protected 1C configurations triggers safety guardrails that detect the protection and block unsafe edits. The system provides clear guidance instead of modifying the configuration, preventing accidental corruption of protected files.

How are composite types and enum aliases handled during 1C XML generation?

Composite types and enum aliases are handled through type and field normalization during 1C XML generation. The process automatically maps reference types, applies defaults, and expands shorthand attributes into the full structure required by 1C configuration elements.