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)
- XML well-formedness + root structure (MetaDataObject/Subsystem)
- Properties — 9 mandatory properties
- Name — non-empty, valid identifier
- Synonym — non-empty (at least one v8:item)
- Boolean properties — contain true/false
- Content — xr:Item format, xsi:type
- Content — no duplicates
- ChildObjects — elements are non-empty
- ChildObjects — no duplicates
- ChildObjects → files exist
- CommandInterface.xml — well-formedness
- Picture — reference format
- UseOneCommand=true → exactly 1 element in Content