mirror of
https://github.com/zhangyanxs/repo2skill.git
synced 2026-11-18 18:03:50 +00:00
Complete README documentation in both English and Chinese covering: - Project overview and value proposition - Detailed platform-specific usage guides (GitHub/GitLab/Gitee) - Installation and quick start guides - Real-world usage examples - Complete feature documentation - FAQ and troubleshooting ## Files Added/Created Main Documentation: - README.md (267 lines) - Complete English documentation - README_ZH.md (432 lines) - 完整中文文档 - README_EN.md (43 lines) - Short English README - INSTALL.md (72 lines) - Installation guide - QUICKSTART.md (78 lines) - 5-minute quick start - EXAMPLES.md (289 lines) - 10 real-world examples - IMPLEMENTATION.md (165 lines) - Technical implementation details Core Skill: - .opencode/skills/repo2skill/SKILL.md (396 lines) - references/github-api.md (123 lines) - GitHub API quick reference - references/gitlab-api.md (114 lines) - GitLab API quick reference - references/gitee-api.md (31 lines) - Gitee API quick reference - scripts/utils.sh (95 lines) - Bash helper functions ## Key Features Highlighted ✅ Zero Dependencies - Uses configured LLM, no npm install needed ✅ Multi-Platform Support - GitHub, GitLab, and Gitee ✅ Intelligent Mirror Rotation - 10+ mirrors with auto-failover ✅ Batch Conversion - Convert multiple repos at once ✅ Complete Documentation - Generates 18+ section skills ✅ Smart Retry Logic - Exponential backoff with mirror switching ✅ Ready to Use - Works immediately in OpenCode/Claude Code ## Documentation Coverage 1. Quick Start Guide (30 seconds to install) 2. Platform-specific usage sections 3. Architecture overview and workflow 4. 10 practical examples covering various scenarios 5. Performance reference table 6. Comprehensive FAQ (10+ questions) 7. Installation path options (3 choices) 8. Advanced usage (batch, tokens, optimization) ## Project Statistics - Total Files: 15 - Total Lines: 2,122+ - Code: 1,520 lines - Documentation: 1,602 lines - Platforms: 3 (GitHub/GitLab/Gitee) - Mirrors: 13 (8 API + 5 Raw) Inspired by: github-skill-forge/YuJunZhiXue Version: 1.0.0
1.6 KiB
1.6 KiB
🤖 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