cfe-borrow

Borrow 1C configuration objects into extensions with XML metadata.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Framework --skill cfe-borrow-alex1980alex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cfe-borrow
Source: https://github.com/Alex1980Alex/1C-Framework/tree/main/external/cc-1c-skills/.claude/skills/cfe-borrow
Command: npx skills add https://github.com/Alex1980Alex/1C-Framework --skill cfe-borrow-alex1980alex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) components.

What problem does it solve?

This Skill automates borrowing existing 1C configuration objects into an extension so you can safely customize standard metadata without rebuilding objects from scratch.

Core Features & Use Cases

  • Object Borrowing: Adopts catalogs, documents, enums, common modules, registers, and other 1C metadata types into a CFE extension.
  • Form Borrowing: Copies managed forms and registers them under the parent object, with optional main-attribute borrowing for editable form data paths.
  • Dependency Preservation: Automatically handles related common pictures and style items referenced by borrowed forms to keep the extension consistent.
  • Use Case: Use it when you need to intercept an existing method, change a standard form, or add a new attribute to a borrowed object and then expose it on the extension form.

Quick Start

Tell the assistant to borrow the required 1C object from the source configuration into your extension and, if needed, include the form and main attributes for later editing.

Frequently Asked Questions about cfe-borrow

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

FAQPage Schema
How do I borrow 1C configuration objects into an extension safely?

Borrowing 1C configuration objects into an extension requires validating object syntax from source Configuration.xml paths and generating adopted XML metadata. This preserves metadata consistency while supporting catalogs, documents, enums, and common modules for extension workflows like method interception.

Can I copy managed forms when borrowing 1C objects into an extension?

Copying managed forms during 1C object borrowing is supported. The process registers borrowed forms under the parent object and optionally includes main-attribute borrowing, enabling editable form data paths for later modification directly within the extension.

What 1C metadata types can I adopt into a CFE extension?

You can adopt catalogs, documents, enums, common modules, and registers into a CFE extension. The borrowing process generates adopted XML metadata with child-object registration, preserving dependency consistency for related common pictures and style items referenced by forms.

Do I need lxml to adopt 1C configuration objects into extensions?

Yes, lxml is required as a dependency to process XML metadata when adopting 1C configuration objects into extensions. The tool parses source and extension Configuration.xml paths, validates object syntax, and generates adopted XML metadata using this library.

How do I add new attributes to existing 1C objects in an extension?

To add new attributes to existing 1C objects, borrow the object and its main attributes into the extension first. The generated XML metadata registers the parent object and enables form changes, allowing you to expose new attributes on the extension form.

What limitations exist when borrowing 1C forms with common pictures and style items?

When borrowing 1C forms, related common pictures and style items are automatically handled to maintain extension consistency. However, you must provide valid source and extension Configuration.xml paths, as invalid object syntax will fail validation during the borrowing process.