GitHub Trending 探索与分析。用于发现热门开源项目、技术趋势、开发者偏好,帮助理解技术社区的兴趣走向。使用场景包括“看看今天 GitHub 什么火了”、“Rust 最近热门项目”、“AI 领域趋势日报”、“这个方向有没有值得关注的开源项目”、“帮我做个 GitHub trending 分析”。
npx skills add https://github.com/majiayu000/spellbook --skill github-trending
2026 版核心认知:GitHub Trending 已是严重被 hype 和 AI slop 污染的榜单(Karpathy 等反复确认)。本 skill 的唯一价值是「结构化数据 + 严格过滤 + 写出真实 angle」,而不是再输出一份 list。
职责边界(严格遵守):
/scout-to-article)/multi-ai-research)不适合:纯快速事实查询(直接让 Claude 回答即可)。
# 在 skill 目录执行;如果 skill 已安装到 ~/.claude/skills,也可以换成对应安装路径
cd /path/to/spellbook/skills/github-trending
# 今日总榜 TOP 8
python3 scripts/fetch_trending.py --since daily --limit 8
# Rust 周榜
python3 scripts/fetch_trending.py --since weekly --language Rust --limit 6
# 开发者榜
python3 scripts/fetch_trending.py --developers --since daily --limit 10
脚本输出结构化 JSON,绝不直接 WebFetch 原始 HTML。
reference/extended.md 中的「Hype 红旗」快速排除首次使用执行:
python3 -m pip install -r requirements.txt
如果没有 requirements.txt,手动安装:
python3 -m pip install requests beautifulsoup4 lxml
脚本位置:scripts/fetch_trending.py(相对本 skill 目录)。
支持参数见脚本 --help。所有错误都会以清晰 JSON 返回,绝不静默失败。
日报结尾必须包含「Angle」段,否则视为不合格输出。
好 Angle 特征:
reference/extended.md 里的评估框架写对比表。/loop 技能每天定时跑脚本 + 分析,输出到固定目录。/multi-ai-research。scout-to-article。所有详细框架(数据源、评估维度、hype 识别、趋势分类、好/坏 Angle 示例、scraper 维护提示、2026 社区共识)已移至 reference/extended.md。
日常触发时不需要读它。只有你要定制模板、维护脚本、或做高精度分析时再加载。
更新记录:2026-05 完整重构(引入可靠 scraper 层 + 严格 pipeline + 拆分 reference + 移除所有硬编码日期/旧趋势列表)。数据永远以脚本实时输出为准。
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take majiayu000/github-trending from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip.
Without those the skill loads but fails at the first command.