subsystem-edit — Claude Code skill: what it does, how to install
This skill edits 1C subsystem XML files. Use it to change included objects, child subsystems, or subsystem properties.
/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skillsWhat subsystem-edit does
subsystem-edit makes targeted changes to an 1C subsystem XML file. It can add or remove entries from Content, update child subsystem entries in ChildObjects, and change properties such as Synonym, IncludeInCommandInterface, and UseOneCommand.
The skill accepts an XML path, one operation with a value, or a JSON definition containing several operations. Its implementation uses the PowerShell script subsystem-edit.ps1 and the Bash, Read, Write, and Glob tools. Automatic validation can be skipped with NoValidate.
The XML file path must be supplied through SubsystemPath, or the edit cannot run. The skill is available for Claude Code and Codex.
What it helps with
- add an object to a subsystem
- remove an obsolete
Contententry - manage a child subsystem
- change a command interface property
- apply several edits from a JSON definition
Example prompts for the agent
- Add
Catalog.Xto the subsystem stored at<path>. - Remove
Document.Yfrom theContentsection in<path>. - In
<path>, add a child subsystem and setIncludeInCommandInterfaceto false.
How to install subsystem-edit
1Plugin marketplace
/plugin marketplace add Nikolay-Shirokov/cc-1c-skills/plugin install 1c-skills@cc-1c-skillsThis installs the whole 1c-skills plugin with all its skills
2Skills CLI (Vercel)
npx skills add Nikolay-Shirokov/cc-1c-skills --skill subsystem-edit -a claude-code3Manually: put the files in place
~/.claude/skills/subsystem-edit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/subsystem-edit/
1Skills CLI (Vercel)
npx skills add Nikolay-Shirokov/cc-1c-skills --skill subsystem-edit -a codex2Manually: put the files in place
.agents/skills/subsystem-edit/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/subsystem-edit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Nikolay-Shirokov/cc-1c-skills subsystem-edit2Manually: put the files in place
.github/skills/subsystem-edit/SKILL.mdPlatform CLI
gemini skills install https://github.com/Nikolay-Shirokov/cc-1c-skills --path .claude/skills/subsystem-editManually: put the files in place
.devin/skills/subsystem-edit/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about subsystem-edit
How do I install subsystem-edit in Claude Code?
Add the marketplace with /plugin marketplace add Nikolay-Shirokov/cc-1c-skills, then install the skill with /plugin install 1c-skills@cc-1c-skills.
What does subsystem-edit do?
It makes focused edits to 1C subsystem XML, covering its contents, child subsystems, and properties.
Which operations does the skill support?
It supports adding and removing objects, adding and removing child subsystems, and changing properties with set-property.
Source text
SKILL.md · MIT
---
name: subsystem-edit
description: Точечное редактирование подсистемы 1С. Используй когда нужно добавить или удалить объекты из подсистемы, управлять дочерними подсистемами или изменить свойства
argument-hint: -SubsystemPath <path> -Operation <op> -Value <value>
allowed-tools:
- Bash
- Read
- Write
- Glob
---
# /subsystem-edit — редактирование подсистемы 1С
Точечное редактирование XML подсистемы: состав, дочерние подсистемы, свойства.
## Параметры и команда
| Параметр | Описание |
|----------|----------|
| `SubsystemPath` | Путь к XML-файлу подсистемы |
| `DefinitionFile` | JSON-файл с массивом операций |
| `Operation` | Одна операция (альтернатива DefinitionFile) |
| `Value` | Значение для операции |
| `NoValidate` | Пропустить авто-валидацию |
```powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/subsystem-edit.ps1" -SubsystemPath '<path>' -Operation add-content -Value 'Catalog.Товары'
```
## Операции
| Операция | Значение | Описание |
|----------|----------|----------|
| `add-content` | `"Catalog.X"` или `["Catalog.X","Document.Y"]` | Добавить объекты в Content |
| `remove-content` | `"Catalog.X"` или `["Catalog.X"]` | Удалить объекты из Content |
| `add-child` | `"ИмяПодсистемы"` | Добавить дочернюю подсистему в ChildObjects |
| `remove-child` | `"ИмяПодсистемы"` | Удалить дочернюю подсистему |
| `set-property` | `{"name":"prop","value":"val"}` | Изменить свойство (Synonym, IncludeInCommandInterface, UseOneCommand, etc.) |
## Примеры
```powershell
# Добавить объект в состав
... -SubsystemPath Subsystems/Продажи.xml -Operation add-content -Value "Document.Заказ"
# Добавить несколько объектов
... -SubsystemPath Subsystems/Продажи.xml -Operation add-content -Value '["Catalog.Товары","Report.Продажи"]'
# Удалить объект из состава
... -SubsystemPath Subsystems/Продажи.xml -Operation remove-content -Value "Report.Старый"
# Добавить дочернюю подсистему
... -SubsystemPath Subsystems/Продажи.xml -Operation add-child -Value "НоваяДочерняя"
# Изменить свойство
... -SubsystemPath Subsystems/Продажи.xml -Operation set-property -Value '{"name":"IncludeInCommandInterface","value":"false"}'
```
© Nikolay Shirokov · MIT · Nikolay-Shirokov/cc-1c-skills