SKILL

star-history-chart

为任意GitHub仓库的README添加自托管的“随时间变化的星标数”图表。GitHub现在将星标者端点限制为仓库自身的管理员/协作者,因此第三方实时服务(star-history免费版、starchart.cc)对所有人返回“需要身份验证”。此技能在仓库内生成静态、主题感知的SVG,并通过GitHub Action使用仓库自身的GITHUB_TOKEN每周自动刷新。适用于README中的星标图表损坏、显示“需要身份验证”,或你希望星标历史永不中断的情况。

机器翻译
查看英文原文

Add a self-hosted "Stargazers over time" chart to any GitHub repo's README. GitHub now restricts the stargazers endpoint to a repo's own admins/collaborators, so third-party live services (star-history free tier, starchart.cc) return "Requires authentication" for everyone. This generates a static, theme-aware SVG in-repo and auto-refreshes it weekly with a GitHub Action using the repo's own GITHUB_TOKEN. Use when the star chart in a README is broken, shows "Requires authentication", or you want a star history that never breaks.

适用对象:软件开发与测试。自动收录 · 待核查。

在 Cursor 中使用

该组合的专门教程待补充,尚未核实适配。

准备条件

  • 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。

选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。

查看原作者说明 ↗