← Back to Skills Marketplace
zlszhonglongshen

GitHub Trending Blog Pipeline

by zlszhonglongshen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install github-trending-blog
Description
GitHub Trending 监控 → AI摘要分析 → 知识卡片生成 → 公众号技术博客一键创作,自动化技术内容生产工作流
README (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 风格(开发者最友好)
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install github-trending-blog
  3. After installation, invoke the skill by name or use /github-trending-blog
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug github-trending-blog
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is GitHub Trending Blog Pipeline?

GitHub Trending 监控 → AI摘要分析 → 知识卡片生成 → 公众号技术博客一键创作,自动化技术内容生产工作流. It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.

How do I install GitHub Trending Blog Pipeline?

Run "/install github-trending-blog" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is GitHub Trending Blog Pipeline free?

Yes, GitHub Trending Blog Pipeline is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does GitHub Trending Blog Pipeline support?

GitHub Trending Blog Pipeline is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created GitHub Trending Blog Pipeline?

It is built and maintained by zlszhonglongshen (@zlszhonglongshen); the current version is v1.0.0.

💬 Comments