db-create
Создание информационной базы 1С. Используй когда нужно создать базу, новую ИБ, пустую базу
How do I install this agent skill?
npx skills add https://github.com/nikolay-shirokov/cc-1c-skills --skill db-createIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill facilitates the creation of 1C information bases by executing platform binaries via PowerShell and Python scripts. It includes a technical helper in the PowerShell script that compiles C# code at runtime to manage process handles and prevent execution hangs. Additionally, the skill reads configuration data from the user's workspace, which is a standard surface for indirect prompt injection.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
/db-create — Создание информационной базы
Создаёт новую информационную базу 1С (файловую или серверную) и предлагает зарегистрировать в .v8-project.json.
Usage
/db-create <path> — файловая база по указанному пути
/db-create <server>/<name> — серверная база
/db-create — интерактивно
Параметры подключения
Прочитай .v8-project.json из корня проекта. Платформа — v8path записи создаваемой базы,
если она уже в реестре, иначе корневой v8path. Не задан ни там, ни там — -V8Path не передавай.
После создания базы предложи зарегистрировать через /db-list add.
Команда
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/db-create.ps1" <параметры>
Параметры скрипта
| Параметр | Обязательный | Описание |
|---|---|---|
-V8Path <путь> | нет | Каталог bin платформы, или полный путь к 1cv8.exe / ibcmd.exe |
-InfoBasePath <путь> | * | Путь к файловой базе |
-InfoBaseServer <сервер> | * | Сервер 1С (для серверной базы) |
-InfoBaseRef <имя> | * | Имя базы на сервере |
-UseTemplate <файл> | нет | Создать из шаблона (.cf или .dt) |
-AddToList | нет | Добавить в список баз 1С |
-ListName <имя> | нет | Имя базы в списке |
-AdditionalV8Arguments <список> | нет | Доп. аргументы запуска 1cv8.exe через запятую, напр. /UseHwLicenses+ |
-AdditionalIbcmdArguments <список> | нет | Доп. аргументы ibcmd через запятую, в форме --ключ=значение |
*— нужен либо-InfoBasePath, либо пара-InfoBaseServer+-InfoBaseRef
После создания
Предложи зарегистрировать базу в .v8-project.json (через /db-list add)
3. Если указан шаблон /UseTemplate — предупреди что конфигурация будет загружена из шаблона
Примеры
# Создать файловую базу
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/db-create.ps1" -InfoBasePath "C:\Bases\NewDB"
# Создать серверную базу
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/db-create.ps1" -InfoBaseServer "srv01" -InfoBaseRef "MyApp_Test"
# Создать из шаблона CF
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/db-create.ps1" -InfoBasePath "C:\Bases\NewDB" -UseTemplate "C:\Templates\config.cf"
# Создать и добавить в список баз
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/db-create.ps1" -InfoBasePath "C:\Bases\NewDB" -AddToList -ListName "Новая база"
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/nikolay-shirokov/cc-1c-skills/db-create">View db-create on skillZs</a>