Files
zhangyan b2463e02f0 feat: 🚀 Implement complete repo2skill - OpenCode Skill for converting repositories
Add comprehensive skill to convert GitHub/GitLab/Gitee repos into OpenCode Skills
using AI analysis, mirror rotation, and zero external dependencies.

## Features
✅ Multi-platform support (GitHub/GitLab/Gitee)
✅ Zero dependencies - uses configured LLM
✅ Mirror rotation (8+ GitHub mirrors with auto-failover)
✅ Rate limit handling with exponential backoff
✅ Complete documentation generation
✅ Batch conversion support

## Structure
- SKILL.md: Main skill definition (350+ lines)
- references/: API documentation for all 3 platforms
- scripts/: Utility functions (bash helpers)
- docs/: Installation, quickstart, examples

## Key Files
- .opencode/skills/repo2skill/SKILL.md
- .opencode/skills/repo2skill/references/github-api.md
- .opencode/skills/repo2skill/references/gitlab-api.md
- .opencode/skills/repo2skill/references/gitee-api.md
- README.md, INSTALL.md, QUICKSTART.md, EXAMPLES.md

## Usage
Users can simply say: "帮我把这个仓库转成技能:https://github.com/user/repo"

The skill will:
1. Parse repository URL
2. Fetch data from multiple mirrors
3. Use configured LLM to analyze
4. Generate complete SKILL.md
5. Save to chosen location

## Implementation
Pure OpenCode/Claude Code skill using:
- Built-in tools (webfetch, bash, read, write)
- User's configured LLM (Claude/GPT/Ollama)
- No external packages or API keys needed

Closes #1
2026-01-23 22:30:44 +08:00

2 lines
49 B
Plaintext

node_modules\n.DS_Store\n*.log\n.env\n.env.local