erf-expert
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "erf-expert" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5c5eaaaa574e931b683be4302f854eab349c759eba301751239626e797d0f404. Verify the upstream source and version against https://github.com/Arman-Kudaibergenov/1c-ai-development-kit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Used for all operations related to 1C external reports (ERF): create (init), build, and dump. Should also be invoked when handling ERF files and their source code. Must not be used for external processes (EPF) — use epf-expert; use skd-edit for report data composition components (СКД); use form-add for forms.
Introduction source: third_party · Arman-Kudaibergenov · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Единый скилл для всех операций с внешними отчётами ERF. Выбери нужный режим:
- Testing
- Not tested
Browse files
Frontmatter
name: erf-expert
description: >
Этот скилл MUST быть вызван для всех операций с внешними отчётами 1С (ERF):
создание (init), сборка (build), разборка (dump).
SHOULD также вызывать при любой работе с ERF-файлами и их исходниками.
Do NOT использовать для внешних обработок (EPF) — используй epf-expert;
для СКД внутри отчёта — используй skd-edit; для форм — form-add.
argument-hint: "<mode> [args...] # modes: init|build|dump"
allowed-tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep/erf-expert — Внешние отчёты 1С (ERF)
Единый скилл для всех операций с внешними отчётами ERF. Выбери нужный режим:
| Режим | Что делает |
|---|---|
init |
Создать новый пустой отчёт (scaffold XML) |
build |
Собрать ERF из XML-исходников |
dump |
Разобрать ERF в XML-исходники |
Режим: init — создание отчёта
Генерирует минимальный набор XML-исходников для внешнего отчёта (ERF) 1С.
Usage
/erf-expert init <Name> [Synonym] [SrcDir] [--with-skd]
| Параметр | Обязательный | По умолчанию | Описание |
|---|---|---|---|
| Name | да | — | Имя отчёта |
| Synonym | нет | = Name | Синоним (отображаемое имя) |
| SrcDir | нет | src |
Каталог исходников |
| --WithSKD | нет | — | Создать пустую СКД и привязать к MainDataCompositionSchema |
Команда
powershell.exe -NoProfile -File .claude/skills/erf-expert/scripts/erf-init.ps1 -Name "<Name>" [-Synonym "<Synonym>"] [-SrcDir "<SrcDir>"] [-WithSKD]
Что создаётся
<SrcDir>/
├── <Name>.xml # Корневой файл метаданных (4 UUID)
└── <Name>/
└── Ext/
└── ObjectModule.bsl # Модуль объекта с 3 регионами
При --WithSKD дополнительно:
<SrcDir>/<Name>/
Templates/
├── ОсновнаяСхемаКомпоновкиДанных.xml
└── ОсновнаяСхемаКомпоновкиДанных/Ext/Template.xml # Пустая СКД
- Корневой XML содержит
MetaDataObject/ExternalReport - При
--WithSKD:MainDataCompositionSchemaзаполняется,ChildObjectsсодержит<Template> - ClassId фиксирован:
e41aff26-25cf-4bb6-b6c1-3f478a75f374 - Файлы создаются в UTF-8 с BOM
Дальнейшие шаги
- Добавить форму:
/form-add - Добавить макет:
/mxl-expert template-add - Редактировать СКД:
/skd-edit - Добавить справку:
/help-add - Собрать ERF:
/erf-expert build
Режим: build — сборка ERF
Собирает ERF файл из XML-исходников с помощью платформы 1С.
Usage
/erf-expert build <Name> [SrcDir] [OutDir]
| Параметр | Обязательный | По умолчанию | Описание |
|---|---|---|---|
| Name | да | — | Имя объекта (имя корневого XML) |
| SrcDir | нет | src |
Каталог исходников |
| OutDir | нет | build |
Каталог для результата |
Параметры подключения
Прочитай .v8-project.json из корня проекта. Возьми v8path и разреши базу:
- Если пользователь указал параметры (путь, сервер) — используй напрямую
- Если указал базу по имени — ищи в
.v8-project.json - Если не указал — сопоставь ветку Git с
databases[].branches - Если ветка не совпала — используй
default - Если
.v8-project.jsonнет — создай пустую ИБ в./base
Если v8path не задан: Get-ChildItem "C:\Program Files\1cv8\*\bin\1cv8.exe" | Sort -Desc | Select -First 1
Команда
powershell.exe -NoProfile -File .claude/skills/erf-expert/scripts/erf-build.ps1 -InfoBasePath "<путь>" -SourceFile "src\<Name>.xml" -OutputFile "build\<Name>.erf"
| Параметр | Обязательный | Описание |
|---|---|---|
-V8Path <путь> |
нет | Каталог bin платформы |
-InfoBasePath <путь> |
* | Файловая база |
-InfoBaseServer <сервер> |
* | Сервер 1С |
-InfoBaseRef <имя> |
* | Имя базы на сервере |
-UserName <имя> |
нет | Пользователь |
-Password <пароль> |
нет | Пароль |
-SourceFile <путь> |
да | Корневой XML исходников |
-OutputFile <путь> |
да | Выходной ERF файл |
*— нужен либо-InfoBasePath, либо пара-InfoBaseServer+-InfoBaseRef
Режим: dump — разборка ERF
Разбирает ERF файл в XML-исходники с помощью платформы 1С (иерархический формат).
Usage
/erf-expert dump <File> [OutDir]
| Параметр | Обязательный | По умолчанию | Описание |
|---|---|---|---|
| File | да | — | Путь к ERF файлу |
| OutDir | нет | src |
Каталог для выгрузки исходников |
Параметры подключения
Аналогично режиму build — разрешение базы через .v8-project.json.
Команда
powershell.exe -NoProfile -File .claude/skills/erf-expert/scripts/erf-dump.ps1 -InfoBasePath "<путь>" -InputFile "<файл>.erf" -OutputDir "src"
| Параметр | Обязательный | Описание |
|---|---|---|
-V8Path <путь> |
нет | Каталог bin платформы |
-InfoBasePath <путь> |
* | Файловая база |
-InfoBaseServer <сервер> |
* | Сервер 1С |
-InfoBaseRef <имя> |
* | Имя базы на сервере |
-UserName <имя> |
нет | Пользователь |
-Password <пароль> |
нет | Пароль |
-InputFile <путь> |
да | Путь к ERF файлу |
-OutputDir <путь> |
да | Каталог для выгрузки |
-Format <формат> |
нет | Hierarchical (по умолч.) / Plain |
Структура результата (Hierarchical)
<OutDir>/
├── <Name>.xml
└── <Name>/
├── Ext/
│ └── ObjectModule.bsl
├── Forms/
│ ├── <FormName>.xml
│ └── <FormName>/Ext/Form.xml
└── Templates/
├── <TemplateName>.xml
└── <TemplateName>/Ext/Template.<ext>Version history
-
v1.2.0
GitHub ↗
Original release notes
## What's New ### Skills Catalog (SKILLS.md) - New `SKILLS.md` in project root listing all 52 project skills + 11 global skills - Organized by category: Configuration, Metadata, Database, Extensions, Forms, EPF/ERF, MXL, DCS, Subsystems/Roles, Web/Testing, Knowledge/Planning - Quick Reference table mapping common tasks to skill combinations ### Context Guard - New `scripts/context-monitor.ps1` — PostToolUse hook that estimates token usage and warns at 70%/85% - `.claude/settings.local.json` updated with PostToolUse hook configuration ### Session Management (3 new skills) - `/session-save` — save session state to `session-notes.md` - `/session-restore` — restore session and auto-continue from saved state - `/session-retro` — quick retrospective of session outcomes - `scripts/rotate-session.ps1` — open new terminal tab with fresh Claude session - `docs/guides/session-management.md` — setup guide and workflow reference ### Notes - No RLM dependency — all session state stored locally - `session-notes.md` added to `.gitignore`
-
v1.1.0
GitHub ↗
Original release notes
## Changes - **Skill consolidation**: 14 granular skills merged into 5 expert-* skills - epf-expert (replaces 6 EPF/ERF skills) - mxl-expert (replaces 3 MXL/template skills) - role-expert (replaces role-compile) - subsystem-expert (replaces 3 subsystem/interface skills) - inspect (replaces 7 *-info skills) - validate (replaces 11 *-validate skills) - Total skill count: 80 -> 52 (leaner, less overlap) - Docs: no changes Full skill list in .claude/skills/
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供完整的ERF开发工作流(init/build/dump)
- 针对1C生态特定需求,边界清晰
- 解决企业级开发者的实际痛点
Highlights
- 三种模式(init|build|dump)触发词清晰
- 明确排除EPF/SKD/Form场景并提供替代方案
- argument-hint提供完整的参数格式指导
Highlights
- 每种模式都有详细的Usage表格和参数说明
- 提供完整的端到端命令调用示例
- frontmatter完整且符合规范
Highlights
- PowerShell脚本路径清晰,工具来源明确
- 连接参数有多重fallback机制确保可靠性
- 自动查找1C平台路径降低用户配置负担
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.