OpenParable
Skip to content
← Back to skills

Subsystem Validate

Testing & Quality
subsystem-validate

Subsystem 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/subsystem-validate/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/subsystem-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.

/subsystem-validate — валидация подсистемы 1С

Проверяет структурную корректность XML-файла подсистемы из выгрузки конфигурации.

Параметры

ПараметрОбяз.Умолч.Описание
SubsystemPathда—Путь к XML-файлу подсистемы
Detailedнет—Показывать [OK] для каждой проверки
MaxErrorsнет30Остановиться после N ошибок
OutFileнет—Записать результат в файл

Команда

powershell.exe -NoProfile -File ".claude/skills/subsystem-validate/scripts/subsystem-validate.ps1" -SubsystemPath "Subsystems/Продажи"
powershell.exe -NoProfile -File ".claude/skills/subsystem-validate/scripts/subsystem-validate.ps1" -SubsystemPath "Subsystems/Продажи.xml"

Проверки (13)

#ПроверкаСерьёзность
1XML well-formedness + root structure (MetaDataObject/Subsystem)ERROR
2Properties — 9 обязательных свойствERROR
3Name — непустой, валидный идентификаторERROR
4Synonym — непустой (хотя бы один v8:item)WARN
5Булевы свойства — содержат true/falseERROR
6Content — формат xr:Item, xsi:typeERROR
7Content — нет дубликатовWARN
8ChildObjects — элементы непустыеERROR
9ChildObjects — нет дубликатовWARN
10ChildObjects → файлы существуютWARN
11CommandInterface.xml — well-formednessERROR
12Picture — формат ссылкиERROR
13UseOneCommand=true → ровно 1 элемент в ContentERROR

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