Agent skill
cf-edit
Точечное редактирование конфигурации 1С. Используй когда нужно изменить свойства конфигурации, добавить или удалить объект из состава, настроить роли по умолчанию
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/cf-edit
SKILL.md
/cf-edit — редактирование конфигурации 1С
Точечное редактирование Configuration.xml: свойства, состав ChildObjects, роли по умолчанию.
Параметры и команда
| Параметр | Описание |
|---|---|
ConfigPath |
Путь к Configuration.xml или каталогу выгрузки |
Operation |
Операция (см. таблицу) |
Value |
Значение для операции (batch через ;;) |
DefinitionFile |
JSON-файл с массивом операций |
NoValidate |
Пропустить авто-валидацию |
powershell.exe -NoProfile -File .claude/skills/cf-edit/scripts/cf-edit.ps1 -ConfigPath '<path>' -Operation modify-property -Value 'Version=1.0.0.1'
Операции
| Операция | Формат Value | Описание |
|---|---|---|
modify-property |
Ключ=Значение (batch ;;) |
Изменить свойство |
add-childObject |
Type.Name (batch ;;) |
Добавить объект в ChildObjects |
remove-childObject |
Type.Name (batch ;;) |
Удалить объект из ChildObjects |
add-defaultRole |
Role.Name или Name |
Добавить роль по умолчанию |
remove-defaultRole |
Role.Name или Name |
Удалить роль по умолчанию |
set-defaultRoles |
Имена через ;; |
Заменить список ролей по умолчанию |
Подробнее: reference.md в каталоге навыка.
Примеры
# Изменить версию и поставщика
... -ConfigPath test-tmp/cf -Operation modify-property -Value "Version=1.0.0.1 ;; Vendor=Фирма 1С"
# Добавить объекты
... -ConfigPath test-tmp/cf -Operation add-childObject -Value "Catalog.Товары ;; Document.Заказ"
# Удалить объект
... -ConfigPath test-tmp/cf -Operation remove-childObject -Value "Catalog.Устаревший"
# Роли по умолчанию
... -ConfigPath test-tmp/cf -Operation add-defaultRole -Value "ПолныеПрава"
... -ConfigPath test-tmp/cf -Operation set-defaultRoles -Value "ПолныеПрава ;; Администратор"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?