feat(switch): support claude-code install, smart runtime warnings, .gitignore propagation

- switch.py v1.2: `claude-code --project-dir` now copies skills (was error before)
- Skip runtime conversion for single-runtime skills (e.g. img-grid stays python)
- Distinguish info ("Python-версия не предусмотрена") from real missing-file warnings
- Print .gitignore recommendations for target project on install
- Copy root-level .gitignore from skills dir during install
- Interactive mode asks project path for all platforms, not just claude-code
- Add .gitignore in skills root (__pycache__/) and web-test/ (node_modules, *.png, *.mp4)
- Sync root .gitignore with all 13 platforms from PLATFORMS registry

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-03-09 14:58:49 +03:00
co-authored by Claude Opus 4.6
parent 5d4ee6c58c
commit 3f091b209c
4 changed files with 235 additions and 73 deletions
+9 -2
View File
@@ -34,8 +34,15 @@ __pycache__/
*.mp4
# Навыки, скопированные для других AI-платформ (генерируются scripts/switch.py)
.agents/
.augment/
.cline/
.codex/
.cursor/skills/
.github/skills/
.cursor/
.gemini/
.github/skills/
.kilocode/
.kiro/
.opencode/
.roo/
.windsurf/