mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-18 07:35:52 +03:00
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>
47 lines
1.7 KiB
Markdown
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 |