cfe-diff

Analyze 1C configuration extensions and verify transfer of #Вставка blocks.

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill cfe-diff-dach-coin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cfe-diff
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/cfe-diff
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill cfe-diff-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Помогает быстро понять, что именно содержит расширение конфигурации 1С:Предприятие (CFE), какие объекты там заимствованы, какие перехватчики используются, и были ли нужные вставки (#Вставка/#КонецВставки) корректно перенесены в базовую конфигурацию.

Core Features & Use Cases

  • Mode A: Extension overview — анализирует состав расширения и помечает объекты как [BORROWED] или [OWN], включая подсчет реквизитов/ТЧ/форм и перечисление перехватчиков в модулях.
  • Form-level callType inspection — для заимствованных объектов дополнительно определяет события/элементы/команды с атрибутом callType в Form.xml.
  • Mode B: Transfer check — для &ИзменениеИКонтроль извлекает блоки #Вставка/#КонецВставки и проверяет наличие соответствующего кода в модулях базовой конфигурации, выдавая статусы [TRANSFERRED] / [NOT_TRANSFERRED] / [NEEDS_REVIEW].

Quick Start

Запусти анализ расширения в режиме B, чтобы проверить перенос всех вставок: передай путь к выгрузке расширения и путь к выгрузке базовой конфигурации с нужными параметрами ExtensionPath и ConfigPath.

Frequently Asked Questions about cfe-diff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if 1C extension insert blocks were transferred to the base configuration?

You can verify 1C extension migration by extracting #Вставка/#КонецВставки blocks from &ИзменениеИКонтроль methods and scanning base Configuration.xml and BSL modules, producing per-object [TRANSFERRED], [NOT_TRANSFERRED], or [NEEDS_REVIEW] statuses.

What is a borrowed object in a 1C configuration extension?

A borrowed object in a 1C configuration extension is an existing metadata object pulled into the CFE rather than created within it. Extension overview analysis tags these objects as [BORROWED] versus [OWN] and counts their forms, requisites, and tabular sections.

How do I list BSL interceptors and form callType attributes in a 1C extension?

You list BSL interceptors and form callType attributes by enumerating extension child objects, scanning .bsl modules for interceptors, and inspecting Form.xml for events, items, and commands with the callType attribute.

Do I need to export both the extension and base configuration to verify 1C migration?

Yes, verifying 1C migration requires reading Configuration.xml from both the ExtensionPath and ConfigPath directories. You must also scan corresponding XML and .bsl/.Module.bsl/Form.xml resources from both exports to confirm transfer statuses.

What are the limitations when analyzing 1C configuration extensions for migration?

Limitations when analyzing 1C configuration extensions include relying on pre-exported XML and BSL files rather than live configurations, and requiring manual review for complex #Вставка/#КонецВставки blocks that cannot be automatically matched, resulting in a [NEEDS_REVIEW] status.