skd-compile

Compile 1C Data Composition Schemas from JSON DSL to Template.xml.

511|99|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Nikolay-Shirokov/cc-1c-skills --skill skd-compile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skd-compile
Source: https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/main/.claude/skills/skd-compile
Command: npx skills add https://github.com/Nikolay-Shirokov/cc-1c-skills --skill skd-compile

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the creation and modification of complex 1C Data Composition Schemas (DCS) by allowing you to define them using a more human-readable and compact JSON format instead of the verbose XML.

Core Features & Use Cases

  • JSON to XML Compilation: Converts a JSON definition into a valid Template.xml file for 1C DCS.
  • DSL Support: Understands a rich JSON DSL for defining datasets, fields, parameters, filters, and settings variants.
  • Use Case: You need to create a new report in 1C. Instead of manually constructing the Template.xml with all its intricacies, you define the report's structure, data sources, and parameters in a clear JSON file and use this Skill to generate the XML.

Quick Start

Use the skd-compile skill to generate a Template.xml file from the JSON definition located at 'my_report_definition.json' and save it to 'report_template.xml'.

Frequently Asked Questions about skd-compile

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

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

To generate a 1C Data Composition Schema from JSON, define your datasets, fields, parameters, and filters in a JSON file and use the compilation script to output a valid Template.xml format.

What is the best way to create complex 1C DCS reports without writing verbose XML?

Creating 1C DCS reports without verbose XML is done by defining the report structure in a compact JSON DSL, which is then compiled into the standard Template.xml format required by 1C.

Can I define parameters and filters for 1C Data Composition Schemas using JSON?

Yes, you can define parameters with auto-date generation and filters using the JSON DSL, which the compiler translates into the corresponding XML structures for the 1C Data Composition Schema.

Do I need PowerShell to compile JSON into a 1C report template?

Yes, you need a PowerShell environment to execute the compilation script that transforms the JSON definition into the standard 1C Template.xml file.

What are the limitations of using JSON to compile 1C Data Composition Schemas?

The JSON compilation requires a PowerShell environment to run the script and relies on a specific JSON DSL to map to the standard 1C Template.xml, meaning it cannot process arbitrary JSON structures.

Does the skd-compile skill support complex settings variants for 1C reports?

Yes, the skd-compile skill supports defining complex settings variants within the JSON DSL, compiling them directly into the 1C Data Composition Schema Template.xml.