About cf-validate
cf-validate is a skill that checks a 1C configuration export for structural errors. It validates XML structure, configuration properties, language files, and object directories.
Key features
- 01XML well-formedness checks
- 02Validation of properties and enum values
- 03Checks for ChildObjects and DefaultLanguage
- 04Language file and object directory checks
- 05Detailed output and error limit options
Use cases
- 01Finding structural errors in a configuration export
- 02Reviewing all checks, including successful ones
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nikolay-shirokov/ cc-1c-skills --skill cf-validateAfter installing, type/cf-validatein Claude Code to confirm it loaded.
Bundled filesscripts/cf-validate.ps1scripts/cf-validate.py
Details
From the project README/cf-validate — валидация конфигурации 1С
Проверяет Configuration.xml на структурные ошибки: XML well-formedness, InternalInfo, свойства, enum-значения, ChildObjects, DefaultLanguage, файлы языков, каталоги объектов.
Параметры
| Параметр | Обяз. | Умолч. | Описание |
|---|---|---|---|
| ConfigPath | да | — | Путь к Configuration.xml или каталогу выгрузки |
| Detailed | нет | — | Подробный вывод (все проверки, включая успешные) |
| MaxErrors | нет | 30 | Остановиться после N ошибок |
| OutFile | нет | — | Записать результат в файл (UTF-8 BOM) |
Команда
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/cf-validate.ps1" -ConfigPath "upload/cfempty"
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/cf-validate.ps1" -ConfigPath "upload/cfempty/Configuration.xml"
Comments
Markdown supported