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
/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skillsWhat 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.xmlwith 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-skillsThis 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-code3Manually: put the files in place
~/.claude/skills/subsystem-validate/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/subsystem-validate/
1Skills CLI (Vercel)
npx skills add Nikolay-Shirokov/cc-1c-skills --skill subsystem-validate -a codex2Manually: put the files in place
.agents/skills/subsystem-validate/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Nikolay-Shirokov/cc-1c-skills --skill subsystem-validate -a cursor2Manually: put the files in place
.cursor/skills/subsystem-validate/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Nikolay-Shirokov/cc-1c-skills .claude/skills/subsystem-validate2Manually: put the files in place
.github/skills/subsystem-validate/SKILL.md1Skills CLI (Vercel)
npx skills add Nikolay-Shirokov/cc-1c-skills --skill subsystem-validate -a gemini-cli2Platform CLI
gemini skills install https://github.com/Nikolay-Shirokov/cc-1c-skills --path .claude/skills/subsystem-validateManually: put the files in place
.devin/skills/subsystem-validate/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-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