Files
cc-1c-skills/.claude/skills/epf-remove-form/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

47 lines
1.7 KiB
Markdown

---
name: epf-remove-form
description: Удалить форму из внешней обработки 1С
argument-hint: <ProcessorName> <FormName>
disable-model-invocation: true
allowed-tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep
---
# /epf-remove-form — Удаление формы
Удаляет форму и убирает её регистрацию из корневого XML обработки.
## Usage
```
/epf-remove-form <ProcessorName> <FormName>
```
| Параметр | Обязательный | По умолчанию | Описание |
|---------------|:------------:|--------------|-------------------------------------|
| ProcessorName | да | — | Имя обработки |
| FormName | да | — | Имя формы для удаления |
| SrcDir | нет | `src` | Каталог исходников |
## Команда
```powershell
pwsh -NoProfile -File .claude/skills/epf-remove-form/scripts/remove-form.ps1 -ProcessorName "<ProcessorName>" -FormName "<FormName>" [-SrcDir "<SrcDir>"]
```
## Что удаляется
```
<SrcDir>/<ProcessorName>/Forms/<FormName>.xml # Метаданные формы
<SrcDir>/<ProcessorName>/Forms/<FormName>/ # Каталог формы (рекурсивно)
```
## Что модифицируется
- `<SrcDir>/<ProcessorName>.xml` — убирается `<Form>` из `ChildObjects`
- Если удаляемая форма была DefaultForm — очищается значение DefaultForm