SuperAPI AI Directory

subsystem-validate

Coding & development

View repository

Updated 10-15 17:18

About this skill

/subsystem-validate — 1C subsystem validation

Checks the structural correctness of a subsystem's XML file from a configuration export.

Parameters and command

Parameter Description
SubsystemPath Path to the subsystem's XML file
MaxErrors Maximum errors before stopping (default 30)
OutFile Write the result to a file
powershell.exe -NoProfile -File '.claude/skills/subsystem-validate/scripts/subsystem-validate.ps1' -SubsystemPath '<путь>'

Checks (13)

  1. XML well-formedness + root structure (MetaDataObject/Subsystem)
  2. Properties — 9 mandatory properties
  3. Name — non-empty, valid identifier
  4. Synonym — non-empty (at least one v8:item)
  5. Boolean properties — contain true/false
  6. Content — xr:Item format, xsi:type
  7. Content — no duplicates
  8. ChildObjects — elements are non-empty
  9. ChildObjects — no duplicates
  10. ChildObjects → files exist
  11. CommandInterface.xml — well-formedness
  12. Picture — reference format
  13. UseOneCommand=true → exactly 1 element in Content