Files
cc-1c-skills/.claude/skills/epf-remove-template/SKILL.md
T
Nick ShirokovandClaude Opus 4.6 d6660a4d00 Remove docs/ references from skills to avoid confusion
Skills are self-contained — all templates and instructions are
in SKILL.md. Removed spec references that could mislead the
model into trying to read files that may not exist. Updated
README to note that docs/ is not needed when copying skills.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 12:49:44 +03:00

46 lines
1.6 KiB
Markdown

---
name: epf-remove-template
description: Удалить макет из внешней обработки 1С
argument-hint: <ProcessorName> <TemplateName>
disable-model-invocation: true
allowed-tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep
---
# /epf-remove-template — Удаление макета
Удаляет макет и убирает его регистрацию из корневого XML обработки.
## Usage
```
/epf-remove-template <ProcessorName> <TemplateName>
```
| Параметр | Обязательный | По умолчанию | Описание |
|---------------|:------------:|--------------|-------------------------------------|
| ProcessorName | да | — | Имя обработки |
| TemplateName | да | — | Имя макета для удаления |
| SrcDir | нет | `src` | Каталог исходников |
## Команда
```powershell
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`