interface-validate — Claude Code skill: 1C validation
Checks a 1C command-interface XML file for structural problems. Use it after configuring a subsystem interface.
/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skillsWhat interface-validate does
This skill checks a 1C command-interface XML file for structural issues. It inspects the root element, allowed sections, section order, command references, and duplicates. The result helps catch malformed interface data before you continue working with the configuration.
Pass the required CIPath argument to select the file or directory to inspect. -Detailed enables successful checks in the output, -MaxErrors sets the error limit, and -OutFile writes the result as UTF-8 with BOM. The skill uses Bash, Read, and Glob, while the validation itself runs through interface-validate.ps1 in PowerShell.
Validation cannot start without a path to CommandInterface.xml or its containing directory.
What it helps with
- check the structure of CommandInterface.xml
- find duplicate interface commands
- verify XML section order
- detect invalid command references
- cap the number of reported errors
Example prompts for the agent
- Check
Subsystems/Sales/Ext/CommandInterface.xmland report its errors. - Run a detailed check of
CommandInterface.xmlwith-Detailed. - Validate
Subsystems/Salesand stop after-MaxErrors 10errors.
How to install interface-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 interface-validate -a claude-code3Manually: put the files in place
~/.claude/skills/interface-validate/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/interface-validate/
1Skills CLI (Vercel)
npx skills add Nikolay-Shirokov/cc-1c-skills --skill interface-validate -a codex2Manually: put the files in place
.agents/skills/interface-validate/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/interface-validate/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Nikolay-Shirokov/cc-1c-skills interface-validate2Manually: put the files in place
.github/skills/interface-validate/SKILL.mdPlatform CLI
gemini skills install https://github.com/Nikolay-Shirokov/cc-1c-skills --path .claude/skills/interface-validateManually: put the files in place
.devin/skills/interface-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 interface-validate
How do I install interface-validate in Claude Code?
In Claude Code, run /plugin marketplace add Nikolay-Shirokov/cc-1c-skills, then run /plugin install 1c-skills@cc-1c-skills.
What does interface-validate do?
It checks CommandInterface.xml for structural problems involving the root element, sections, ordering, command references, and duplicates.
What parameters does interface-validate support?
CIPath is required. Use -Detailed for expanded output, -MaxErrors to set an error cap, and -OutFile to save a UTF-8 BOM result file.
Source text
SKILL.md · MIT
---
name: interface-validate
description: Валидация командного интерфейса 1С. Используй после настройки командного интерфейса подсистемы для проверки корректности
argument-hint: <CIPath> [-Detailed] [-MaxErrors 30]
allowed-tools:
- Bash
- Read
- Glob
---
# /interface-validate — валидация CommandInterface.xml
Проверяет XML командного интерфейса на структурные ошибки: корневой элемент, допустимые секции, порядок, формат ссылок на команды, дубликаты.
## Параметры
| Параметр | Обяз. | Умолч. | Описание |
|-----------|:-----:|---------|-----------------------------------------|
| CIPath | да | — | Путь к CommandInterface.xml |
| Detailed | нет | — | Подробный вывод (все проверки, включая успешные) |
| MaxErrors | нет | 30 | Остановиться после N ошибок |
| OutFile | нет | — | Записать результат в файл (UTF-8 BOM) |
## Команда
```powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/interface-validate.ps1" -CIPath "Subsystems/Продажи"
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/interface-validate.ps1" -CIPath "Subsystems/Продажи/Ext/CommandInterface.xml"
```
© Nikolay Shirokov · MIT · Nikolay-Shirokov/cc-1c-skills