← 返回 Skills 市场
zlszhonglongshen

GitHub Trending Blog Pipeline

作者 zlszhonglongshen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install github-trending-blog
功能描述
GitHub Trending 监控 → AI摘要分析 → 知识卡片生成 → 公众号技术博客一键创作,自动化技术内容生产工作流
使用说明 (SKILL.md)

GitHub Trending Blog Pipeline

自动化技术内容生产工作流:从 GitHub Trending 监控到公众号技术博客发布的完整流水线。

业务场景

技术博主、内容创作者每天花 2-3 小时手动搜索 GitHub Trending、整理项目信息、撰写技术博客。本工作流将这个过程压缩到 10 分钟以内。

典型场景:

  • "帮我写一篇关于今天 GitHub Trending Python 项目的技术博客"
  • "追踪本周 Rust 热门项目,生成周报"
  • "分析某个 GitHub 仓库,生成配图卡片"

工作流步骤

Step 1: GitHub Trending 数据采集 (github)

使用 gh api 采集 GitHub Trending 页面的热门项目列表。

gh api graphql -f query='
{
  search(query: "stars:>1000 pushed:>2026-05-01", type: REPOSITORY, first: 20) {
    nodes { ... on Repository { nameWithOwner description stargazerCount primaryLanguage url } }
  }
}'

Step 2: 项目详情摘要 (summarize)

对每个目标仓库的 README 和关键文件使用 summarize 提取核心信息。

summarize "https://github.com/owner/repo" --extract-only

Step 3: 开发者知识卡片生成 (card-renderer)

将分析结果渲染为精美的开发者风格知识卡片(支持 Mac Pro / VS Code / 赛博朋克等多种风格)。

python3 /root/.openclaw/workspace/skills/card-renderer/scripts/render_vscode_card.py \
  "项目名称" "一行简介" "/tmp/readme_summary.md" "/tmp/output/"

Step 4: 技术博客撰写 (wechat-article-pro)

生成 3000-5000 字刘润风格技术博客,包含开篇洞察 + 案例分析 + 结论建议。

Step 5: 保存草稿

将文章保存为 Markdown 文件,完成整个工作流。

输出产物

{
  "repos_discovered": 20,
  "selected_repo": "owner/repo",
  "summary": "项目核心价值描述",
  "card_path": "/tmp/output/cover.png",
  "blog_path": "/tmp/blog_article.md",
  "language": "Python",
  "stars": "5000+",
  "key_insights": ["洞察1", "洞察2", "洞察3"]
}

技能编排图谱

[GitHub Trending] 
      ↓ github (数据采集)
[项目列表 + Stars + 语言]
      ↓ summarize (AI摘要)
[README核心内容 + 关键特性]
      ↓ card-renderer (可视化)
[开发者风格知识卡片]
      ↓ wechat-article-pro (文章创作)
[3000-5000字技术博客]
      ↓ 文件保存
[完整产出物]

依赖技能

  • github — GitHub API 采集 Trending 数据
  • summarize — URL/文档 AI 摘要
  • card-renderer — 开发者风格知识卡片生成
  • wechat-article-pro — 公众号技术博客撰写

注意事项

  • GitHub API 有速率限制,建议每次采集间隔 >1 分钟
  • 公众号草稿需用户手动在 mp.weixin.qq.com 发布
  • 卡片渲染建议使用 render_vscode_card.py 风格(开发者最友好)
安全使用建议
Review this workflow before installing or running it. In particular, avoid executing the provided shell command templates with raw model output or repository-derived text, verify the dependent skills separately, use least-privilege GitHub credentials, and manually review any generated WeChat/blog draft before publishing.
功能分析
Type: OpenClaw Skill Name: github-trending-blog Version: 1.0.0 The skill bundle automates technical content creation by executing shell commands, including 'gh api' and local Python scripts. While the logic is consistent with the stated purpose, Step 5 in 'workflow.json' uses a 'cat' command to save files which is vulnerable to shell injection if the 'blog_content' variable contains malicious sequences. The reliance on absolute paths in the root directory (/root/.openclaw/workspace/...) for script execution also indicates a requirement for high-privilege environment access.
能力评估
Purpose & Capability
The stated purpose is coherent: collect public GitHub repository data, summarize it, render cards, and save a Markdown draft. It does not claim to auto-publish the WeChat article, but it does orchestrate several external tools and skills.
Instruction Scope
The workflow command strings place templated values such as project descriptions, blog content, and dates directly into shell commands without specifying escaping or validation, which can turn generated or repository-derived text into executable shell syntax if run verbatim.
Install Mechanism
There is no install spec or included code, but the skill depends on other skills and a hardcoded script path under the OpenClaw workspace. Users need to trust and review those dependencies separately.
Credentials
Network access to GitHub and use of local tools are proportionate to the purpose. The GitHub CLI may use an existing local GitHub login/token, and the WeChat flow is described as manual publishing.
Persistence & Privilege
No background persistence or automatic public posting is shown. The workflow writes temporary output under /tmp, but the shell commands would run with the user's local privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-trending-blog
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-trending-blog 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of github-trending-blog skill. - Automates the workflow from GitHub Trending monitoring to WeChat tech blog publishing. - Integrates data collection, AI summarization, developer-style card generation, and long-form article creation. - Reduces manual content creation time from hours to under 10 minutes. - Designed for technical bloggers and content creators to easily track and analyze open source trends.
元数据
Slug github-trending-blog
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

GitHub Trending Blog Pipeline 是什么?

GitHub Trending 监控 → AI摘要分析 → 知识卡片生成 → 公众号技术博客一键创作,自动化技术内容生产工作流. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 GitHub Trending Blog Pipeline?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-trending-blog」即可一键安装,无需额外配置。

GitHub Trending Blog Pipeline 是免费的吗?

是的,GitHub Trending Blog Pipeline 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

GitHub Trending Blog Pipeline 支持哪些平台?

GitHub Trending Blog Pipeline 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 GitHub Trending Blog Pipeline?

由 zlszhonglongshen(@zlszhonglongshen)开发并维护,当前版本 v1.0.0。

💬 留言讨论