1c Skd Edit logo

1c Skd Edit

Community
Desko77
1c-skd-edit

Точечное редактирование схемы компоновки данных 1С (СКД). Используй когда нужно модифицировать существующую СКД - добавить поля, итоги, фильтры, параметры, изменить текст запроса

Overview

PublisherDesko77
Repositoryclaude-code-skills-1c
Skill name1c-skd-edit
Stars
88
Forks
17
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Desko77 on GitHub. Read the source before you install it.

Installation

Install the 1c Skd Edit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-skd-edit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Desko77/claude-code-skills-1c.git /tmp/claude-code-skills-1c
mkdir -p .claude/skills
cp -r /tmp/claude-code-skills-1c/skills/1c-skd-edit .claude/skills/1c-skd-edit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 1c Skd Edit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 1c Skd Edit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 1c Skd Edit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/skd-edit - точечное редактирование СКД (Template.xml)

Атомарные операции модификации существующей схемы компоновки данных: добавление, удаление и модификация полей, итогов, фильтров, параметров, настроек варианта, управление структурой, замена запроса.

Параметры и команда

ПараметрОписание
TemplatePathПуть к Template.xml (или к папке - автодополнение Ext/Template.xml)
OperationОперация (см. список ниже)
ValueЗначение операции (shorthand-строка или текст запроса)
DataSet(опц.) Имя набора данных (умолч. первый)
Variant(опц.) Имя варианта настроек (умолч. первый)
NoSelection(опц.) Не добавлять поле в selection варианта
powershell
powershell.exe -NoProfile -File skills/1c-skd-edit/scripts/skd-edit.ps1 -TemplatePath "<path>" -Operation <op> -Value "<value>"

Пакетный режим (batch)

Несколько значений в одном вызове через разделитель ;;:

powershell
-Operation add-field -Value "Цена: decimal(15,2) ;; Количество: decimal(15,3) ;; Сумма: decimal(15,2)"

Работает для всех операций кроме set-query, set-structure и add-dataSet.

Операции

add-field - добавить поле в набор данных

Shorthand: "Имя [Заголовок]: тип @роль #ограничение".

"Цена: decimal(15,2)"
"Организация [Орг-ция]: CatalogRef.Организации @dimension"
"Служебное: string #noFilter #noOrder"

Поле добавляется в набор и в selection варианта (если нет -NoSelection). Дубликат dataPath - предупреждение, пропуск.

add-total - добавить итог

"Цена: Среднее"
"Стоимость: Сумма(Кол * Цена)"

add-calculated-field - добавить вычисляемое поле

Shorthand: "Имя [Заголовок]: тип = Выражение #noFilter #noOrder #noGroup".

"Маржа = Продажа - Закупка"
"Наценка [Наценка, %]: decimal(10,2) = Маржа / Закупка * 100"
"Служебное: string = \"\" #noFilter #noOrder #noGroup"

#noFilter, #noOrder, #noGroup, #noField → <useRestriction> (аналогично add-field).

Также добавляется в selection варианта.

add-parameter - добавить параметр

"Период [Отчетный период]: StandardPeriod = LastMonth @autoDates"
"Организация: CatalogRef.Организации"

Shorthand: "Имя [Заголовок]: тип = значение @флаги". [Заголовок] опциональный - добавляет <title>.

@autoDates генерирует пару скрытых параметров ДатаНачала/ДатаОкончания для StandardPeriod-параметра - для БСП-отчетов, чтобы получить пару полей "Начало/Конец" в панели быстрых настроек.

modify-parameter - изменить существующий параметр

Находит параметр по имени, добавляет/обновляет свойства.

"ПорядокОкругления use=Always"
"ПорядокОкругления [Округление сумм] denyIncompleteValues=true"
"ПериодОтчета [Отчетный период]"                                  # только title
"ПорядокОкругления availableValue=Перечисление.Округления.Окр1 presentation=руб."

[Заголовок] опциональный - устанавливает или заменяет <title>. Можно вызывать без других kv-пар, чтобы только обновить title.

availableValue= добавляет один элемент списка допустимых значений (можно несколько через ;;). Тип значения определяется автоматически (DesignTimeValue для ссылок).

rename-parameter - переименовать параметр

Shorthand: "OldName => NewName". Атомарно обновляет имя параметра, ссылки &Имя в выражениях других параметров (только полные совпадения, &ПериодX не задевается), и записи в dataParameters всех вариантов. Текст запроса не трогает - переименование строго в области параметров.

"Период => ПериодОтчета"

reorder-parameters - переставить параметры в указанном порядке

Shorthand: "Имя1, Имя2, Имя3". Частичный список - указанные параметры идут первыми в заданном порядке, остальные сохраняют исходный порядок и идут в конце. Параметры из списка, которых нет в схеме - warning, пропуск.

"ПериодОтчета, НачалоПериода, КонецПериода"

add-filter - добавить фильтр в вариант

Shorthand: "Поле оператор значение @флаги". Флаги: @off (use=false), @user (userSettingID=auto), @quickAccess, @normal, @inaccessible.

"Номенклатура = _ @off @user"
"Дата >= 2024-01-01T00:00:00"
"Статус filled"

add-dataParameter - добавить параметр данных в вариант

Shorthand: "Имя [= значение] @флаги".

"Период = LastMonth @user"
"Организация @off @user"

add-order - добавить сортировку

Shorthand: "Поле [desc]". По умолчанию asc. Auto - авто-элемент.

"Количество desc"
"Auto"

add-selection - добавить элемент выборки

"Номенклатура"
"Auto"
"Folder(Поступление: ПолеА, ПолеБ, ПолеВ)"

Folder(Название: поле1, поле2) - группа полей (SelectedItemFolder) с заголовком и placement=Auto.

@group=ИмяГруппировки - добавить в selection именованной группировки (вместо уровня варианта):

"Folder(Поступление: ПолеА, ПолеБ) @group=ДанныеОтчета"

add-dataSetLink - добавить связь наборов данных

Shorthand: "Источник > Приемник on ВырИсточника = ВырПриемника [param Имя]".

"Набор1 > Набор2 on Поле1 = Поле2"
"Набор1 > Набор2 on Поле1 = Поле2 [param Связь]"

add-dataSet - добавить набор данных

Shorthand: "Имя: ТЕКСТ_ЗАПРОСА" или "ТЕКСТ_ЗАПРОСА" (авто-имя НаборДанныхN).

"Доп: ВЫБРАТЬ 1 КАК Тест"
"ВЫБРАТЬ Ссылка ИЗ Справочник.Номенклатура"
"Продажи: @queries/sales.sql"

dataSource берется из первого существующего. Дубликат имени - предупреждение, пропуск. Не поддерживает пакетный режим (запрос может содержать ;;).

add-variant - добавить вариант настроек

Shorthand: "Имя [Представление]". Представление опционально, по умолчанию = имя.

"Детальный"
"Детальный [Детальный отчет]"

Создает вариант с Auto selection + detail group. Дубликат имени - предупреждение, пропуск.

add-conditionalAppearance - добавить условное оформление

Shorthand: "Параметр = значение [when условие] [for Поле1, Поле2]". Блок when - синтаксис add-filter (Поле оператор значение).

"ЦветТекста = web:Red when Сумма < 0"
"ЦветФона = web:LightGreen when Статус = Одобрен for Статус"
"МинимальнаяШирина = 50 for Организация"
"Формат = ЧДЦ=2 for Цена, Сумма"

Типы значений appearance (автодетект): web:*/style:*/win:* → Color, true/false → Boolean, параметр Формат/Текст/Заголовок → LocalStringType, иначе String.

Типы значений фильтра (автодетект): Перечисление.*/Справочник.*/ПланСчетов.*/Документ.* → DesignTimeValue, true/false → Boolean, дата → DateTime, числа → Decimal, иначе String.

OrGroup: несколько условий через or в when объединяются в FilterItemGroup/OrGroup:

"Формат = ЧЦ=15; ЧДЦ=0 when ПараметрыДанных.Округление = Перечисление.Округления.Окр1 or ПараметрыДанных.Округление = Перечисление.Округления.Окр1000"

Важно: для параметров данных используйте префикс ПараметрыДанных. в поле фильтра.

add-drilldown - подключить расшифровку к ресурсам в шаблонах

Value - имена ресурсов (как в полях/вычисляемых полях СКД) через запятую.

"ПоступлениеИзПроизводства, ВыбытиеПрочее"
"Сумма_Дт83, Сумма_Дт99, Сумма_68, Сумма_84"

Подключает DrillDown по ИмяРесурса ко всем шаблонам, содержащим указанные ресурсы. Идемпотентно.

set-query - заменить текст запроса

Не поддерживает пакетный режим. Value - полный текст запроса или @path/to/file.sql (ссылка на внешний файл). Путь разрешается относительно Template.xml, затем CWD.

patch-query - точечная замена в тексте запроса

Shorthand: "старое => новое". Заменяет все вхождения подстроки. Поддерживает пакетный режим и -DataSet.

"СубконтоДт1) В => СубконтоКт1) В"
"ЛЕВОЕ СОЕДИНЕНИЕ => ВНУТРЕННЕЕ СОЕДИНЕНИЕ"

set-outputParameter - установить параметр вывода

"Заголовок = Мой отчет"
"ВыводитьЗаголовок = true"

Если параметр уже существует - заменяет значение.

set-structure - установить структуру варианта

Shorthand: "Поле1 > Поле2 > details". details/детали - детальные записи. Заменяет всю структуру. Не поддерживает пакетный режим.

"Организация > Номенклатура > details"
"details"
"СчетМеждународногоУчета @name=ДанныеОтчета"

@name=Имя - присваивает имя группировке (<dcsset:name>). Используется для привязки шаблонов через groupName.

modify-field - изменить существующее поле

Тот же shorthand что и add-field. Находит по dataPath, объединяет свойства (непустые переопределяют), сохраняет позицию.

"Цена [Цена USD]: decimal(10,4) @dimension"

modify-filter - изменить существующий фильтр

Тот же shorthand что и add-filter. Находит по полю, обновляет оператор/значение/флаги. См. правило для <use> ниже.

modify-dataParameter - изменить параметр данных

Тот же shorthand что и add-dataParameter. Находит по имени, обновляет значение/флаги. См. правило для <use> ниже.

Правило <use> для modify-filter / modify-dataParameter

В отличие от add-*, в modify-* поле <use> обновляется только если флаг задан явно:

  • @off - установить <use>false</use>
  • @on - убрать существующий <use>false</use> (включить параметр)
  • ни @off, ни @on не задано - <use> не трогается, существующее значение сохраняется (важно: это значит, что отключенный параметр останется отключенным после модификации других свойств)

remove-* и clear-*

ОперацияValueДействие
remove-fielddataPathУдаляет поле из набора + из selection варианта
remove-totaldataPathУдаляет итог
remove-calculated-fielddataPathУдаляет вычисляемое поле + из selection
remove-parameternameУдаляет параметр
remove-filterполеУдаляет первый фильтр с указанным полем
clear-selection*Очищает все элементы selection
clear-order*Очищает все элементы order
clear-filter*Очищает все элементы filter

Верификация

/skd-validate <TemplatePath>    - валидация структуры после редактирования
/skd-info <TemplatePath>        - визуальная сводка

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 1c Skd Edit AI skill do?

Точечное редактирование схемы компоновки данных 1С (СКД). Используй когда нужно модифицировать существующую СКД - добавить поля, итоги, фильтры, параметры, изменить текст запроса

Why use 1c Skd Edit on TypingMind?

Because you install it once and use it with any model. 1c Skd Edit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 1c Skd Edit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-skd-edit. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 1c Skd Edit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 1c Skd Edit?

As many as you like. As long as a model supports skills, you can use 1c Skd Edit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 1c Skd Edit AI skill free?

Yes. It is published on GitHub by Desko77 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇