mcpField
C
cf-validate

cf-validate

github.com/nikolay-shirokovTesting & quality74158 installsUpdated today
Repository

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

  1. 01XML well-formedness checks
  2. 02Validation of properties and enum values
  3. 03Checks for ChildObjects and DefaultLanguage
  4. 04Language file and object directory checks
  5. 05Detailed output and error limit options

Use cases

  1. 01Finding structural errors in a configuration export
  2. 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-validate

After 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