Skip to main content
skill CX Codex

erf-validate — Claude Code skill: ERF validation and setup

Checks the XML structure of a 1C external report after it is created or changed. Useful before building the report.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skills
Open on GitHub

What erf-validate does

This skill validates a 1C external report (ERF) at the XML level. It checks the root layout, InternalInfo, properties such as MainDataCompositionSchema, child objects, attributes, and tabular sections. It also looks for duplicate names and missing form or template files.

The skill runs the shared epf-validate script and identifies the item as an ExternalReport. You can pass either the report directory or its root XML file, request detailed output, and set an error limit. Module syntax is outside this check; use /epf-build or /erf-build for that.

Without /erf-build or /epf-build, module syntax errors will not be found by this skill.

What it helps with

  • validate an ERF report structure
  • inspect properties and InternalInfo
  • check attributes and tabular sections
  • find duplicate names or missing report files

Example prompts for the agent

  • Run /erf-validate <ObjectPath> to validate the external report at <ObjectPath>.
  • Request the full check output with /erf-validate <ObjectPath> -Detailed.
  • Stop after 30 errors with /erf-validate <ObjectPath> -MaxErrors 30.

How to install erf-validate

1Plugin marketplace

/plugin marketplace add Nikolay-Shirokov/cc-1c-skills
/plugin install 1c-skills@cc-1c-skills

This installs the whole 1c-skills plugin with all its skills

2Skills CLI (Vercel)

npx skills add Nikolay-Shirokov/cc-1c-skills --skill erf-validate -a claude-code

3Manually: put the files in place

~/.claude/skills/erf-validate/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/erf-validate/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about erf-validate

How do I install erf-validate in Claude Code?

Add the marketplace with /plugin marketplace add Nikolay-Shirokov/cc-1c-skills, then install the plugin with /plugin install 1c-skills@cc-1c-skills.

What does erf-validate do?

It checks the XML structure of a 1C external report, including properties, child objects, attributes, tabular sections, forms, and templates.

Does erf-validate check module syntax?

No. It validates XML; module syntax is checked during a build with /epf-build or /erf-build.

Source text

SKILL.md · MIT
---
name: erf-validate
description: Валидация внешнего отчёта 1С (ERF). Используй после создания или модификации отчёта для проверки корректности
argument-hint: <ObjectPath> [-Detailed] [-MaxErrors 30]
allowed-tools:
  - Bash
  - Read
  - Glob
---

# /erf-validate — валидация внешнего отчёта (ERF)

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

Использует тот же скрипт, что и `/epf-validate` — автоопределение по типу элемента (ExternalReport).

Проверяется XML. Синтаксис модулей проверяет сборка: `/epf-build`, `/erf-build`.

## Параметры

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

## Команда

```powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/../epf-validate/scripts/epf-validate.ps1" -ObjectPath "src/МойОтчёт"
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/../epf-validate/scripts/epf-validate.ps1" -ObjectPath "src/МойОтчёт/МойОтчёт.xml"
```

© Nikolay Shirokov · MIT · Nikolay-Shirokov/cc-1c-skills

Similar skills

SKILL.md skills catalog →

From the same set59

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor