Index of every page on this site: llms.txt
All skills
Run it yourself

Этот скилл MUST быть вызван когда пользователь просит загрузить конфигурацию из CF, восстановить из бэкапа CF. SHOULD также вызывать после получения нового CF-файла для обновления базы. Do NOT использовать для загрузки из XML — используй db-load-xml; для выгрузки CF — используй db-dump-cf.

Requires /db-update
Use this Skill: https://skilld.dev/gh/arman-kudaibergenov/1c-ai-development-kit/db-load-cf

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈125 tokens for metadata: the name and description. ≈959 when used: this file.

Description uses 3.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈303 characters, or 3.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

/db-load-cf — Загрузка конфигурации из CF-файла

Загружает конфигурацию из бинарного CF-файла в информационную базу.

Usage

/db-load-cf <input.cf> [database]
/db-load-cf config.cf dev

Внимание: загрузка CF полностью заменяет конфигурацию в базе. Перед выполнением запроси подтверждение у пользователя.

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

Прочитай .v8-project.json из корня проекта. Возьми v8path (путь к платформе) и разреши базу:

  1. Если пользователь указал параметры подключения (путь, сервер) — используй напрямую
  2. Если указал базу по имени — ищи по id / alias / name в .v8-project.json
  3. Если не указал — сопоставь текущую ветку Git с databases[].branches
  4. Если ветка не совпала — используй default Если v8path не задан — автоопределение: Get-ChildItem "C:\Program Files\1cv8\*\bin\1cv8.exe" | Sort -Desc | Select -First 1 Если файла нет — предложи /db-list add. Если использованная база не зарегистрирована — после выполнения предложи добавить через /db-list add.

Команда

powershell.exe -NoProfile -File .claude/skills/db-load-cf/scripts/db-load-cf.ps1 <параметры>

Параметры скрипта

Параметр Обязательный Описание
-V8Path <путь> нет Каталог bin платформы (или полный путь к 1cv8.exe)
-InfoBasePath <путь> * Файловая база
-InfoBaseServer <сервер> * Сервер 1С (для серверной базы)
-InfoBaseRef <имя> * Имя базы на сервере
-UserName <имя> нет Имя пользователя
-Password <пароль> нет Пароль
-InputFile <путь> да Путь к CF-файлу
-Extension <имя> нет Загрузить как расширение
-AllExtensions нет Загрузить все расширения из архива

* — нужен либо -InfoBasePath, либо пара -InfoBaseServer + -InfoBaseRef

Коды возврата

Код Описание
0 Успешно
1 Ошибка (см. лог)

После выполнения

  1. Прочитай лог-файл и покажи результат
  2. Предложи выполнить /db-update — загрузка CF обновляет только «основную» конфигурацию конфигуратора, для применения к БД нужен /UpdateDBCfg

Примеры

# Файловая база
powershell.exe -NoProfile -File .claude/skills/db-load-cf/scripts/db-load-cf.ps1 -InfoBasePath "C:\Bases\MyDB" -UserName "Admin" -InputFile "C:\backup\config.cf"

# Серверная база
powershell.exe -NoProfile -File .claude/skills/db-load-cf/scripts/db-load-cf.ps1 -InfoBaseServer "srv01" -InfoBaseRef "MyApp_Test" -UserName "Admin" -Password "secret" -InputFile "config.cf"

# Загрузка расширения
powershell.exe -NoProfile -File .claude/skills/db-load-cf/scripts/db-load-cf.ps1 -InfoBasePath "C:\Bases\MyDB" -UserName "Admin" -InputFile "ext.cfe" -Extension "МоёРасширение"

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning23d4 checks · Risk SAFE
  • Gen Agent Trust Hub23d

    The skill is a developer utility for loading 1C:Enterprise configurations from binary files. It automates platform commands using local PowerShell scripts and follows standard practices for command-line argument handling without performing any unauthorized network or system operations.

  • Socket23d

    No alerts

  • Snyk23d

    Risk: LOW · No issues

  • Runlayer8mo

    2/2 files flagged

Signed by skilld at 92d389e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 9 months ago
What it can do
Runs commands Reads files
argument-hint
<input.cf> [database]
All 4 allowed tools
BashReadGlobAskUserQuestion

README badge

README badge for arman-kudaibergenov/1c-ai-development-kit/db-load-cf