dcs-edit

Modifies 1C:Enterprise data composition schemas via atomic MCP operations.

1|2|Updated Jul 19, 2026
One-click install
npx skills add https://github.com/IngvarConsulting/unica-marketplace --skill dcs-edit-ingvarconsulting
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dcs-edit
Source: https://github.com/IngvarConsulting/unica-marketplace/tree/main/plugins/unica/skills/dcs-edit
Command: npx skills add https://github.com/IngvarConsulting/unica-marketplace --skill dcs-edit-ingvarconsulting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Editing 1C:Enterprise data composition schemas (СКД) by hand means manipulating verbose Template.xml files, which is error-prone and slow. This Skill performs targeted, atomic modifications to an existing schema — fields, totals, filters, parameters, query text, and variant structure — through the unica MCP tool without manual XML editing. ## Core Features & Use Cases - Atomic schema operations: Add, modify, rename, reorder, or remove fields, calculated fields, totals, parameters, filters, sort orders, selections, data sets, data set links, variants, and conditional appearance using compact shorthand syntax. - Query management: Replace the full query text with set-query or apply precise substring replacements with patch-query, including an @once safety mode for risky renames. - Batch mode: Apply multiple values in a single call using the ;; separator for most operations. - Use Case: You need to add a Margin calculated field, a Period parameter with auto date bounds, and a filter on Status to an existing sales report schema — one call per operation, then verify with unica.dcs.validate. ## Quick Start Ask the assistant to add a decimal field "Цена" and a StandardPeriod parameter to the data composition schema at src/Reports/ОтчетПродажи/Templates/ОсновнаяСхемаКомпоновкиДанных using dcs-edit.

Frequently Asked Questions about dcs-edit

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

FAQPage Schema
How do I add a field to a 1C data composition schema?▼

Use the add-field operation with shorthand syntax like "Цена: decimal(15,2)" or "Организация: CatalogRef.Организации @dimension". The field is added to the data set and to the variant selection unless -NoSelection is passed.

How do I change the query text in a СКД template?▼

Use set-query to replace the full query text, passing the text directly or an @path/to/file.sql reference. For small targeted replacements, use patch-query with "old => new" syntax, optionally with @once to require exactly one match.

Can I apply multiple schema changes in one call?▼

Yes, batch mode accepts multiple values separated by ;; in a single call, for example adding several fields at once. It works for all operations except set-query, set-structure, and add-dataSet.

Does dcs-edit modify files directly or through a service?▼

All mutations go through the unica MCP tool unica.dcs.edit, which owns the XML/JSON DSL work and refreshes workspace caches. Mutations run as dry runs by default unless dryRun is explicitly set to false.

How do I verify the schema after editing?▼

Call unica.dcs.validate with the TemplatePath to check structural validity after edits. You can also call unica.dcs.info to get a summary of the schema, including data sets and their query text.

What happens when renaming a parameter used in other expressions?▼

The rename-parameter operation atomically updates the parameter name, exact &Name references in other parameter expressions, and dataParameters entries in all variants. It does not touch the query text itself.