erf-dump
Extracts XML source code from 1C report (.erf) files.
Install
mkdir -p .claude/skills/erf-dump && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14608" && unzip -o skill.zip -d .claude/skills/erf-dump && rm skill.zipInstalls to .claude/skills/erf-dump
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Разобрать ERF-файл отчета 1С в XML-исходники. Используй когда пользователь просит разобрать, декомпилировать отчет, получить исходники из ERF файлаKey capabilities
- →Decompile 1C ERF report files into XML source code.
- →Use local 1C configuration data for proper decompilation.
- →Resolve database connection parameters from `.v8-project.json`.
- →Auto-detect `v8path` if not explicitly provided.
- →Offer to register unregistered databases after execution.
How it works
The skill uses a PowerShell script to decompile the ERF file, use 1C configuration data from `.v8-project.json` or provided connection parameters to ensure correct handling of linked types.
Inputs & outputs
When to use erf-dump
- →Decompiling 1C reports
- →Extracting report source code
- →Analyzing legacy 1C reports
About this skill
/erf-dump - Разборка отчета
Usage
/erf-dump <ErfFile> [OutDir]
| Параметр | Обязательный | По умолчанию | Описание |
|---|---|---|---|
| ErfFile | да | - | Путь к ERF-файлу |
| OutDir | нет | src | Каталог для выгрузки исходников |
Параметры подключения (обязательно)
Для разборки EPF/ERF требуется информационная база с конфигурацией. Без базы ссылочные типы безвозвратно теряются.
- Прочитай
.v8-project.jsonиз корня проекта. Возьмиv8pathи разреши базу: - Если пользователь указал параметры подключения (путь, сервер) - используй напрямую
- Если указал базу по имени - ищи по id / alias / name в
.v8-project.json - Если не указал - сопоставь текущую ветку Git с
databases[].branches - Если ветка не совпала - используй
default - Если
.v8-project.jsonнет или база не найдена - сообщи пользователю об ошибке. Для dump база обязательна: в пустой базе ссылочные типы (CatalogRef, DocumentRef и т.д.) безвозвратно сбрасываются в строки. Предложи указать базу или зарегистрировать через/db-list add.
Если v8path не задан - автоопределение: Get-ChildItem "C:\Program Files\1cv8\*\bin\1cv8.exe" | Sort -Desc | Select -First 1
Если использованная база не зарегистрирована - после выполнения предложи добавить через /db-list add.
Команда
Используй общий скрипт из epf-dump:
powershell.exe -NoProfile -File .claude/skills/epf-dump/scripts/epf-dump.ps1 <параметры>
Параметры скрипта
| Параметр | Обязательный | Описание |
|---|---|---|
-V8Path <путь> | нет | Каталог bin платформы (или полный путь к 1cv8.exe) |
-InfoBasePath <путь> | * | Файловая база |
-InfoBaseServer <сервер> | * | Сервер 1С (для серверной базы) |
-InfoBaseRef <имя> | * | Имя базы на сервере |
-UserName <имя> | нет | Имя пользователя |
-Password <пароль> | нет | Пароль |
-InputFile <путь> | да | Путь к ERF-файлу |
-OutputDir <путь> | да | Каталог для выгрузки исходников |
-Format <формат> | нет | Hierarchical (по умолч.) / Plain |
*- обязательно хотя бы одно подключение. Без базы скрипт завершится с ошибкой (dump в пустой базе безвозвратно теряет ссылочные типы)
Примеры
# Разборка отчета (файловая база)
powershell.exe -NoProfile -File .claude/skills/epf-dump/scripts/epf-dump.ps1 -InfoBasePath "C:\Bases\MyDB" -InputFile "build/МойОтчет.erf" -OutputDir "src"
# Серверная база
powershell.exe -NoProfile -File .claude/skills/epf-dump/scripts/epf-dump.ps1 -InfoBaseServer "srv01" -InfoBaseRef "MyDB" -UserName "Admin" -Password "secret" -InputFile "build/МойОтчет.erf" -OutputDir "src"
When not to use it
- →When the ERF file is not from 1C.
- →When XML source code is not the desired output.
- →When a 1C informational base with configuration is not available.
Limitations
- →The skill requires an informational base with configuration for proper decompilation.
- →The skill relies on the `.v8-project.json` file for connection parameters.
- →The skill uses a PowerShell script, implying a Windows environment.
How it compares
This workflow specifically targets 1C ERF files for decompilation into human-readable XML, preserving linked types by using an informational base, unlike generic file decompilers.
Compared to similar skills
erf-dump side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| erf-dump (this skill) | 0 | 3mo | No flags | Intermediate |
| sqlite-inspector | 5 | 9mo | Review | Intermediate |
| unity-editor-toolkit | 10 | 7mo | Review | Advanced |
| bullmq-specialist | 25 | 6mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
sqlite-inspector
mikopbx
Проверка консистентности данных в SQLite баз данных MikoPBX после операций REST API. Использовать при валидации результатов API, отладке проблем с данными, проверке связей внешних ключей или инспектировании CDR записей для тестирования.
unity-editor-toolkit
Dev-GOM
Automate and control Unity Editor with 500+ commands, real-time WebSocket communication, and SQLite integration for efficient game development.
bullmq-specialist
davila7
BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications. Use when: bullmq, bull queue, redis queue, background job, job queue.
redis-inspect
civitai
Inspect Redis cache keys, values, and TTLs for debugging. Supports both main cache and system cache. Use for debugging cache issues, checking cached values, and monitoring cache state. Read-only by default.
supabase-common-errors
jeremylongshore
Execute diagnose and fix Supabase common errors and exceptions. Use when encountering Supabase errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "supabase error", "fix supabase", "supabase not working", "debug supabase".
write-script-duckdb
windmill-labs
MUST use when writing DuckDB queries.