framework/skills/tool-usage/platform-data/xml-generation/config-operations/SKILL.md
xml-gen Configuration.xml: свойства и ChildObjects
npx skillsauth add steelmorgan/1c-agent-based-dev-framework config-operationsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Триггер | Действие |
|---------|----------|
| Создать новую конфигурацию | config init --name <Name> <output_dir> |
| Посмотреть состав конфигурации | config info <configPath> |
| Изменить свойство конфигурации | config edit <configPath> --op modify-property --value "PropName=Value" |
| Добавить/удалить объект из ChildObjects | config edit <configPath> --op add-child --value "Type.Name" |
| Проверить Configuration.xml | config validate <configPath> |
xml-gen config init --name <Name> [--compat <Version>] <output_dir>
Результат: Configuration.xml + Languages/Русский.xml + ConfigDumpInfo.xml + заглушки модулей.
xml-gen config info [--mode brief|overview|full] <configPath>
brief — однострочная сводка; overview — свойства + счётчики объектов; full — все свойства и объекты.
xml-gen config edit <configPath> --op <operation> --value <value>
Операции:
modify-property — --value "CompatibilityMode=Version8_3_24"add-childObject — --value "Catalog.Товары". Guard: файл объекта (Catalogs/Товары.xml) должен существовать, иначе throw. --no-file-check отключает guard.remove-childObject — --value "Catalog.Товары"add-defaultRole / remove-defaultRole — --value "ОсновнаяРоль"set-defaultRoles — заменить список: --value "Роль1 ;; Роль2"10 проверок: структура XML, namespace, UUID, InternalInfo (7 ClassId), Properties, enum-значения (11 свойств), ChildObjects (порядок 44 типов, дубликаты), DefaultLanguage, файлы языков, каталоги объектов.
xml-gen config validate <configPath>
Конфигурация 1С требует строгий порядок типов в ChildObjects:
Language → Subsystem → StyleItem → Style → CommonPicture → SessionParameter → Role → CommonTemplate → FilterCriterion → CommonModule → CommonAttribute → ExchangePlan → XDTOPackage → WebService → HTTPService → WSReference → EventSubscription → ScheduledJob → SettingsStorage → FunctionalOption → FunctionalOptionsParameter → DefinedType → CommonCommand → CommandGroup → Constant → CommonForm → Catalog → Document → DocumentNumerator → Sequence → DocumentJournal → Enum → Report → DataProcessor → InformationRegister → AccumulationRegister → ChartOfCharacteristicTypes → ChartOfAccounts → AccountingRegister → ChartOfCalculationTypes → CalculationRegister → BusinessProcess → Task → IntegrationService
development
1C server maintenance webhooks: container restart and external component cache cleanup
development
Interactive DAP debugging of a single BSL procedure
tools
Rules for using RLM tools for project search and navigation in 1C/BSL
development
Creates web applications and routes on Winow (a web server on OneScript and Autumn). Use when working with a web server on OneScript, routing, or Winow controllers.