About epf-validate
epf-validate is a 1C development skill that checks the structure of XML sources for external processing objects and reports. It covers metadata, child objects, attributes, tabular sections, unique names, and the presence of form and template files.
Key features
- 01Check root structure and InternalInfo
- 02Validate properties, child objects, and tabular sections
- 03Check name uniqueness
- 04Check for form and template files
- 05Configure detailed output and error limits
Use cases
- 01Validate external processing XML sources
- 02Check external report structure
- 03Find missing files and duplicate names before building
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nikolay-shirokov/ cc-1c-skills --skill epf-validateAfter installing, type/epf-validatein Claude Code to confirm it loaded.
Bundled filesscripts/epf-validate.ps1scripts/epf-validate.py
Details
From the project README/epf-validate — валидация внешней обработки (EPF)
Проверяет структурную корректность XML-исходников внешней обработки: корневую структуру, InternalInfo, свойства, ChildObjects, реквизиты, табличные части, уникальность имён, наличие файлов форм и макетов. Также работает для внешних отчётов (ERF).
Проверяется XML. Синтаксис модулей проверяет сборка: /epf-build, /erf-build.
Параметры
| Параметр | Обяз. | Умолч. | Описание |
|---|---|---|---|
| ObjectPath | да | — | Путь к корневому XML или каталогу обработки |
| Detailed | нет | — | Подробный вывод (все проверки, включая успешные) |
| MaxErrors | нет | 30 | Остановиться после N ошибок |
| OutFile | нет | — | Записать результат в файл (UTF-8 BOM) |
Команда
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/epf-validate.ps1" -ObjectPath "src/МояОбработка"
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/epf-validate.ps1" -ObjectPath "src/МояОбработка/МояОбработка.xml"
Comments
Markdown supported