SuperAPI AI Directory

cfe-diff

General & other

View repository

Updated 10-15 21:33

About this skill

/cfe-diff — Configuration extension analysis

Analyzes the extension in two modes: change overview (Mode A) or transfer check (Mode B).

Parameters

Parameter Description Default
ExtensionPath Path to extension (required) —
ConfigPath Path to configuration (required) —
Mode A (overview) / B (transfer check) A

Command

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/cfe-diff.ps1" -ExtensionPath src\cfe\extname -ConfigPath src\cf -Mode A

Mode A — extension overview

For each object shows:

  • [BORROWED] — borrowed: interceptors (&Перед, &После, &ИзменениеИКонтроль, &Вместо), own attributes/tabular sections/forms
  • [OWN] — own: number of attributes, tabular sections, forms

For each form of a borrowed object shows:

  • (borrowed) / (own) — borrowed or own form
  • callType events of the form and items
  • callType on commands

Mode B — transfer check

For each &ИзменениеИКонтроль extracts blocks #Вставка/#КонецВставки from the extension and searches for them in the corresponding configuration module.

Statuses:

  • [TRANSFERRED] — code found in the configuration
  • [NOT_TRANSFERRED] — code not found
  • [NEEDS_REVIEW] — no blocks #Вставка or configuration module not found

Examples

# Обзор — что изменено в расширении
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Mode A

# Проверка переноса — все ли #Вставка перенесены
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Mode B