feat(switch): добавить платформу Yandex Code Assistant (#22)

Code Assistant ищет навыки в .codeassistant/skills/ (приоритетнее .agents/).
Добавлен отдельный ключ codeassistant в реестр switch.py, пункт в
интерактивное меню, строка в таблицу README и две записи в матрицу
build-ports (powershell + python).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-06-14 14:07:24 +03:00
parent a38bb55bca
commit ae82412377
3 changed files with 16 additions and 2 deletions
+10
View File
@@ -138,6 +138,16 @@ jobs:
branch: port-windsurf-py
label: Windsurf
target_dir: .windsurf/skills
- platform: codeassistant
runtime: powershell
branch: port-codeassistant
label: Yandex Code Assistant
target_dir: .codeassistant/skills
- platform: codeassistant
runtime: python
branch: port-codeassistant-py
label: Yandex Code Assistant
target_dir: .codeassistant/skills
- platform: agents
runtime: powershell
branch: port-agents
+1
View File
@@ -104,6 +104,7 @@ python tools/cc-1c-skills/scripts/switch.py
| OpenCode | `.opencode/skills/` | [port-opencode](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-opencode) | [port-opencode-py](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-opencode-py) |
| Roo Code | `.roo/skills/` | [port-roo](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-roo) | [port-roo-py](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-roo-py) |
| Windsurf | `.windsurf/skills/` | [port-windsurf](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-windsurf) | [port-windsurf-py](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-windsurf-py) |
| Yandex Code Assistant | `.codeassistant/skills/` | [port-codeassistant](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-codeassistant) | [port-codeassistant-py](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-codeassistant-py) |
| Agent Skills | `.agents/skills/` | [port-agents](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-agents) | [port-agents-py](https://github.com/Nikolay-Shirokov/cc-1c-skills/tree/port-agents-py) |
Готовые ветки `port-*` пересобираются автоматически на каждое изменение в навыках. Если нужна свежая сборка прямо сейчас — соберите [локально через `switch.py`](#альтернативный-способ--собрать-локально-через-switchpy).
+5 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# switch.py v1.6 — Переключение навыков 1С между AI-платформами и рантаймами
# switch.py v1.7 — Переключение навыков 1С между AI-платформами и рантаймами
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
"""
Копирует (или создаёт ссылки на) навыки из .claude/skills/ на другие AI-платформы
@@ -30,6 +30,7 @@ PLATFORMS = {
'agents': '.agents/skills',
'augment': '.augment/skills',
'cline': '.cline/skills',
'codeassistant': '.codeassistant/skills',
'codex': '.codex/skills',
'cursor': '.cursor/skills',
'copilot': '.github/skills',
@@ -612,11 +613,13 @@ def interactive_mode():
("OpenCode", ".opencode/skills/"),
("Roo Code", ".roo/skills/"),
("Windsurf", ".windsurf/skills/"),
("Code Assistant", ".codeassistant/skills/"),
("Agent Skills", ".agents/skills/"),
]
platform_keys = [
'claude-code', 'augment', 'cline', 'cursor', 'copilot', 'kilo',
'kiro', 'codex', 'gemini', 'opencode', 'roo', 'windsurf', 'agents',
'kiro', 'codex', 'gemini', 'opencode', 'roo', 'windsurf',
'codeassistant', 'agents',
]
choice = ask_choice("Для какой платформы настроить навыки?", platform_options)