微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

GitHub Trending Report

GitHub Trending Report · v1.0.1
安全 unknown 级 作者 coderyi 公开目录收录
1.2k 下载 1 安装 4.5k 收藏 1 浏览

简介

GitHub Trending Report

原始描述

Fetch and generate structured reports on fastest-growing repos, newly popular projects, and hot GitHub topic tags using github-discover CLI.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/github-trending-report/
其它 Agent解压到它自己的 skills 目录,目录名用 github-trending-report

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文

GitHub Trending Report

Use the github-discover CLI to fetch real-time GitHub data and generate structured trending reports — discover fast-rising repositories, newly popular projects, and hot topic tags.

Installation

npm install -g github-discover

Requires Node.js 18+. Check with node --version.

Prerequisites

  • Node.js ≥ 18
  • github-discover installed globally (see Installation above)
  • GITHUB_TOKEN environment variable (optional but recommended for higher API rate limits)

Commands

trending — Fastest-growing repositories

Ranked by daily average stars with a 30-day smoothing factor, removing age bias to surface genuinely fast-rising projects.

github-discover trending [options]
Option Description Default
-p Period: daily / weekly / monthly / yearly daily
-n Number of results (1–100) 50
-l Filter by programming language (e.g. python, typescript) all
-s Minimum star threshold auto by period
--json Output as JSON —

popular — New high-star repositories

Sorted by raw star count descending, focused on recently created high-popularity projects.

github-discover popular [options]

Same options as trending.

topic — Hot topic tags

Scored by repoCount × log10(starSum) to surface trending technology topics.

github-discover topic [options]
Option Description Default
-p Period: daily / weekly / monthly / yearly daily
-n Number of results (1–100) 30
--json Output as JSON —

Data Windows (trending command)

Period Repository creation range
daily Created within last 7 days
weekly Created within last 28 days
monthly Created within last 90 days
yearly Created within last 730 days

Standard Workflow for Generating a Report

When a user requests a GitHub trending report, follow these steps:

Step 1: Verify the tool is available

github-discover --version

If the command is not found, prompt the user to run npm install -g github-discover, then stop.

Step 2: Determine the time period

Infer the period from the user's request:

  • "today" / "latest" / "right now" → daily
  • "this week" / "weekly" → weekly
  • "this month" / "monthly" → monthly
  • "this year" / "annual" → yearly
  • Not specified → default to daily

Step 3: Fetch all three data sets in parallel

github-discover trending -p <period> -n 10 --json
github-discover popular  -p <period> -n 10 --json
github-discover topic    -p <period> -n 10 --json

If the user specified a language (e.g. Python, TypeScript), append -l <language> to the trending and popular commands.

Step 4: Generate the structured report

Combine the JSON output from all three commands and produce a report in the following format:


📈 GitHub Trending Report

1. Fastest-Growing Projects

Source: trending — reflects real growth velocity, age bias removed

List Top 5–10 entries, each with:

  • Repository name (with link)
  • Short description
  • Star count / daily average growth
  • Primary language

2. Newly Popular Repositories

Source: popular — recently created projects gaining rapid traction

List Top 5–10 entries, same format as above.

3. Hot Topics

Source: topic — scored by repository count × star magnitude

List Top 10 topic tags with a brief description of each technology area.

4. AI Insights

Based on the data above, provide:

  • A 2–3 sentence summary of the key technical trends this period
  • Projects or movements worth watching closely
  • If a language filter was applied, a brief analysis of that ecosystem's current state

Limitations

  • Data is sourced from the GitHub Search API; freshness depends on GitHub's indexing lag
  • The trending growth score is estimated from creation time and star count, and it is not GitHub's official Trending page data
  • The -l language filter matches only the repository's primary language; multi-language projects may be excluded

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill