mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-18 07:35:52 +03:00
- argument-hint: shows expected parameters when typing /command - disable-model-invocation on epf-remove-form and epf-remove-template prevents Claude from invoking destructive operations autonomously Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
name, description, argument-hint, disable-model-invocation, allowed-tools
| name | description | argument-hint | disable-model-invocation | allowed-tools | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| epf-remove-template | Удалить макет из внешней обработки 1С | <ProcessorName> <TemplateName> | true |
|
/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