feat: add unified switch.py for cross-platform skill porting

Single script to copy skills between AI platforms (Cursor, Codex,
Copilot, Gemini CLI, OpenCode) with path rewriting and optional
runtime switching. Includes interactive mode for newcomers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-02-28 19:05:12 +03:00
parent da0cedf256
commit 7b69228d23
5 changed files with 427 additions and 4 deletions
+1
View File
@@ -5,6 +5,7 @@
import os, re, glob, sys
def main():
print("Совет: используйте 'python scripts/switch.py --runtime python' (новый интерфейс)\n")
repo_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
skills_dir = os.path.join(repo_root, '.claude', 'skills')