Skip to main content
skill CX Codex

subsystem-validate — Claude Code skill: 1C subsystem validation

subsystem-validate is a Claude Code skill that checks the structure of 1C subsystem XML files from configuration exports and finds structural errors.

MIT 45 installs ★ 811 updated 2026-10-23

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-validate does

The skill calls subsystem-validate.ps1, a script that parses subsystem XML and validates its structure. You can set the error limit with -MaxErrors (30 by default) and get detailed output of all checks with the -Detailed flag.

Pass the subsystem file path as Subsystems/<name> or Subsystems/<name>.xml. The script returns a list of issues or confirms that the structure is valid.

Requires PowerShell and the CLAUDE_SKILL_DIR environment variable, which Claude Code marketplace sets up during installation. Without PowerShell the script will not run.

What it helps with

  • Check subsystem XML correctness after manual edits
  • Find structural errors in a 1C configuration export
  • Confirm a subsystem was created without violations
  • Validate a subsystem before committing to the repository

Example prompts for the agent

  • Check the Sales subsystem for errors
  • Validate the subsystem XML at Subsystems/Inventory.xml with detailed output
  • Run validation on Subsystems/Purchasing, stop after 10 errors

How to install subsystem-validate

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-validate -a claude-code

3Manually: put the files in place

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

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

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about subsystem-validate

How to install subsystem-validate in Claude Code?

Run /plugin marketplace add Nikolay-Shirokov/cc-1c-skills, then /plugin install 1c-skills@cc-1c-skills. The skill will be available after reload.

What does subsystem-validate do?

It runs a PowerShell script that checks the structural correctness of a 1C subsystem XML file from a configuration export and reports any errors found.

What does subsystem-validate need to work?

PowerShell and the CLAUDE_SKILL_DIR variable, which Claude Code sets automatically when you install the skill from the marketplace.

Source text

SKILL.md · MIT
---
name: subsystem-validate
description: Валидация подсистемы 1С. Используй после создания или модификации подсистемы для проверки корректности
argument-hint: <SubsystemPath> [-Detailed] [-MaxErrors 30]
allowed-tools:
  - Bash
  - Read
  - Glob
---

# /subsystem-validate — валидация подсистемы 1С

Проверяет структурную корректность XML-файла подсистемы из выгрузки конфигурации.

## Параметры

| Параметр      | Обяз. | Умолч. | Описание                                  |
|---------------|:-----:|---------|--------------------------------------------|
| SubsystemPath | да    | —       | Путь к XML-файлу подсистемы                |
| Detailed      | нет   | —       | Подробный вывод (все проверки, включая успешные) |
| MaxErrors     | нет   | 30      | Остановиться после N ошибок                |
| OutFile       | нет   | —       | Записать результат в файл                  |

## Команда

```powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/subsystem-validate.ps1" -SubsystemPath "Subsystems/Продажи"
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/subsystem-validate.ps1" -SubsystemPath "Subsystems/Продажи.xml"
```

© Nikolay Shirokov · MIT · Nikolay-Shirokov/cc-1c-skills

Similar skills

Everything for 1C →

From the same set81

The whole set →

Project sponsors

Companies that keep this analytics open