share-skill
將技能分享至 Git 儲存庫
將本地的 Claude 技能遷移至版本控制的 Git 儲存庫。自動化開源技能的流程,包含自動 Git 初始化、遠端配置和文件產生。
Скачать ZIP навыка
Загрузить в Claude
Перейдите в Settings → Capabilities → Skills → Upload skill
Включите и начните использовать
Протестировать
Использование «share-skill». Help me share the port-allocator skill to GitHub
Ожидаемый результат:
- Found skill at ~/.claude/skills/port-allocator/
- Creating symlink to ~/Codes/skills/port-allocator/
- Initialized git repository
- Ready to push to git@github.com:username/skills.git
Использование «share-skill». Generate documentation for my skills
Ожидаемый результат:
- Generating documentation website...
- Style: botanical (Natural Botanical)
- Created index.html with skill listings
- Added table of contents and navigation
- Documentation ready at ~/Codes/skills/docs/
Аудит безопасности
Низкий рискDocumentation-only skill. All 1725 static findings are false positives triggered by pattern matching on markdown documentation text. No executable code exists. The skill describes legitimate git operations for skill migration. Static analyzer misidentified documentation examples as command execution, URLs as network exfiltration, and standard git operations as credential access.
Факторы риска
⚙️ Внешние команды (1166)
🌐 Доступ к сети (87)
📁 Доступ к файловой системе (305)
Оценка качества
Что вы можете построить
將技能開源
將本地建立的技能遷移至公開的 GitHub 儲存庫以進行社群分享
技能的版本控制
追蹤技能的變更並使用 Git 工作流程協作開發技能
產生技能文件
自動從技能元資料和 README 產生美觀的文件網站
Попробуйте эти промпты
Help me share the port-allocator skill to GitHub
Configure git remote for my skills repository at git@github.com:myorg/skills.git
List all my local skills that I can migrate
Generate a documentation website for my skills repository
Лучшие практики
- 明確配置遠端以避免儲存庫名稱的歧義
- 先執行 /share-skill allow 來授予必要權限
- 對於非預設目標,使用自然語言搭配完整儲存庫 URL
Избегать
- 使用模糊的儲存庫名稱如「另一個儲存庫」而不指定完整 URL
- 嘗試遷移已經在 Git 版本控制下的技能
- 忘記在遷移前配置 Git 的 user.name 和 user.email