SuperAPI AI Directory

template-remove

General & other

View repository

Updated 10-15 17:18

About this skill

/template-remove — Template deletion

Deletes the template and removes its registration from the object's root XML.

Usage

/template-remove <ObjectName> <TemplateName>
Parameter Required Default Description
ObjectName yes — Object name
TemplateName yes — Name of the template to delete
SrcDir no src Source directory

Command

powershell.exe -NoProfile -File .claude/skills/template-remove/scripts/remove-template.ps1 -ObjectName "<ObjectName>" -TemplateName "<TemplateName>" [-SrcDir "<SrcDir>"]

What is deleted

<SrcDir>/<ObjectName>/Templates/<TemplateName>.xml     # Метаданные макета
<SrcDir>/<ObjectName>/Templates/<TemplateName>/         # Каталог макета (рекурсивно)

What is modified

  • <SrcDir>/<ObjectName>.xml — removed <Template> from ChildObjects
  • For ExternalReport/Report: if the deleted template was specified in MainDataCompositionSchema — the value is cleared