cfe-init

Generate 1C configuration extension scaffolds with Configuration.xml and Languages/Русский.xml.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Автоматизирует создание минимально корректной заготовки расширения конфигурации 1С (CFE) с нужными XML-файлами, чтобы не собирать структуру вручную и сразу начать разработку.

Core Features & Use Cases

  • Создание scaffold расширения: генерирует Configuration.xml и Languages/Русский.xml, а также опционально Roles/.
  • Подхват совместимости из базовой конфигурации: при указании ConfigPath читает Language UUID и CompatibilityMode из выгрузки базовой конфигурации.
  • Гибкая настройка расширения: поддерживает Purpose (Patch|Customization|AddOn), NamePrefix, Vendor, Version, а также опцию NoRole для случаев без основной роли.
  • Встроенная верификация: предлагает запуск /cfe-validate для проверки результата.

Quick Start

Запусти создание расширения с авто-определением CompatibilityMode по базовой конфигурации, например: powershell.exe -NoProfile -File .claude/skills/cfe-init/scripts/cfe-init.ps1 -Name "МоеРасширение" -ConfigPath C:\WS\tasks\cfsrc\erp_8.3.24 -OutputDir src.

Frequently Asked Questions about cfe-init

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

FAQPage Schema
How do I scaffold a 1C configuration extension XML structure automatically?

To scaffold a 1C configuration extension XML structure, you generate Configuration.xml and Languages/Русский.xml files along with optional Roles directories. This creates a minimal valid extension skeleton to start development immediately without manually assembling XML.

Can I auto-resolve CompatibilityMode and Language UUID from a base 1C configuration export?

Yes, you can auto-resolve CompatibilityMode and Language UUID from a base 1C configuration export. By providing the ConfigPath parameter pointing to the base configuration files, the scaffolding process reads and applies these settings automatically to the new extension.

What is the difference between Patch, Customization, and AddOn purposes when creating a 1C extension?

Patch, Customization, and AddOn are Purpose parameters that define the extension type during 1C configuration extension creation. Selecting the appropriate purpose ensures the generated Configuration.xml conforms to the correct structural requirements for the specific extension modification type.

How do I generate a 1C configuration extension without a main role?

To generate a 1C configuration extension without a main role, use the NoRole option during the scaffolding process. This omits the Roles directory from the generated XML structure, suiting extension scenarios that do not require role-based access definitions.

Why does 1C configuration extension scaffolding fail if Configuration.xml already exists?

1C configuration extension scaffolding fails if Configuration.xml already exists to validate idempotency and prevent overwriting existing work. This safety mechanism ensures that the deterministic XML generation process does not corrupt or duplicate an established extension structure.

Do I need PowerShell to generate 1C configuration extension XML files?

Yes, you need PowerShell to run the script that generates 1C configuration extension XML files. The scaffolding tool executes via powershell.exe using parameters like Name, ConfigPath, and OutputDir to deterministically produce the required Configuration.xml and language files.