skd-edit

Edit 1C Data Composition Schemas (Template.xml) via command-line interface.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for precise, atomic modifications to 1C Data Composition Schemas (DCS) without needing to manually edit complex XML files or understand the full schema structure.

Core Features & Use Cases

  • Atomic Modifications: Add, remove, or modify fields, totals, filters, parameters, and more.
  • Query Updates: Replace the entire query text for a data set.
  • Structure Definition: Define the hierarchical structure of a variant.
  • Use Case: You need to add a new calculated field 'ProfitMargin' to an existing DCS report, based on 'Sales' and 'Cost' fields, and then add a filter to only show results for the current month.

Quick Start

Use the skd-edit skill to add a new field named 'CustomerName' of type 'string' to the 'Main' data set.

Frequently Asked Questions about skd-edit

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

FAQPage Schema
How do I edit a 1C Data Composition Schema without manually modifying the XML structure?

To edit a 1C Data Composition Schema without manual XML changes, use a command-line interface to perform atomic modifications on Template.xml files. This enables targeted schema refinement by adding fields, totals, or filters directly without needing to understand the full schema structure.

What is the best way to add a calculated field to an existing 1C DCS report?

The best way to add a calculated field to a 1C DCS report is through atomic schema editing commands that target the Template.xml directly. You can programmatically add or modify fields like 'ProfitMargin' based on existing data set fields without manually parsing the XML.

Can I update data set queries programmatically in 1C Data Composition Schemas?

Yes, you can update data set queries programmatically in 1C Data Composition Schemas. The schema editing process supports replacing the entire query text for a data set, allowing incremental schema refinement and automated query generation.

How do I define the hierarchical structure of a variant in a 1C DCS template?

To define the hierarchical structure of a variant in a 1C DCS template, apply structure definition operations via the command-line interface. This atomic editing approach targets the Template.xml directly to configure variant hierarchies without full schema reconstruction.

What are the limitations of using command-line scripts for atomic DCS schema editing?

Command-line scripts for atomic DCS schema editing are limited to targeted modifications such as adding fields, updating parameters, and replacing queries. They facilitate incremental schema refinement but do not replace the need to understand the broader 1C data composition environment.