skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
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-remove
view source ↗

Is 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 — значение очищается

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>