skd-compile

Convert JSON DSL definitions into 1C Data Composition Schema XML templates.

41|5|Updated May 28, 2026
One-click install
npx skills add https://github.com/msrv-tech/skills --skill skd-compile-msrv-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skd-compile
Source: https://github.com/msrv-tech/skills/tree/main/skd-compile
Command: npx skills add https://github.com/msrv-tech/skills --skill skd-compile-msrv-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of 1C Data Composition Schema (СКД) XML templates from compact JSON DSL, eliminating manual XML construction and reducing configuration errors.

Core Features & Use Cases

  • Converts DataComposition DSL into full XML templates (fields, datasets, parameters, and group structures) ready for 1C Designer.
  • Supports @file-based SQL or DSL queries, dataSource defaults, totals, and nested data structures like unions.
  • Ideal for automated report template generation, analytics schemas, and repeatable 1C configuration pipelines.

Quick Start

Provide a JSON DSL file and an output path to generate the Data Composition Schema XML template.

Frequently Asked Questions about skd-compile

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

FAQPage Schema
How do I generate 1C Data Composition Schema XML from JSON?

You generate 1C Data Composition Schema XML by providing a JSON DSL file and an output path to the compiler. The script resolver transforms dataSets, fields, parameters, and calculations into a valid XML template for 1C Designer.

Can I use external SQL queries when building 1C SKD report templates?

Yes, you can use external SQL queries when building 1C SKD report templates. The compiler supports @file-based references, allowing you to load inline queries and dataSource defaults directly into the generated XML structure.

What is the best way to automate report template generation for 1C configurations?

Automating report template generation for 1C is best handled by compiling compact JSON DSL into full XML templates. This approach eliminates manual XML construction, reduces configuration errors, and supports repeatable analytics schema pipelines.

Does the 1C Data Composition Schema compiler support nested data structures and unions?

Yes, the 1C Data Composition Schema compiler supports nested data structures like unions. The script resolver handles grouping structures, totalFields, calculatedFields, and templates to emit complete XML output for complex reporting requirements.

How does JSON DSL type normalization work for 1C SKD XML generation?

JSON DSL type normalization for 1C SKD XML generation works through the script resolver, which automatically processes dataSources defaults, external queries, and field types. This ensures valid XML emission for DataSets, parameters, and groupings.

What are the limitations of compiling 1C Data Composition Schema from JSON DSL?

The limitations of compiling 1C Data Composition Schema from JSON DSL include dependency on accurate JSON DSL definitions and @file references for external queries. The compiler requires valid input structure to properly normalize types and emit XML templates.