epf-dump

$npx mdskill add SteelMorgan/1c-agent-based-dev-framework/epf-dump

Extract XML source code from EPF/ERF files for analysis and temporary modification.

  • Helps developers quickly access external processing or report source code for debugging or customization.
  • Integrates with Bash, Read, Glob, and Grep tools, and requires a 1C:Enterprise database connection.
  • Executes a Python script with specified input file, output directory, and database parameters for extraction.
  • Outputs extracted XML files to a designated directory for user or agent access.

SKILL.md

.github/skills/epf-dumpView on GitHub ↗
---
name: epf-dump
description: Разобрать EPF/ERF в XML-исходники. Используй, когда нужно быстро получить исходный код внешней обработки или отчета для анализа и временной модификации.
argument-hint: <EpfFile>
allowed-tools:
  - Bash
  - Read
  - Glob
  - Grep
---

# /epf-dump

Используй Python-скрипт из этой директории. В Codex/Linux не используй PowerShell-вариант из upstream.

## Команда

```bash
python3 scripts/epf-dump.py -InputFile "<epf>" -OutputDir "<out>" <параметры подключения>
```

## Параметры подключения

Для dump база обязательна. Без ИБ ссылочные типы теряются.

- файловая ИБ: `-InfoBasePath "<path>"`
- серверная ИБ: `-InfoBaseServer "<server>" -InfoBaseRef "<base>"`
- при необходимости: `-UserName "<user>" -Password "<pwd>"`
- `-V8Path` опционален; если не задан, скрипт ищет `1cv8` в `V8_PATH`, `PATH`, `/opt/1cv8/current/1cv8`

## Примеры

```bash
python3 scripts/epf-dump.py \
  -InfoBasePath "/path/to/ib" \
  -InputFile "build/MyProcessor.epf" \
  -OutputDir "tmp/epf-src"
```

```bash
python3 scripts/epf-dump.py \
  -InfoBaseServer "onec-infra" \
  -InfoBaseRef "dssl_drive_ai" \
  -UserName "AgentAI" \
  -Password "AgentAI" \
  -InputFile "/opt/onescript/2.0.0/lib/add/bddRunner.epf" \
  -OutputDir "epf-source/bddrunner"
```

More from SteelMorgan/1c-agent-based-dev-framework

SkillDescription
1c-ai-agent-cliCLI 1C BSL Agent Framework — tools/install.py (clone, install). Используй при клонировании репозитория, установке компонентов в проект, настройке IDE (Cursor, Claude Code, Windsurf, VS Code+Continue).
agent-debugПаттерн отладочных сообщений для 1С BSL. Используй, когда стандартная диагностика (event-log, скриншоты) не даёт понять фактическое поведение системы — нужно вставить временные точки логирования в код, запустить тест и проанализировать записи ЖР.
agent-developmentCreate custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific agents, configure code reviewers, debuggers, or domain-specific assistants with custom prompts.
agent-development-ext>
agent-git-workflowStandardizes git workflow for the AI agent in the sandbox devcontainer: work in agent/<task>-<yyyymmdd>, integrate via agent, never push to main/master, open PRs via GitHub CLI. Use when the user asks to create branches, push changes, open PRs, or follow this sandbox repo setup.
auto-skill-bootstrapDeterministic helper to inventory existing project skills, detect missing capability coverage, search skills.sh via Skills CLI, and (optionally) install missing skills under a trust policy. Uses skills-manifest.json + state.json to stay idempotent across changing requirements.
code-navigationНавигация по коду (Code Navigation). Навык учит агента **эффективно перемещаться по BSL-коду** с помощью LSP (Language Server Protocol).
config-operationsОперации с конфигурацией 1С (CF) — init, info, edit, validate. Используй при создании конфигурации, анализе структуры, изменении свойств и ChildObjects, валидации Configuration.xml.
epf-buildСобрать EPF/ERF из XML-исходников. Используй после внесения временных диагностических правок в разобранную обработку.
epf-operationsОперации с внешними обработками 1С (EPF) — создание, добавление форм и шаблонов. Используй при epf init, add-form, add-template, add-attribute, add-tabular-section.