nikolay-shirokov/cc-1c-skills63 installs
template-remove
Удалить макет из объекта 1С (обработка, отчёт, справочник, документ и др.)
How do I install this agent skill?
npx skills add https://github.com/nikolay-shirokov/cc-1c-skills --skill template-removeIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill facilitates the removal of 1C:Enterprise object templates but contains security risks. It uses user-supplied arguments directly in shell commands, which could allow command injection, and constructs file paths without sanitizing for directory traversal (e.g., '..'), potentially allowing arbitrary file deletion.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
/template-remove — Удаление макета
Удаляет макет и убирает его регистрацию из корневого XML объекта.
Usage
/template-remove <ObjectName> <TemplateName>
| Параметр | Обязательный | По умолчанию | Описание |
|---|---|---|---|
| ObjectName | да | — | Имя объекта |
| TemplateName | да | — | Имя макета для удаления |
| SrcDir | нет | src | Каталог исходников |
Команда
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/remove-template.ps1" -ObjectName "<ObjectName>" -TemplateName "<TemplateName>" [-SrcDir "<SrcDir>"]
Что удаляется
<SrcDir>/<ObjectName>/Templates/<TemplateName>.xml # Метаданные макета
<SrcDir>/<ObjectName>/Templates/<TemplateName>/ # Каталог макета (рекурсивно)
Что модифицируется
<SrcDir>/<ObjectName>.xml— убирается<Template>изChildObjects- Для ExternalReport/Report: если удалённый макет был указан в
MainDataCompositionSchema— значение очищается
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/nikolay-shirokov/cc-1c-skills/template-remove">View template-remove on skillZs</a>