$npx -y skills add geekjourneyx/mind-skills --skill github-topicsFetches GitHub topic trending repositories. Use when asking about GitHub trending repos or open source projects.
| 1 | # GitHub Topics Trending |
| 2 | |
| 3 | Fetch GitHub topic trending repositories and README summaries. |
| 4 | |
| 5 | ## Quick Start |
| 6 | |
| 7 | ``` |
| 8 | # View rankings |
| 9 | 今天 claude-code 话题排行榜 |
| 10 | Top 10 GitHub 项目 |
| 11 | 热门仓库 |
| 12 | |
| 13 | # View repository details |
| 14 | anthropics/claude-code 介绍 |
| 15 | 这个仓库是做什么的 |
| 16 | ``` |
| 17 | |
| 18 | ## Query Types |
| 19 | |
| 20 | | Type | Examples | Description | |
| 21 | |------|----------|-------------| |
| 22 | | Rankings | `热门仓库` `Top 10` | Current rankings by stars | |
| 23 | | Detail | `xxx/xxx 介绍` | Repository README summary | |
| 24 | | Topic | `python 话题排行榜` | Custom topic search | |
| 25 | |
| 26 | ## Workflow |
| 27 | |
| 28 | ``` |
| 29 | - [ ] Step 1: Parse query type |
| 30 | - [ ] Step 2: Fetch data from GitHub |
| 31 | - [ ] Step 3: Format and display results |
| 32 | ``` |
| 33 | |
| 34 | --- |
| 35 | |
| 36 | ## Step 1: Parse Query Type |
| 37 | |
| 38 | | User Input | Query Type | Action | |
| 39 | |------------|------------|--------| |
| 40 | | `热门仓库` | rankings | Show top N repos | |
| 41 | | `Top 10 项目` | rankings | Show top N repos | |
| 42 | | `xxx/xxx 介绍` | detail | Get README summary | |
| 43 | | `python 话题` | rankings | Search python topic | |
| 44 | |
| 45 | --- |
| 46 | |
| 47 | ## Step 2: Fetch Data |
| 48 | |
| 49 | ### Fetch Rankings |
| 50 | |
| 51 | ```bash |
| 52 | cd skills/github-topics |
| 53 | python src/github_fetcher.py |
| 54 | ``` |
| 55 | |
| 56 | **Requirements**: |
| 57 | ```bash |
| 58 | pip install requests |
| 59 | ``` |
| 60 | |
| 61 | ### Fetch README (Optional) |
| 62 | |
| 63 | ```bash |
| 64 | python src/readme_fetcher.py |
| 65 | ``` |
| 66 | |
| 67 | --- |
| 68 | |
| 69 | ## Step 3: Format Results |
| 70 | |
| 71 | ### Rankings Output |
| 72 | |
| 73 | ```markdown |
| 74 | # GitHub Trending - python |
| 75 | |
| 76 | | # | Repository | Stars | Language | |
| 77 | |---|------------|-------|----------| |
| 78 | | 1 | donnemartin/system-design-primer | 334K | Python | |
| 79 | | 2 | vinta/awesome-python | 281K | Python | |
| 80 | | 3 | project-based-learning | 257K | - | |
| 81 | ``` |
| 82 | |
| 83 | ### Detail Output |
| 84 | |
| 85 | ```markdown |
| 86 | # anthropics/claude-code |
| 87 | |
| 88 | **Stars**: 15.2K |
| 89 | **Language**: TypeScript |
| 90 | **URL**: https://github.com/anthropics/claude-code |
| 91 | |
| 92 | ## README Summary |
| 93 | Official Claude Code CLI for AI-powered software development. Claude Code is Anthropic's official CLI tool... |
| 94 | ``` |
| 95 | |
| 96 | --- |
| 97 | |
| 98 | ## Configuration |
| 99 | |
| 100 | | Variable | Description | Default | |
| 101 | |----------|-------------|---------| |
| 102 | | `GH_TOKEN` | GitHub Personal Access Token (optional, for higher rate limits) | - | |
| 103 | | `TOPIC` | GitHub topic to track | `claude-code` | |
| 104 | |
| 105 | **Note**: `GH_TOKEN` is optional but recommended: |
| 106 | - With token: 5,000 requests/hour |
| 107 | - Without token: 60 requests/hour |
| 108 | |
| 109 | Create token at: https://github.com/settings/tokens |
| 110 | |
| 111 | --- |
| 112 | |
| 113 | ## GitHub API Notes |
| 114 | |
| 115 | | Limit Type | Rate | |
| 116 | |------------|------| |
| 117 | | Authenticated | 5,000 requests/hour | |
| 118 | | Unauthenticated | 60 requests/hour | |
| 119 | |
| 120 | **Recommendation**: Use `GH_TOKEN` for higher rate limits. |
| 121 | |
| 122 | --- |
| 123 | |
| 124 | ## Troubleshooting |
| 125 | |
| 126 | | Issue | Solution | |
| 127 | |-------|----------| |
| 128 | | Rate limit | Set `GH_TOKEN` env var | |
| 129 | | Network timeout | Check internet connection | |
| 130 | | Empty results | Check topic name exists | |
| 131 | |
| 132 | --- |
| 133 | |
| 134 | ## CLI Reference |
| 135 | |
| 136 | ```bash |
| 137 | # Fetch rankings (default topic: claude-code) |
| 138 | python skills/github-topics/src/github_fetcher.py |
| 139 | |
| 140 | # Fetch README |
| 141 | python skills/github-topics/src/readme_fetcher.py |
| 142 | ``` |