mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-31 00:37:47 +03:00
refactor(skills): unify database and platform resolution across all skills
Replace duplicated "Разрешение базы данных" sections in 8 db-* skills with a compact "Параметры подключения" block referencing .v8-project.json. Add Git branch-based database resolution priority (databases[].branches matched against current branch before falling back to default). Migrate epf-build, epf-dump, erf-build, erf-dump from V8_PATH/V8_BASE environment variables to .v8-project.json — registered databases are now preferred over empty build bases, solving XDTO errors with reference types. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
7003a46ad0
commit
01d02065a3
@@ -22,13 +22,10 @@ allowed-tools:
|
||||
/db-create — интерактивно
|
||||
```
|
||||
|
||||
## Разрешение параметров
|
||||
## Параметры подключения
|
||||
|
||||
1. Прочитай `.v8-project.json` для получения `v8path` (если есть)
|
||||
2. Если `v8path` не задан — автоопределение платформы:
|
||||
```powershell
|
||||
$v8 = Get-ChildItem "C:\Program Files\1cv8\*\bin\1cv8.exe" | Sort-Object -Descending | Select-Object -First 1
|
||||
```
|
||||
Прочитай `.v8-project.json` из корня проекта для `v8path` (путь к платформе).
|
||||
Если `v8path` не задан — автоопределение: `Get-ChildItem "C:\Program Files\1cv8\*\bin\1cv8.exe" | Sort -Desc | Select -First 1`
|
||||
|
||||
## Команды
|
||||
|
||||
|
||||
Reference in New Issue
Block a user