refactor(validate): auto-detect metadata in role-validate, clean up SKILL.md

role-validate: remove MetadataPath param, auto-detect from RightsPath
(Roles/Name/Ext/Rights.xml → Roles/Name.xml). Always validate metadata
when file exists (was 7 checks, now 10). Deduplicate path computation.

SKILL.md: remove redundant auto-resolve notes (placeholder already shows
directory path), fix role-validate examples, replace mxl-validate
ProcessorName/TemplateName with concrete path examples.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-03-09 19:07:16 +03:00
co-authored by Claude Opus 4.6
parent b2a2534b5a
commit ffdee04a95
8 changed files with 97 additions and 140 deletions
@@ -34,8 +34,6 @@ allowed-tools:
powershell.exe -NoProfile -File ".claude/skills/interface-validate/scripts/interface-validate.ps1" -CIPath "<Subsystems/ИмяПодсистемы>"
```
Можно указать директорию подсистемы — скрипт найдёт Ext/CommandInterface.xml автоматически.
## Проверки (13)
| # | Проверка | Серьёзность |