I
interface-validate
About interface-validate
interface-validate is a skill for checking CommandInterface.xml structure, section ordering, command link formats, and duplicates.
Key features
- 01Checks the root element and allowed sections
- 02Validates section order and command link formats
- 03Detects duplicate entries
- 04Supports detailed output and an error limit
- 05Writes results to a UTF-8 BOM file
Use cases
- 01Validate a configuration's CommandInterface.xml
- 02Save validation results for later review
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nikolay-shirokov/ cc-1c-skills --skill interface-validateAfter installing, type/interface-validatein Claude Code to confirm it loaded.
Bundled filesscripts/interface-validate.ps1scripts/interface-validate.py
Details
From the project README/interface-validate — валидация CommandInterface.xml
Проверяет XML командного интерфейса на структурные ошибки: корневой элемент, допустимые секции, порядок, формат ссылок на команды, дубликаты.
Параметры
| Параметр | Обяз. | Умолч. | Описание |
|---|---|---|---|
| CIPath | да | — | Путь к CommandInterface.xml |
| Detailed | нет | — | Подробный вывод (все проверки, включая успешные) |
| MaxErrors | нет | 30 | Остановиться после N ошибок |
| OutFile | нет | — | Записать результат в файл (UTF-8 BOM) |
Команда
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"
Comments
Markdown supported