mirror of
https://github.com/zhangyanxs/repo2skill.git
synced 2026-11-18 18:03:50 +00:00
main
- Add Step 0: Input Detection to automatically distinguish between remote URLs and local paths - Add Step 3B: Local Repository Extraction for direct filesystem analysis - Add is_local_path() and parse_local_info() helper functions in utils.sh - Update IMPLEMENTATION.md with local repository flow documentation - Update README.md and README_ZH.md with local usage examples - Support relative (./), absolute (/), and home (~) directory paths - Local analysis is 2-3x faster than remote (no network overhead)
🤖 repo2skill - Repository to Skill Converter
Convert any GitHub/GitLab/Gitee repository into a comprehensive OpenCode/Claude Code Skill
Transform open-source repositories into AI-ready skills with zero dependencies and intelligent mirror rotation.
Features
- 🤖 AI-Powered analysis using your configured LLM
- 🌐 GitHub, GitLab, and Gitee support
- ⚡ 10+ GitHub mirrors with automatic failover
- 📦 Zero dependencies - just copy and use
- 🔄 Batch conversion support
- 📖 Complete 18+ section documentation generation
Quick Start
# Install (30 seconds)
mkdir -p ~/.config/opencode/skills
cp -r .opencode/skills/repo2skill ~/.config/opencode/skills/
# Use (one command in OpenCode/Claude Code)
帮我把这个仓库转成技能:https://github.com/vercel/next.js
Documentation
- README_EN.md - Full documentation (English)
- README_ZH.md - 完整文档(中文)
- INSTALL.md - Installation guide
- QUICKSTART.md - 5-minute quick start
- EXAMPLES.md - 10 real-world examples
- IMPLEMENTATION.md - Technical details
License
MIT
Languages
Shell
100%