OpenParable
Skip to content
← Back to skills

Epf Validate

Testing & Quality
epf-validate

Epf Validate is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Валидация внешней обработки 1С (EPF). Используй после создания или модификации обработки для проверки корректности

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/quality/epf-validate/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/epf-validate, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

/epf-validate — валидация внешней обработки (EPF)

Проверяет структурную корректность XML-исходников внешней обработки: корневую структуру, InternalInfo, свойства, ChildObjects, реквизиты, табличные части, уникальность имён, наличие файлов форм и макетов. Также работает для внешних отчётов (ERF).

Параметры

ПараметрОбяз.Умолч.Описание
ObjectPathда—Путь к корневому XML или каталогу обработки
Detailedнет—Показывать [OK] для каждой проверки
MaxErrorsнет30Остановиться после N ошибок
OutFileнет—Записать результат в файл (UTF-8 BOM)

Команда

powershell.exe -NoProfile -File .claude/skills/epf-validate/scripts/epf-validate.ps1 -ObjectPath "src/МояОбработка"
powershell.exe -NoProfile -File .claude/skills/epf-validate/scripts/epf-validate.ps1 -ObjectPath "src/МояОбработка/МояОбработка.xml"

Проверки

#ПроверкаСерьёзность
1Root structure: MetaDataObject/ExternalDataProcessorERROR
2InternalInfo: ClassId, ContainedObject, GeneratedTypeERROR / WARN
3Properties: Name (identifier), SynonymERROR / WARN
4ChildObjects: допустимые типы, порядокERROR / WARN
5Cross-references: DefaultForm → Form, AuxiliaryFormERROR / WARN
6Attributes: UUID, Name, TypeERROR
7TabularSections: UUID, Name, GeneratedType, AttributesERROR / WARN
8Уникальность имён (Attribute, TS, Form, Template, Command)ERROR
9Файлы: формы (.xml + Ext/Form.xml), макетыERROR
10Дескрипторы форм: корневая структура, uuid, Name, FormTypeERROR / WARN

Exit code: 0 = OK, 1 = есть ошибки. По умолчанию краткий вывод. -Detailed для поштучной детализации.