OpenParable
Skip to content
← Back to skills

Cf Validate

Testing & Quality
cf-validate

Cf Validate is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Валидация конфигурации 1С. Используй после создания или модификации конфигурации для проверки корректности

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/quality/cf-validate/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cf-validate, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

/cf-validate — валидация конфигурации 1С

Проверяет Configuration.xml на структурные ошибки: XML well-formedness, InternalInfo, свойства, enum-значения, ChildObjects, DefaultLanguage, файлы языков, каталоги объектов.

Параметры

ПараметрОбяз.Умолч.Описание
ConfigPathда—Путь к Configuration.xml или каталогу выгрузки
Detailedнет—Показывать [OK] для каждой проверки
MaxErrorsнет30Остановиться после N ошибок
OutFileнет—Записать результат в файл (UTF-8 BOM)

Команда

powershell.exe -NoProfile -File .claude/skills/cf-validate/scripts/cf-validate.ps1 -ConfigPath "upload/cfempty"
powershell.exe -NoProfile -File .claude/skills/cf-validate/scripts/cf-validate.ps1 -ConfigPath "upload/cfempty/Configuration.xml"

Проверки

#ПроверкаСерьёзность
1XML well-formedness, MetaDataObject/Configuration, version 2.17/2.20ERROR
2InternalInfo: 7 ContainedObject, валидные ClassId, уникальностьERROR
3Properties: Name непустой, Synonym, DefaultLanguage, DefaultRunModeERROR/WARN
4Properties: enum-значения (11 свойств)ERROR
5ChildObjects: валидные имена типов (44 типа), нет дубликатов, порядок типовERROR/WARN
6DefaultLanguage ссылается на существующий Language в ChildObjectsERROR
7Файлы языков Languages/.xml существуютWARN
8Каталоги объектов из ChildObjects существуют (spot-check)WARN

Exit code: 0 = OK, 1 = есть ошибки. По умолчанию краткий вывод. -Detailed для поштучной детализации.