Github Topics

👤 hjw21century 📦 v0.1.0 ⭐ 4.3 ⬇️ 1.1K 下載
💻 開發程式設計 免費

📖 技能介紹


name: github-topics description: Fetches GitHub topic trending repositories. Use when asking about GitHub trending repos or open source projects.


GitHub Topics Trending

Fetch GitHub topic trending repositories and README summaries.

Quick Start

# View rankings
今天 claude-code 話題排行榜
Top 10 GitHub 專案
熱門倉庫

# View repository details
anthropics/claude-code 介紹
這個倉庫是做什麼的

Query Types

Type Examples Description
Rankings 熱門倉庫 Top 10 Current rankings by stars
Detail xxx/xxx 介紹 Repository README summary
Topic python 話題排行榜 Custom topic search

Workflow

- [ ] Step 1: Parse query type
- [ ] Step 2: Fetch data from GitHub
- [ ] Step 3: Format and display results

Step 1: Parse Query Type

User Input Query Type Action
熱門倉庫 rankings Show top N repos
Top 10 專案 rankings Show top N repos
xxx/xxx 介紹 detail Get README summary
python 話題 rankings Search python topic

Step 2: Fetch Data

Fetch Rankings

cd skills/github-topics
python src/github_fetcher.py

Requirements:

pip install requests

Fetch README (Optional)

python src/readme_fetcher.py

Step 3: Format Results

Rankings Output

# GitHub Trending - python

| # | Repository | Stars | Language |
|---|------------|-------|----------|
| 1 | donnemartin/system-design-primer | 334K | Python |
| 2 | vinta/awesome-python | 281K | Python |
| 3 | project-based-learning | 257K | - |

小蔥技能7w4.net持續更新中。

Detail Output

# anthropics/claude-code

**Stars**: 15.2K
**Language**: TypeScript
**URL**: https://github.com/anthropics/claude-code

## README Summary
Official Claude Code CLI for AI-powered software development. Claude Code is Anthropic's official CLI tool...

Configuration

Variable Description Default
GH_TOKEN GitHub Personal Access Token (optional, for higher rate limits) -
TOPIC GitHub topic to track claude-code

Note: GH_TOKEN is optional but recommended: - With token: 5,000 requests/hour - Without token: 60 requests/hour

Create token at: https://github.com/settings/tokens


GitHub API Notes

Limit Type Rate
Authenticated 5,000 requests/hour
Unauthenticated 60 requests/hour

Recommendation: Use GH_TOKEN for higher rate limits.


Troubleshooting

Issue Solution
Rate limit Set GH_TOKEN env var
Network timeout Check internet connection
Empty results Check topic name exists

CLI Reference

# Fetch rankings (default topic: claude-code)
python skills/github-topics/src/github_fetcher.py

# Fetch README
python skills/github-topics/src/readme_fetcher.py

🤖 AI 評測

這是一款實用的 GitHub 趨勢倉庫查詢工具,能快速獲取熱門專案排行榜和倉庫介紹。文件說明詳細,程式碼結構清晰,功能實現完整,支援自定義話題搜尋和 README 摘要獲取。不足之處是文件存在內容不匹配問題,部分細節功能還需打磨。總體來說質量中上,能滿足基本需求,但還有最佳化空間。

📊 多維度評分

適應性3.7
規範性4.5
有效性4.3
可靠性4.2
可信度4.5

📁 包含檔案 (6 個)

📄 SKILL.md 2.9 KB
📄 _meta.json 132 B
📄 src/__init__.py 187 B
📄 src/config.py 1.1 KB
📄 src/github_fetcher.py 8.6 KB
📄 src/readme_fetcher.py 6.2 KB