agentleFS
oouooouo/skills/github-trending-report/SKILL.md

github-trending-report

Skill1 starsChanged 3 months agoMITView on GitHub

Use when generating daily or weekly GitHub Trending reports. Covers concise Chinese analysis and delivery to console/chat or Feishu.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 14
  2. Very specific:

    Before fetching or sending any report, check if the local configuration file .trending-report-config.json exists in the workspace root.

    line 22
  3. Very specific:

    Ask for push_channel (console or feishu.

    line 25
  4. Very specific:

    Ask for timezone (default: Asia/Shanghai).

    line 29
  5. Very specific:

    Before writing credentials, ensure .trending-report-config.json is ignored by Git when the workspace is a repository.

    line 30
  6. Very specific:

    Write the configuration to .trending-report-config.json with user-only file permissions.

    line 31
  7. Distinctive:

    Read and use the configurations from it.

    line 33
  8. Distinctive:

    Remove page noise (Sponsor/Star buttons, login info, HTML entities).

    line 63
  9. Distinctive:

    If trending stars are missing, write "热度见 Trending" instead of fabricating numbers.

    line 64
  10. Very specific:

    Read the push_channel from config.

    line 67
  11. Distinctive:

    If the request fails, retry once.

    line 71
  12. Distinctive:

    Codex Automation: Add the automation flow with a specific time (e.g., UTC 02:18 for Beijing 10:18) using the provided prompt.

    line 75
  13. Very specific:

    Claude Code: Use the /schedule command or system-level schedulers (Task Scheduler / cron) calling claude -p "github-trending-report <mode>".

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GitHub Trending Report

Generate technical briefings from GitHub Trending and output them to console/chat or push them to Feishu.

Overview

This skill fetches GitHub Trending repositories (daily/weekly), constructs a high-density technical summary, cleans the content to keep it clear and professional, and outputs it to console/chat or Feishu.

When to Use

Use this skill when:

  • The user requests a daily morning technical report or weekly trend summary from GitHub.
  • The user wants to view the report locally or push it to Feishu.
  • A scheduled automation task triggers to compile technical reports.

Instructions

1. First-Run Configuration Setup

Before fetching or sending any report, check if the local configuration file .trending-report-config.json exists in the workspace root.

  • If it does not exist:
    1. Interactively prompt the user to provide the configuration parameters.
    2. Ask for push_channel (console or feishu; default: console).
    3. Based on the selected channel, ask for required credentials:
      • For console: No credentials required.
      • For feishu: Webhook URL and Signing Secret.
    4. Ask for timezone (default: Asia/Shanghai).
    5. Before writing credentials, ensure .trending-report-config.json is ignored by Git when the workspace is a repository.
    6. Write the configuration to .trending-report-config.json with user-only file permissions.
  • If it exists:
    • Read and use the configurations from it.

2. Report Modes & Content Generation

Fetch the trending list according to the mode:

  • Daily Report (daily):
    • Source: https://github.com/trending?since=daily (fallback to search if page is down).
    • Title: GitHub Trending 晨报 · YYYY-MM-DD (use the date in the configured timezone).
    • Structure:
      1. 趋势判断 (Trend Analysis): 1-2 sentences summarizing the day's main technical directions (e.g., AI agents, infrastructure, dev tools). Do not use generic statements like "Here is the trending list".
      2. 热门仓库 (Hot Repositories): Exactly 5 most noteworthy repositories.
      3. Rust 小工具 (Rust Dev Tools): 2-3 practical Rust-based CLI/dev tools (e.g., ripgrep, fd, zoxide, bat, eza, dust, delta) or newly trending Rust projects, with utility explanations.
  • Weekly Report (weekly):
    • Source: https://github.com/trending?since=weekly.
    • Title: GitHub Trending 周报 · YYYY-MM-DD.
    • Structure:
      1. 本周判断 (Weekly Trend Analysis): 2-3 sentences summarizing weekly movements and the concrete start and end dates of the observation window.
      2. 热门仓库 (Hot Repositories): Exactly 8 most noteworthy repositories.
      3. 值得复盘 (Retrospective): 3 key underlying developer needs/industry changes reflected by the trends.
      4. Rust 小工具 (Rust Dev Tools): 2-3 practical Rust tools.

3. Content Rules & Formatting

To ensure readability and bypass rendering issues on mobile interfaces:

  • Repository format: **No. [owner/repo](GitHub URL)** · 语言 · ⭐ 今日/本周星数 一句话推荐理由
  • Rust Tool format: [工具名](GitHub URL):用途和推荐理由
  • Cleaning & Rewriting:
    • Translate descriptions and reasons into natural, concise Chinese (~60 chars for daily, ~70 chars for weekly).
    • Remove page noise (Sponsor/Star buttons, login info, HTML entities).
    • If trending stars are missing, write "热度见 Trending" instead of fabricating numbers.

4. Push Delivery Dispatch

  1. Read the push_channel from config.
  2. Load references/console.md or references/feishu.md for the selected channel.
  3. Build the payload according to the specifications.
  4. Send the payload via POST request.
  5. If the request fails, retry once. If it continues to fail, fallback to a plaintext format, or log the failure reason.

Scheduling Hint

This skill executes actions on demand. To schedule automation, users should configure triggers using:

  • Codex Automation: Add the automation flow with a specific time (e.g., UTC 02:18 for Beijing 10:18) using the provided prompt.
  • Claude Code: Use the /schedule command or system-level schedulers (Task Scheduler / cron) calling claude -p "github-trending-report <mode>".

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.