Skip to main content
skill CX Codex

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.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skills
Open on GitHub

What 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 Content entry
  • manage a child subsystem
  • change a command interface property
  • apply several edits from a JSON definition

Example prompts for the agent

  • Add Catalog.X to the subsystem stored at <path>.
  • Remove Document.Y from the Content section in <path>.
  • In <path>, add a child subsystem and set IncludeInCommandInterface to false.

How to install subsystem-edit

1Plugin marketplace

/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skills

This 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-code

3Manually: put the files in place

~/.claude/skills/subsystem-edit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/subsystem-edit/

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

Topics and platforms

SKILL.md skills catalog →

From the same set32

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor