cf-edit

Edits 1C configuration roots to modify properties, manage ChildObjects, and set default roles.

41|5|Updated May 28, 2026
One-click install
npx skills add https://github.com/msrv-tech/skills --skill cf-edit-msrv-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cf-edit
Source: https://github.com/msrv-tech/skills/tree/main/cf-edit
Command: npx skills add https://github.com/msrv-tech/skills --skill cf-edit-msrv-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Это средство позволяет безопасно редактировать корень конфигурации 1С (Configuration.xml): менять свойства, управлять составом объектов и настраивать роли по умолчанию без ручного редактирования XML.

Core Features & Use Cases

  • Точечное редактирование свойств Configuration.xml, например Version, Vendor и т.д.
  • Управление объектами конфигурации: добавление/удаление элементов в секцию ChildObjects в canonical-порядке.
  • Управление DefaultRoles: добавление, удаление и замена списка ролей по умолчанию.
  • Поддержка пакетных изменений через DefinitionFile или последовательность операций, плюс авто-валидация после сохранения.
  • Расширяемость: поддерживает сценарии восстановления и корректной вставки элементов с сохранением форматирования XML и структуры.

Quick Start

Запустите cf-edit с указанием пути к Configuration.xml и желаемой операцией, например modify-property для изменения Version и Vendor.

Frequently Asked Questions about cf-edit

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

FAQPage Schema
How do I modify properties like Version and Vendor in a 1C Configuration.xml file?

You can modify 1C configuration properties like Version and Vendor by applying targeted edits to the Configuration.xml root without manual XML editing, using batched or string-based operations to update specific values.

What is the best way to add or remove ChildObjects in a 1C configuration?

Managing ChildObjects in a 1C configuration requires modifying the ChildObjects section in canonical order, ensuring correct element insertion and structure preservation while adding or removing configuration objects.

Can I configure DefaultRoles for 1C configurations without manually editing XML?

Yes, you can configure DefaultRoles for 1C configurations without manual XML editing by adding, removing, and replacing the list of default roles directly within the Configuration.xml structure.

Does cf-edit support batch operations for 1C object management?

Yes, batch operations for 1C object management are supported through DefinitionFile or sequential operations, with optional auto-validation after saving to ensure configuration integrity.

Do I need lxml installed to edit 1C configuration XML files?

Yes, lxml is a required dependency for editing 1C configuration XML files, enabling parsing and structured manipulation of Configuration.xml while preserving original formatting.

Why should I use a script for 1C configuration editing instead of a text editor?

Using a script for 1C configuration editing prevents structural corruption from manual text editing by maintaining canonical XML ordering, preserving formatting, and supporting auto-validation for safe modifications.