mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-12 21:20:52 +03:00
7 skills for working with 1C external data processor XML sources: - epf-init: scaffold a new processor (root XML + ObjectModule.bsl) - epf-add-form: add a managed form with BSL module - epf-add-template: add a template (HTML/Text/SpreadsheetDocument/BinaryData) - epf-remove-form: remove a form and update root XML - epf-remove-template: remove a template and update root XML - epf-build: build EPF from XML (documentation only) - epf-dump: dump EPF to XML (documentation only) Includes XML format spec and build/dump command reference. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
name, description, allowed-tools
| name | description | allowed-tools | ||||||
|---|---|---|---|---|---|---|---|---|
| epf-remove-template | Удалить макет из внешней обработки 1С |
|
/epf-remove-template — Удаление макета
Удаляет макет и убирает его регистрацию из корневого XML обработки.
Usage
/epf-remove-template <ProcessorName> <TemplateName>
| Параметр | Обязательный | По умолчанию | Описание |
|---|---|---|---|
| ProcessorName | да | — | Имя обработки |
| TemplateName | да | — | Имя макета для удаления |
| SrcDir | нет | src |
Каталог исходников |
Команда
pwsh -NoProfile -File .claude/skills/epf-remove-template/scripts/remove-template.ps1 -ProcessorName "<ProcessorName>" -TemplateName "<TemplateName>" [-SrcDir "<SrcDir>"]
Что удаляется
<SrcDir>/<ProcessorName>/Templates/<TemplateName>.xml # Метаданные макета
<SrcDir>/<ProcessorName>/Templates/<TemplateName>/ # Каталог макета (рекурсивно)
Что модифицируется
<SrcDir>/<ProcessorName>.xml— убирается<Template>изChildObjects
Спецификация
Подробности формата: docs/1c-xml-format-spec.md