Files
mimocode-1c-skills/.mimocode/skills/cfe-validate/SKILL.md
T

28 lines
977 B
Markdown

---
name: cfe-validate
description: Use when validating 1C extension XML files before building. Catches structural errors like missing quotes, broken tags, wrong types, duplicate IDs that cause ibcmd import failures.
---
# CFE Validation
Validate extension XML files before building to catch errors early.
## When to use
- After modifying DataProcessor XML, Form.xml, or Configuration.xml
- Before running `python3 /netfolder-51/CMSCH/Extensions/build_cfe.py`
- When ibcmd import fails with errors
## Quick validation
```bash
python3 .claude/skills/cfe-validate/scripts/cfe-validate.py \
-ExtensionPath /netfolder-51/CMSCH/Extensions/ЗагрузкаДанныхИзExcel \
-Detailed
```
## Key rules
- Extension attributes: only Number, xs:string, xs:decimal (NO CatalogRef unless borrowed)
- UUIDs must be unique across entire XML
- Button/Command/Attribute IDs can overlap between sections, NOT within same section
- ConfigDumpInfo metadata must match all objects